A method for processing information that defines a dimension of a detection region of a key displayed on a screen of an information processing device, where the detection region is adjacent to an invalid region, the detection region being a region in which touching of the screen in this region or local approaching to this region is detectable, and the invalid region being a region in which the touching of the screen in this region or local approaching to this region is not detectable, the method comprising:
- when a distance across the invalid region from an edge of a key display region exceeds a first threshold value,
- generating, by the information processing device, a detection region data that defines an extent of the detection region with respect to a dimension of the key display region so that the detection region becomes larger than the key display region by utilizing the invalid region.