CN1180335C - Method for extending codes of programmable keyboard and its controlling device - Google Patents
Method for extending codes of programmable keyboard and its controlling device Download PDFInfo
- Publication number
- CN1180335C CN1180335C CNB021075751A CN02107575A CN1180335C CN 1180335 C CN1180335 C CN 1180335C CN B021075751 A CNB021075751 A CN B021075751A CN 02107575 A CN02107575 A CN 02107575A CN 1180335 C CN1180335 C CN 1180335C
- Authority
- CN
- China
- Prior art keywords
- key
- button
- extending codes
- keyboard
- extending
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The present invention relates to a method and a control device for extending codes of a programmable keyboard. Processing extending code instructions are defined to a keyboard at a system terminal of a computer, wherein the processing extending code instructions can be appointed by users aiming at the selected extending codes of keys to be set or cancelled, and simultaneously, a processing position table column of keystroke position parameters is sent out; after the keyboard receives, the updated action of the extending codes can be carried out aiming at the keys of the extending codes to be preset or canceling, and simultaneously, a standard code mode for switching appointed keys and transmission codes of an extending code mode can be provided by using a keystroke with a transmission code mode on the keyboard; thus, the present invention can set or cancel the function of the extending codes for all keys on the keyboard, increase the extension performance of the keys so as to be used for different application.
Description
Technical field
The present invention relates to a kind of function extending method and control device of keyboard, be particularly related to a kind of method and control device thereof of extending codes of programmable keyboard, all buttons on the keyboard all can be set or the function of cancellation extending codes by system for computer, and make this button extending codes can both be with permanent and temporary application.
Background technology
The general employed QWERTY keyboard of computing machine, be to formulate a cover coding standard according to American Standard Code for Information Interchange (ASCII) (ASCII) and computer character coding standard (ISO646), promptly 7 potential energies provide 128 coding sites, it is to be distinguished into 94 graphic character codes and 34 control character sign indicating numbers respectively, the maximum use pressed outside bond number and the system command in the deduction various countries Chinese language, the coding site that residual energy is used is few, so, has limited the extendibility of other hot key (Hot key) virtually.
IBM has at special key (as: Insert, Home, Page Up, Page Down ... Deng) defining its extending codes, it is " EO " sign indicating number combined standard key that cooperates special key on the practice, to form an extending codes, reaches and expands the functional of button.
The extending method of above-mentioned common extending codes is used in hot key partly or standard key partly, and can't extends to whole keyboards (as: the literal typewriting district on the keyboard), and, present keyboard extending codes is all fixed, can't set arbitrarily or cancel, to do temporary application.
So above-mentioned known extending codes extending method on reality is used, obviously has inconvenience and exists with disappearance, can wait to be improved.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of method and control device thereof of extending codes of programmable keyboard, and all buttons on the keyboard all can be specified or the function of cancellation extending codes by the system for computer end.
Another object of the present invention is to provide a kind of method and control device thereof of extending codes of programmable keyboard, make on the keyboard all button utilizations collocation extending codes and switching send the pattern button, can be with permanent and temporary application.
The object of the present invention is achieved like this:
The present invention mainly provides a kind of method of extending codes of programmable keyboard, be that first key of computer keyboard key is become second key after via the programming extending codes, comprise the following steps: (a) at first, receive one by a keyboard and handle the extending codes instruction, and be to set or the cancellation extending codes according to the type of this processing extending codes instruction, and, find out the button of this keyboard that corresponds to by the processing position tabular that this processing extending codes instruction back is followed, to upgrade the extending codes of this button; (b) secondly, when having detected button and be pressed, judge that sending pattern is standard code pattern or extending codes pattern, if the standard code pattern is then directly sent first key of this button, otherwise carries out next step by a keyboard program; And (c) then, judge the extending codes set condition of this button, if there is setting then to send second key of this button, otherwise send first key of this button; Like this, can carry out programmable setting or cancellation, so that increase the extendibility of keyboard, to do different application to the extending codes of keyboard.
The present invention also provides a kind of control device of extending codes of programmable keyboard, is to have additional one to send the pattern button on a computer keyboard, is used to switch the sign indicating number that send of the standard code pattern of relevant specified button and extending codes pattern.
Specifically, the present invention discloses a kind of method of extending codes of programmable keyboard, and being becomes second key with first key of computer keyboard key after via the programming extending codes, and described method comprises the following steps:
(a) at first, receive one by this computer keyboard and handle the extending codes instruction, and be to set or the cancellation extending codes according to the type of this processing extending codes instruction, and by a processing position tabular of being followed after this processing extending codes instruction, find out the button of this computer keyboard that corresponds to, to upgrade the extending codes of this button;
(b) secondly, when having detected button and be pressed, judge that sending pattern is standard code pattern or extending codes pattern, if the standard code pattern is then directly sent first key of this button, otherwise carries out next step by a keyboard program; And
(c) then, judge the extending codes set condition of this button,, otherwise send first key of this button if there is setting then to send second key of this button;
Like this, can carry out programmable setting or cancellation, so that increase the extendibility of computer keyboard key, to do different application to the extending codes of computer keyboard key.
Described first key is to be this computer keyboard standard code of typing words key zone above, or the extending codes in IBM special key district.
Described second key is when this first key is standard code, adds a preamble before this standard code.
Described second key is when this first key is extending codes, and this extending codes is made as another extending codes.
Described computer keyboard is to have additional one to inspect button, is used to inspect the set condition of all specified button extending codes.
The processing extending codes instruction of described step (a) is to be assigned to this computer keyboard by the system for computer end.
The processing position tabular of described step (a) is to comprise one or the location parameter of more than one this computer keyboard key, and handles the basis for estimation that position tabular finishes in stopping order with one at last as this.
The extending codes that upgrades this button in the described step (a) be for to this by the key assignments extending codes.
The extending codes that upgrades this button in the described step (a) is for this button is cancelled extending codes.
Judge that sending pattern is set one to send the pattern button on this computer keyboard, be used to switch the standard code pattern or the extending codes pattern of relevant specified button, and the key that decision is sent to be first key or second key in the described step (b).
The present invention also discloses a kind of method of extending codes of programmable keyboard, be that first key of computer keyboard key is become second key after via the programming extending codes, and one of the standard code pattern of changeable button and the extending codes pattern that be provided with on a computer keyboard send the pattern button, comprises the following steps:
(a) at first, be to assign one by the system for computer end to handle the extending codes instruction, be used to set or cancel the extending codes of selected this computer keyboard key, and send a processing position tabular that contains this computer keyboard key position;
(b) secondly, this computer keyboard can receive this processings extending codes instruction, and sets or cancel according to the type of instruction, and by the button of this processing position this computer keyboard that tabular corresponds to, to upgrade the extending codes of this button;
(c) moreover, when having been detected button and be pressed by a keyboard program, that can judge this button send the pattern key-press status, if this sign indicating number that send that send the pattern button to switch to the standard code pattern is then sent first key of this button, otherwise carried out next step; And
(d) then, judge the extending codes set condition of this button,, otherwise send first key of this button if there is setting then to send second key of this button;
Like this, can carry out programmable setting or cancellation, so that increase the extendibility of computer keyboard key, to do different application to the extending codes of computer keyboard key.
Described computer keyboard is to be provided with one to inspect button, is used to inspect the set condition of all specified button extending codes.
The processing position tabular of described step (a) is to comprise one or the location parameter of more than one this computer keyboard key, and handles the basis for estimation that position tabular finishes in stopping order with one at last as this.
The extending codes that upgrades this button in the described step (b) is that this is pressed the key assignments extending codes.
The extending codes that upgrades this button in the described step (b) is to this button cancellation extending codes.
The present invention also discloses a kind of device that is used for controlling extending codes of programmable keyboard, is to have additional one to send the pattern button on a computer keyboard, is used to switch the sign indicating number that send of the standard code pattern of relevant specified button and extending codes pattern.
The described device that is used for controlling extending codes of programmable keyboard is to have additional one to inspect button on this computer keyboard, is used to inspect the set condition of all specified button extending codes.
The method of extending codes of programmable keyboard of the present invention and control device thereof have characteristics described as follows:
(1) makes on the keyboard all buttons can both set or cancel extending codes, and can do different application, to increase the extendibility of keyboard.
(2) by setting or cancellation, make button can both have permanent and temporary application concurrently to the button extending codes.
Description of drawings
Fig. 1 is the outside drawing that the present invention is applied to computer keyboard;
Fig. 2 is one of process flow diagram of extending codes of programmable keyboard of the present invention;
Fig. 3 be extending codes of programmable keyboard of the present invention process flow diagram two;
Fig. 4 is the process flow diagram of keyboard program of the present invention.
Embodiment
See also the outside drawing that Fig. 1 the present invention is applied to computer keyboard, following explanation for convenience, be that computer keyboard 1 key (the preceding of keyboard extending codes of not programming) originally is called first key, and the key behind programming keyboard extending codes is called second key, this first key is to be computer keyboard 1 standard code of typing words key zone above, or the extending codes in IBM special key district, wherein be to have additional one to send pattern button 11 and to inspect button 12 on this computer keyboard 1, this send pattern button 11 is the sign indicating numbers that send that are used for switching the standard code pattern of relevant specified button and extending codes pattern, also promptly send pattern button 11 can determine that button is to send first key by the standard code pattern by switching, or send second key by the extending codes pattern, wherein second key is when first key is standard code, (for example: EOH) before standard code add a preamble, perhaps second key is when first key is extending codes, and this extending codes is made as another extending codes.
And this to inspect button 12 are the set conditions that are used for inspecting all specified button extending codes, and utilize computer screen to demonstrate, and the method for extending codes of programmable keyboard of the present invention is as described below.
See also Fig. 2 and Fig. 3, the process flow diagram of extending codes of programmable keyboard of the present invention comprises the following steps:
Step 20: assign a processing extending codes by system end and instruct to computer keyboard;
Step 21: computer keyboard receives this processing extending codes instruction;
Step 22: judge that this processing extending codes instruction is to set extending codes?
If Y then skips to step 24;
N then skips to step 23 if not.
Step 23: judge that this processing extending codes instruction is the cancellation extending codes?
If Y then skips to step 24;
N, then process ends if not;
Step 24: stop computer keyboard scanning;
Step 25: receive and handle the processing position tabular that extending codes instruction back is followed;
Does step 26: whether judgment processing position tabular has been received stop order?
If Y then skips to step 30;
N then skips to step 27 if not;
Is step 27: what judgment processing position tabular was received that first is by bond parameter?
If Y then skips to step 28;
N then skips to step 29 if not;
Step 28: dump keyboard buffer;
Step 29: the extending codes state upgrades, and rebound step 25;
Step 30: recover computer keyboard scanning, and process ends.
Wherein, driver or application program at the system for computer end in step 20 should possess user's interface, set for user's handled easily, cancellation and inspect and handle the required function of extending codes instruction, be that the user can or cancel the extending codes of selected button by user's interface setting, and send and contain one of this keyboard position and handle the position tabular, and this processing position tabular is made up of the key position parameter of a succession of (if set simultaneously or when cancelling a plurality of button), and in stopping the basis for estimation that order finishes as this processing position tabular with one at last, in order to the judgement of step 26.
And, be when in receiving processing position tabular, representing first in step 27 by bond parameter, dump keyboard buffer in step 28, to prepare to accept follow-up a succession of bond parameter of pressing, and in step 29, computer keyboard 1 button that this parameter corresponded to is made the extending codes state and upgrade, renewal is according to step 22 or step 23 judged result, to do to set the action of extending codes or cancellation extending codes, wherein setting extending codes and be at first key is that standard code is when (as at the keyboard button in typing words district above), before standard code, add a preamble and become second key, be that extending codes (as the special key at the hot key or the IBM of keyboard) is set at another extending codes and becomes second key perhaps at first key, and the cancellation extending codes is the action that cancellation setting extending codes is done, and makes button return to first key originally.
See also the process flow diagram of Fig. 4 keyboard program of the present invention, be in second and after Fig. 3 finishes extending codes of programmable keyboard, by a keyboard hook procedure, judge when button is pushed be by standard code pattern or extending codes pattern to send first key or second key, comprise the following steps:
Step 40: button is pushed;
Step 41: judge and send the pattern button to switch to the extending codes pattern?
If Y then skips to step 42;
N then skips to step 44 if not;
Does step 42: the extending codes of judging this button have setting?
If Y then skips to step 43;
N then skips to step 44 if not;
Step 43: obtain second key;
Step 44: obtain first key;
Step 45: send this key codes of pushbuttons, and process ends.
Like this, can carry out programmable setting or cancellation to the extending codes of keyboard,, and can be defined the function of extending codes by operating system, driver or the application program of system so that increase the extendibility of keyboard, doing different application, and can effectively overcome the shortcoming of known technology.
Cooperate above-mentioned description to be described further for an embodiment below:
The operator opens user's interface at the system for computer end, suppose to set button A, B, the extending codes of C, and will handle the extending codes instruction and deliver to computer keyboard 1, to upgrade button A, B, the extending codes of C, be respectively at button A, B, add a preamble before the standard code of C, simultaneously this to send pattern button 11 be to switch to the extending codes pattern, as this button A, when B or C are pressed, the non-script button of institute's key of sending A, the standard code of B or C (first key), but before standard code, add the extending codes (second key) of a preamble, so can be with button A, B, but C is except character display A, B, outside the C, and can utilize software definition to do other application, to increase button A, B, the extendibility of C, certainly the user also can be by inspecting pushing of button 12, to demonstrate button A, B, in the dried screen of extending codes command function of C, to grasp the set condition of button extending codes at any time; In like manner also can utilize cancellation button A, B, C, extending codes (second key), and make button A, B, C return to original standard code (first key).
The method of extending codes of programmable keyboard of the present invention and control device thereof have characteristics described as follows:
(1) makes on the keyboard all buttons can both set or cancel extending codes, and can do different application, to increase the extendibility of keyboard.
(2) by setting or cancellation, make button can both have permanent and temporary application concurrently to the button extending codes.
The above, only be the detailed description and the accompanying drawing of the specific embodiment of one of the best of the present invention, feature of the present invention is not limited thereto, be not to be used to limit the present invention, all scopes of the present invention should be as the criterion with claim, and are all in the embodiment of spirit of the present invention variation similar with it, all should be included in the category of the present invention, any those of ordinary skill in the art, conspicuous variation or modification all can be encompassed in the claim of the present invention.
Claims (8)
1, a kind of method of extending codes of programmable keyboard, be that first key of computer keyboard key is become second key after via the programming extending codes, and one of the standard code pattern of changeable button and the extending codes pattern that be provided with on a computer keyboard send the pattern button, comprises the following steps:
(a) at first, be to assign one by the system for computer end to handle the extending codes instruction, be used to set or cancel the extending codes of selected this computer keyboard key, and send a processing position tabular that contains this computer keyboard key position;
(b) secondly, this computer keyboard can receive this processings extending codes instruction, and sets or cancel according to the type of instruction, and by the button of this processing position this computer keyboard that tabular corresponds to, to upgrade the extending codes of this button;
(c) moreover, when having been detected button and be pressed by a keyboard program, that can judge this button send the pattern key-press status, if this sign indicating number that send that send the pattern button to switch to the standard code pattern is then sent first key of this button, otherwise carried out next step; And
(d) then, judge the extending codes set condition of this button,, otherwise send first key of this button if there is setting then to send second key of this button;
Like this, can carry out programmable setting or cancellation, so that increase the extendibility of computer keyboard key, to do different application to the extending codes of computer keyboard key.
2, the method for extending codes of programmable keyboard as claimed in claim 1 is characterized in that described first key is to be this computer keyboard standard code of typing words key zone above, or the extending codes in IBM special key district.
3, the method for extending codes of programmable keyboard as claimed in claim 2 is characterized in that described second key is when this first key is standard code, adds a preamble before this standard code.
4, the method for extending codes of programmable keyboard as claimed in claim 2 is characterized in that described second key is when this first key is extending codes, is made as another extending codes with this extending codes.
5, the method for extending codes of programmable keyboard as claimed in claim 1 is characterized in that described computer keyboard is to have additional one to inspect button, is used to inspect the set condition of all specified button extending codes.
6, the method for extending codes of programmable keyboard as claimed in claim 1, the processing position tabular that it is characterized in that described step (a) is to comprise one or the location parameter of more than one this computer keyboard key, and handles the basis for estimation that position tabular finishes in stopping order with one at last as this.
7, the method for extending codes of programmable keyboard as claimed in claim 1, the extending codes that it is characterized in that upgrading in the described step (b) this button be for to this by the key assignments extending codes.
8, the method for extending codes of programmable keyboard as claimed in claim 1, the extending codes that it is characterized in that this button of renewal in the described step (b) are for this button is cancelled extending codes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021075751A CN1180335C (en) | 2002-03-18 | 2002-03-18 | Method for extending codes of programmable keyboard and its controlling device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021075751A CN1180335C (en) | 2002-03-18 | 2002-03-18 | Method for extending codes of programmable keyboard and its controlling device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1445655A CN1445655A (en) | 2003-10-01 |
CN1180335C true CN1180335C (en) | 2004-12-15 |
Family
ID=27811060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021075751A Expired - Lifetime CN1180335C (en) | 2002-03-18 | 2002-03-18 | Method for extending codes of programmable keyboard and its controlling device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1180335C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100388198C (en) * | 2005-04-21 | 2008-05-14 | 张原荣 | Method for updating mouse combined key code table dynamically |
CN102214008A (en) * | 2010-04-02 | 2011-10-12 | 纬创资通股份有限公司 | Method for updating keyboard definition, and computer system |
-
2002
- 2002-03-18 CN CNB021075751A patent/CN1180335C/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
CN1445655A (en) | 2003-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1269014C (en) | Character input device | |
CN1266914C (en) | Cellular telephone | |
CN1855017A (en) | Electronic device having capability for interpreting user inputs and method therefor | |
CN1842096A (en) | Portable terminal and document display control method thereof | |
CN1752912A (en) | Electronic device and method for controlling its menu display | |
CN100342317C (en) | Character inputting device and method | |
CN1470015A (en) | Information processing device, information processing method, and storage medium | |
US7162685B2 (en) | Key-input correcting device | |
CN1841299A (en) | Information processing apparatus and program product | |
CN1263327C (en) | Mobile telephone set having self-adaptive user's interface | |
CN1501743A (en) | Character input device and method for a mobile terminal | |
CN1942847A (en) | Data input method and apparatus | |
CN1180335C (en) | Method for extending codes of programmable keyboard and its controlling device | |
CN1928793A (en) | Portable digital apparatus for conveniently inputting various characters and method of controlling the apparatus | |
CN1739082A (en) | Apparatus and method for enabling unicode input in legacy operating systems | |
CN1704880A (en) | Method and apparatus for inputting ideographic characters into hand-held devices | |
JP2004005430A5 (en) | ||
CN101256444A (en) | Method for processing and converting information stream generated by user key-press | |
CN2517023Y (en) | Multifunction keyboard with hot key | |
CN1882903A (en) | Entering apparatus | |
CN101064881A (en) | Two-dimensional selection method of user recognition module menu interface and its user recognition module | |
CN1564113A (en) | Finger controlled keyboard | |
CN1629881A (en) | Advanced mouse | |
CN1636181A (en) | Morphology-based text entry system | |
CN1722067A (en) | Method for inputting Chinese characters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
ASS | Succession or assignment of patent right |
Owner name: GUANGBAO TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: XULI CO., LTD. Effective date: 20031126 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20031126 Address after: Taiwan City, Taipei Applicant after: Lite-On Technology Corporation Address before: Taiwan, China Applicant before: Xuli Co., Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20041215 |
|
CX01 | Expiry of patent term |