Patent ID: 9665277
Date: 2017-05-30
CPC Classifications: G06F

Claim:
1. A method for implementing control of keys of a virtual keyboard on a wide touch screen, the wide touch screen having a middle position which is untouchable by a left thumb and a right thumb of an operator when held by two hands of the operator, the method comprising the steps of: (a) arranging keys on a preset virtual keyboard with at least three rows of keys, each row having more than five keys according to a conventional key layout and a corresponding setting; and determining width percentages of each key and each blank area among each row on the preset virtual keyboard; (b) determining a width of the preset virtual keyboard on a current screen of the wide touch screen according to a width of the current screen to obtain a width of a current virtual keyboard; (c) calculating widths of each key and each blank area among each row on the current virtual keyboard according to the width of the current virtual keyboard and the width percentages of each key and each blank area among each row; if a center line of the current virtual keyboard perpendicular to the rows of keys passes through a middle key among each row on the current virtual keyboard, increasing a width of the middle key and correspondingly adjusting widths of remaining keys among each row of keys on the current virtual keyboard; and (d) displaying an adjusted virtual keyboard on the current screen, each key of the adjusted virtual keyboard being touchable by the left thumb or the right thumb when held by the two hands of the operator; wherein the steps of increasing the width of the middle key among each row on the current virtual keyboard and correspondingly adjusting widths of remaining keys among each row of keys on the current virtual keyboard comprise: determining the width of the middle key to be increased; determining a remaining width of the current virtual keyboard, the remaining width being a difference between the width of the current virtual keyboard and the width of the middle key to be increased; calculating the widths of each key and each blank area among each row on the current virtual keyboard according to the remaining width of the current virtual keyboard and the width percentages of each key and each blank area among each row; and increasing the width of the middle key according to the width of the middle key to be increased.