Processing system and method for detecting hotkey activation
First Claim
1. A processing system for detecting hotkey activation, for allowing a computer device to determine whether a hotkey of a keyboard is activated by a user so as to initiate a hotkey activation program in the computer device to execute an application program corresponding to the hotkey if being activated, the processing system for detecting hotkey activation comprising:
- a controller electrically connected to the keyboard and for detecting a keying signal generated corresponding to the hotkey of the keyboard being activated by the user;
a processor electrically connected to the controller and for executing a corresponding process according to the keying signal detected by the controller;
a first register comprising a plurality of bits, each of the bits corresponding to each hotkey provided by the keyboard respectively; and
a second register comprising a plurality of bits, each of the bits corresponding to each hotkey provided by the keyboard respectively, wherein when the controller detects activation of the hotkey of the keyboard, the controller sets the bits, which correspond to the hotkey, in the first and second registers, to allow the hotkey activation program to detect via polling the corresponding bit of the first register being set, and allow the processor to execute the application program corresponding to the hotkey, and wherein when the controller detects the hotkey being released, the controller alters a value of the corresponding bit of the second register being set, to allow the hotkey activation program to detect via polling that the hotkey has been released.
1 Assignment
0 Petitions
Accused Products
Abstract
A processing system and method for detecting hotkey activation allows a computer device to determine whether a keyboard hotkey is activated by a user and to execute a corresponding application program associated with the hotkey if being activated. The system and method respectively associate each bit in a first register and a second register with each hotkey. Altering a value of the bit in the first register allows the computer device to identify if the hotkey is being pressed, and altering a value of the bit in the second register allows the computer device to identify if the hotkey has been released. The computer device thus detects the operating status of the hotkey in a polling manner via the first and second registers, thereby providing an active processing way for detecting hotkey activation to maintain the stability of the computer device.
-
Citations
14 Claims
-
1. A processing system for detecting hotkey activation, for allowing a computer device to determine whether a hotkey of a keyboard is activated by a user so as to initiate a hotkey activation program in the computer device to execute an application program corresponding to the hotkey if being activated, the processing system for detecting hotkey activation comprising:
-
a controller electrically connected to the keyboard and for detecting a keying signal generated corresponding to the hotkey of the keyboard being activated by the user;
a processor electrically connected to the controller and for executing a corresponding process according to the keying signal detected by the controller;
a first register comprising a plurality of bits, each of the bits corresponding to each hotkey provided by the keyboard respectively; and
a second register comprising a plurality of bits, each of the bits corresponding to each hotkey provided by the keyboard respectively, wherein when the controller detects activation of the hotkey of the keyboard, the controller sets the bits, which correspond to the hotkey, in the first and second registers, to allow the hotkey activation program to detect via polling the corresponding bit of the first register being set, and allow the processor to execute the application program corresponding to the hotkey, and wherein when the controller detects the hotkey being released, the controller alters a value of the corresponding bit of the second register being set, to allow the hotkey activation program to detect via polling that the hotkey has been released. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A processing method for detecting hotkey activation, for allowing a computer device to determine whether a hotkey of a keyboard is activated by a user and to execute an application program corresponding to the hotkey if being activated, the processing method for determining the hotkey activation comprising the steps of:
-
pre-setting a first register in the computer device, wherein the first register comprises a plurality of bits, each of the bits corresponding to each hotkey provided by the keyboard respectively;
pre-setting a second register in the computer device, wherein the second register comprises a plurality of bits, each of the bits corresponding to each hotkey provided by the keyboard respectively;
determining the hotkey of the keyboard activated by the user and setting values of bits, which correspond to the hotkey, in the first and second registers via the computer device;
executing the application program corresponding to the hotkey and altering the value of the bit in the first register that corresponds to the hotkey via the computer device; and
determining via the computer device if the hotkey of the keyboard has been released by the user and altering the value of the bit in the second register that corresponds to the hotkey if being released. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
Specification