Method for generating touch control instruction of keyboard, and computer program product and non-transitory computer readable medium of touch control instruction
Abstract:
A method for generating a touch control instruction, includes: loading an instruction condition definition table, where the instruction condition definition table includes a plurality of touch control instructions, and each touch control instruction includes a plurality of instruction conditions and definition values corresponding to the instruction conditions; reading a first key signal output by a physical keyboard corresponding to a touch on a keycap; recognizing a touch control event according to multiple consecutive first key signals; obtaining a plurality of detection values of the touch control event and comparing the detection values with the definition values; if the detection values match definition values of all instruction conditions of a touch control instruction, stopping tracing of the touch control event; and executing the matched touch control instruction.
Information query
Patent Agency Ranking
0/0