Display method of on-screen keyboard and computer program product and non-transitory computer readable storage medium thereof
First Claim
1. A display method of an on-screen keyboard, applied to a computing device connected to a physical keyboard, a screen and a sensor, the physical keyboard comprising a plurality of keys, the sensor being configured to detect and obtain an operating position image, and the physical keyboard further responds to a keystroke of the key, so as to output a key scan code to the computing device, wherein the display method of the on-screen keyboard comprises:
- displaying an on-screen keyboard at a topmost layer of a displayed image of the screen;
reading the operating position image obtained by the sensor;
converting the operating position image into an operating position data, wherein the operating position data comprises a relative position data of a key which is touched or approached;
according to the operating position data, displaying a first key mark at a position corresponding to the key which is touched or approached on the on-screen keyboard;
reading the key scan code outputted by the physical keyboard and corresponding to the keystroke of the key;
according to the key scan code, displaying a second key mark at a position on the on-screen keyboard which corresponds to the keystroke of the key;
wherein, after displaying the second key mark at the position corresponding to the keystroke of the key on the on-screen keyboard, the display method further comprises;
identifying, according to the key scan code, whether the keystroke of the key is a locking-key type;
determining whether the key scan code corresponding to the key which is released is received; and
if the key scan code corresponding to the key which is released is received and the key is not a locking-key type, cancelling displaying of the corresponding second key mark; and
further comprising;
an automatic correction mechanism which, when the second key mark is individually marked on the on-screen keyboard, calculates a difference between an erroneously determined position and an actual position, and feeds back the difference to the computing device, so as to correct a parameter for generating the operating position data at a next time.
1 Assignment
0 Petitions
Accused Products
Abstract
A display method of an on-screen keyboard, applied to a computing device connected to a physical keyboard, a screen and a sensor, the physical keyboard including a plurality of keys, and the sensor being configured to detect and obtain an operating position image, where the display method of the on-screen keyboard includes: displaying an on-screen keyboard at a topmost layer of a displayed image of the screen; reading the operating position image obtained by the sensor; converting the operating position image into an operating position data, where the operating position data includes relative position data of a key which is touched or is approached; and according to the operating position data, displaying a first key mark at a position corresponding to the key which is touched or is approached on the on-screen keyboard.
-
Citations
15 Claims
-
1. A display method of an on-screen keyboard, applied to a computing device connected to a physical keyboard, a screen and a sensor, the physical keyboard comprising a plurality of keys, the sensor being configured to detect and obtain an operating position image, and the physical keyboard further responds to a keystroke of the key, so as to output a key scan code to the computing device, wherein the display method of the on-screen keyboard comprises:
-
displaying an on-screen keyboard at a topmost layer of a displayed image of the screen; reading the operating position image obtained by the sensor; converting the operating position image into an operating position data, wherein the operating position data comprises a relative position data of a key which is touched or approached; according to the operating position data, displaying a first key mark at a position corresponding to the key which is touched or approached on the on-screen keyboard; reading the key scan code outputted by the physical keyboard and corresponding to the keystroke of the key; according to the key scan code, displaying a second key mark at a position on the on-screen keyboard which corresponds to the keystroke of the key; wherein, after displaying the second key mark at the position corresponding to the keystroke of the key on the on-screen keyboard, the display method further comprises; identifying, according to the key scan code, whether the keystroke of the key is a locking-key type; determining whether the key scan code corresponding to the key which is released is received; and if the key scan code corresponding to the key which is released is received and the key is not a locking-key type, cancelling displaying of the corresponding second key mark; and further comprising;
an automatic correction mechanism which, when the second key mark is individually marked on the on-screen keyboard, calculates a difference between an erroneously determined position and an actual position, and feeds back the difference to the computing device, so as to correct a parameter for generating the operating position data at a next time. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product, comprising a plurality of computer executable instructions stored in a non-transitory computer readable medium, wherein the computer executable instructions are loaded and executed by a computing device connected to a physical keyboard, a screen and a sensor to cause the computing device to implement a display method of an on-screen keyboard, the physical keyboard comprising a plurality of keys, the sensor being configured to detect and obtain an operating position image, and the physical keyboard further responds to a keystroke of the key, so as to output a key scan code to the computing device wherein the display method of the on-screen keyboard comprises:
-
displaying an on-screen keyboard at a topmost layer of a displayed image of the screen; reading the operating position image obtained by the sensor; converting the operating position image into an operating position data, wherein the operating position data comprises a relative position data of a key which is touched or approached; according to the operating position data, displaying a first key mark at a position corresponding to the key which is touched or approached on the on-screen keyboard; reading the key scan code outputted by the physical keyboard and corresponding to the keystroke of the key; and according to the key scan code, displaying a second key mark at a position on the on-screen keyboard which corresponds to the keystroke of the key; wherein, after displaying the second key mark at the position corresponding to the keystroke of the key on the on-screen keyboard, the display method further comprises; identifying, according to the key scan code, whether the keystroke of the key is a locking-key type; determining whether the key scan code corresponding to the key which is released is received; and if the key scan code corresponding to the key which is released is received and the key is not a locking-key type, cancelling displaying of the corresponding second key mark; and further comprising;
an automatic correction mechanism which, when the second key mark is individually marked on the on-screen keyboard, calculates a difference between an erroneously determined position and an actual position, and feeds back the difference to the computing device, so as to correct a parameter for generating the operating position data at a next time. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory computer readable storage medium, storing a computer program comprising a plurality of computer executable instructions that, when executed by a computing device connected to a physical keyboard, a screen and a sensor, cause the computing device to implement a display method of an on-screen keyboard, the physical keyboard comprising a plurality of keys, and the sensor being configured to detect and obtain an operating position image, and the physical keyboard further responds to a keystroke of the key, so as to output a key scan code to the computing device, wherein the display method of the on-screen keyboard comprises:
-
displaying an on-screen keyboard at a topmost layer of a displayed image of the screen; reading the operating position image obtained by the sensor; converting the operating position image into an operating position data, wherein the operating position data comprises a relative position data of a key which is touched or approached; according to the operating position data, displaying a first key mark at a position corresponding to the key which is touched or approached on the on-screen keyboard; after displaying the first key mark at the position corresponding to the key which is touched or is approached on the on-screen keyboard, if the operating position data comprising the relative position data of the key which is touched or is approached is not received again within a preset time, canceling displaying of the corresponding first key mark; and reading the key scan code outputted by the physical keyboard and corresponding to the keystroke of the key; according to the key scan code, displaying a second key mark at a position on the on-screen keyboard which corresponds to the keystroke of the key; and after displaying the second key mark at the position corresponding to the keystroke of the key on the on-screen keyboard, further comprising; identifying, according to the key scan code, whether the keystroke of the key is a locking-key type; determining whether the key scan code corresponding to the key which is released is received; and if the key scan code corresponding to the key which is released is received and the key is not a locking-key type, cancelling displaying of the corresponding second key mark. - View Dependent Claims (15)
-
Specification