Patent attributes
In a mobile phone applicable to an information processing apparatus, an illumination sensor detects a state of the mobile phone and generates a detection signal, a main controller determines whether or not the generated detection signal is larger than a predetermined reference value and allocates predetermined functions of operation to operation keys based on a result of determination with reference to a table in which the input units and the functions thereof are caused to previously correspond to each other and stored therein. With this arrangement, the number of operation keys or buttons is reduced without reducing the number of functions to be mounted, and the operability output stage line card group the mobile phone is improved even if the size thereof is reduced.