Patent ID: 8619034

Claim:
An information-processing apparatus, comprising: a display device including a touch screen having a display surface configured to display a plurality of images, the touch screen being configured to output a signal indicating a position on the display surface that has been touched; a first proximity sensor configured to sense a position of an object relative to the display surface; and a controller configured to generate a virtual keyboard image including a plurality of virtual keys for display on the display surface, to generate a left side portion of the virtual keyboard image and a right side portion of the virtual keyboard image, to choose, responsive to the sensed proximity of the object, as a display portion, one of the left side portion of the virtual keyboard image and the right side portion of the virtual keyboard image in response to the first proximity sensor sensing the object to the left side or the right side of the display surface corresponding to the position of the object relative to the display surface, to control the touch screen to display, of the virtual keyboard image, only the display portion on the display surface, and to cause an operation of a function corresponding to a key of the display portion, in response to a contact of the display surface of the touch screen at a position corresponding to the key, when only the display portion is displayed of the virtual keyboard image.