Patent ID: 8542192

Claim:
An information-processing device comprising: a plurality of keys; a memory that stores key arrangement data in a key candidate table indicating an arrangement of said plurality of keys; an identification part that identifies each display position of a plurality of windows displayed on a screen and stores the display position in a position identification matrix; an allocation part that compares an arrangement of the windows obtained by comparing the display position of each window identified by said identification part and stored in the position identification matrix with the arrangement of keys displayed by said key arrangement data, and uniquely allocates and assigns_to said each window in a key allocation table a key for selecting the relevant window from among said plurality of keys so that the arrangement of said windows and the arrangement of said keys are identical or similar; a notifying part that notifies of keys allocated by said allocation part; a selection part that selects the window to which an operated key is allocated as defined by the key allocation table when any of the keys notified by said notifying part is operated; a determination part that determines whether or not the number of windows displayed on the screen exceeds the number of allocatable keys indicated by said key arrangement data; and a sectioning part that, if said determination part determines there is an excess, sections the screen into a plurality of regions so that windows of a quantity equal to or less than the number of said allocatable keys are included within a single region, wherein said allocation part allocates a key to each region sectioned by said sectioning part.