CN103455456A - Method and device for keyboard megafunction uploading - Google Patents
Method and device for keyboard megafunction uploading Download PDFInfo
- Publication number
- CN103455456A CN103455456A CN2013104049008A CN201310404900A CN103455456A CN 103455456 A CN103455456 A CN 103455456A CN 2013104049008 A CN2013104049008 A CN 2013104049008A CN 201310404900 A CN201310404900 A CN 201310404900A CN 103455456 A CN103455456 A CN 103455456A
- Authority
- CN
- China
- Prior art keywords
- keyboard
- macroefficiency
- macro
- interface
- instruction
- 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.)
- Granted
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
The invention relates to the technical field of function realization of computer keyboard buttons, in particular to a method and a device for keyboard megafunction uploading. The method comprises the steps of enumerating USB (universal serial bus) data transmission channels between a keyboard and a host as a button command interface with a function of transmitting button codes and a macroinstruction interface with a function of transmitting macro operating sequences; extracting button codes to be executed after obtaining and parsing button commands and uploading the codes to the host through the button command interface. USB devices on the keyboard are respectively enumerated as the button command interface for uploading the button commands and the macroinstruction interface for uploading megafunction commands, when a user performs button command inputting and megafunction command uploading at the same time, the button command interface and the macroinstruction interface can transmit information in the USB data transmission channels between the keyboard and the host respectively, the two actions do not interfere with each other and are carried out simultaneously, thus the data transmission efficiency of the keyboard is improved.
Description
Technical field
The present invention relates to the computer keyboard key function and realize technical field, relate in particular to the method and apparatus that a kind of keyboard macroefficiency is uploaded.
Background technology
Grand is one of the function of current gamepad indispensability, refer to by actuation of keys is edited according to the demand of oneself, and recording and storing is in keyboard, and function that can this batch of action of disposable implementation, namely become an instruction to the much packing of orders.Grandly can allow the player make the continual command of oneself liking, the shortcut used while allowing game tails off, and reduces the trouble by a pile button, also can add some special-effects, increases game-play enjoyment.
The macroefficiency implementation of gamepad mainly contains two kinds in the market, and the first is to use to drive to realize, by the actuation of keys of activation record button, is kept in the PC system, when grand being triggered, driving and recalls record again, and action is passed to the PC system.The second is the actuation of keys that records keyboard with driving, and then is kept in keyboard, when grand being triggered, carrying out grand instruction by keyboard itself and resolves and be uploaded to the PC system.In the second implementation, when grand be stored in keyboard after, there is no the PC of associated drives system even keyboard moves to, also can use the macroefficiency of having stored.So the second implementation is more convenient for the first, apply more extensive.But in the second implementation, due to grand storage and to upload be all to be carried out by keyboard itself, the mode of realization is more complicated, particularly when the user uses button, inputs and the uploading while producing conflict of macro instruction, must abandon an action, only carry out an action.
Summary of the invention
The object of the invention is to propose the method and apparatus that a kind of keyboard macroefficiency is uploaded, can realize that keyboard instruction input and macroefficiency instruction are uploaded simultaneously carries out, and both do not interfere with each other.
For reaching this purpose, the present invention by the following technical solutions:
First aspect, a kind of method that provides keyboard macroefficiency to upload comprises:
Usb data transmission channel between keyboard and main frame is enumerated to the key command interface for having transmission keyboard-coding function and had the macro instruction interface that transmits the macro operation functional nucleotide sequence;
Obtain key command by keyboard, resolve described key command and extract corresponding pending keyboard-coding from the programmable button code set, by the key command interface, upload described pending keyboard-coding to main frame;
Receive the macroefficiency instruction, resolve described macroefficiency instruction and extract corresponding pending macro operation sequence from default macro instruction set, by the macro instruction interface, upload described pending macro operation sequence to main frame.
Wherein, described macroefficiency instruction triggers by key command or by driving command triggers.
Wherein, before the instruction of described reception macroefficiency, also comprise: by key command, open macroefficiency or open macroefficiency by the driving order.
Wherein, the method that described keyboard macroefficiency is uploaded also comprises: the corresponding default macro instruction set of operation information of setting up and storing macro operation sequence and the pressing keys obtained by keyboard, pressing keys duration and unclamping button.
Wherein, the method that described keyboard macroefficiency is uploaded also comprises: set up and store the key command programmable button code set corresponding with keyboard-coding information.
Wherein, the macro operation sequence in described default macro instruction set comprises to main frame and obtains keyboard LED state macro operation sequence or to main frame, do not obtain keyboard LED state macro operation sequence.
Second aspect, the device that provides a kind of keyboard macroefficiency to upload, comprise the usb data transmission channel between keyboard and main frame enumerated to the key command interface with transmission keyboard-coding function obtained and the macro instruction interface with transmission macro operation functional nucleotide sequence;
Described key command interface is for uploading described pending keyboard-coding to main frame; Described macro instruction interface is for uploading described pending macro operation sequence to main frame;
Also comprise:
Receive the key command unit: for by keyboard, obtaining key command,
Resolve the key command unit: for resolving described key command and extracting corresponding pending keyboard-coding from the programmable button code set,
Receive the macroefficiency command unit: for receiving the macroefficiency instruction,
Resolve the macroefficiency command unit: for resolving described macroefficiency instruction and extracting corresponding pending macro operation sequence from default macro instruction set,
Wherein, the device that described keyboard macroefficiency is uploaded also comprises driver element: for sending, drive the instruction of command triggers macroefficiency.
Wherein, the device that described keyboard macroefficiency is uploaded also comprises that default macroinstruction set symphysis becomes unit: for the corresponding default macro instruction set of operation information of setting up and storing macro operation sequence and the pressing keys obtained by keyboard, pressing keys duration and unclamping button.
Wherein, the device that described keyboard macroefficiency is uploaded also comprises programmable button code set generation unit: for setting up and store the key command programmable button code set corresponding with keyboard-coding information.
Beneficial effect of the present invention is: the method and apparatus that a kind of keyboard macroefficiency is uploaded, and the usb data transmission channel between keyboard and main frame is enumerated to the key command interface for having transmission keyboard-coding function and had the macro instruction interface that transmits the macro operation functional nucleotide sequence; Extract pending keyboard-coding after obtaining and resolve key command, by the key command interface, be uploaded to main frame; Receive and resolve the pending macro operation sequence of macroefficiency instruction fetch, by the macro instruction interface, be uploaded to main frame.The USB device of keyboard is enumerated respectively key command interface for uploading key command and for uploading the macro instruction interface of macroefficiency instruction, when the user carries out key command input and macroefficiency instruction simultaneously and uploads, key command interface and macro instruction interface is transmission information in the usb data transmission channel between keyboard and main frame respectively, two actions do not interfere with each other, carry out simultaneously, improve keyboard transmission data efficiency.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, in below describing the embodiment of the present invention, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, the accompanying drawing that can also obtain other according to content and these accompanying drawings of the embodiment of the present invention.
Fig. 1 is the schematic flow sheet of the method uploaded of keyboard macroefficiency that the embodiment of the present invention 1 provides;
Fig. 2 is the schematic flow sheet of the method uploaded of keyboard macroefficiency that the embodiment of the present invention 2 provides;
Fig. 3 is the structural representation of the device uploaded of keyboard macroefficiency that the embodiment of the present invention 3 provides;
Fig. 4 is the structural representation of the device uploaded of keyboard macroefficiency that the embodiment of the present invention 4 provides.
Embodiment
For the technical scheme of technical matters that the present invention is solved, employing and the technique effect that reaches clearer, technical scheme below in conjunction with accompanying drawing to the embodiment of the present invention is described in further detail, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those skilled in the art, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The schematic flow sheet of the method that the keyboard macroefficiency provided for the embodiment of the present invention 1 as shown in Figure 1, is uploaded;
A kind of method that provides keyboard macroefficiency to upload, comprise the steps:
S101, the usb data transmission channel between keyboard and main frame is enumerated to the key command interface for having transmission keyboard-coding function and there is the macro instruction interface of transmission macro operation functional nucleotide sequence;
According to USB keyboard applications method in the USB standard, the usb data transmission channel between keyboard and main frame is abstracted into to key command interface and a macro instruction interface with transmission macro operation functional nucleotide sequence with transmission keyboard-coding function.Described usb data transmission channel refers to: keyboard side USB drives, the data transmission channel that comprises the usb data line between the USB end points of the USB end points of keyboard, main frame and two USB end points.
Described enumeration process is specially: at first, the keyboard USB end points that the keyboard side will be transmitted data is defined as a keyboard USB interface, and keyboard USB end points is connected to the USB end points of main frame by the usb data line, afterwards, main frame sends request to keyboard, and request obtains the keypad information of the keyboard USB interface connected; Keyboard, after the request of receiving, sends the keypad information of asking to main frame, then, main frame is obtaining these information and determining that according to this information the keyboard USB that can provide drives, and the keyboard USB that loads the corresponding USB of meeting standard drives; Finally, main frame, after the keypad information that obtains comprising HID report descriptor, thinks that the information of connected keyboard USB interface is complete, just by keyboard USB, is driven keyboard is configured, and configuration successful can realize the data transmission between keyboard and main frame.So far, enumeration process finishes.Just can realize through 2 similar enumeration process the macro instruction interface of the usb data transmission channel between keyboard and main frame being enumerated to the key command interface for having transmission keyboard-coding function and thering is transmission macro operation functional nucleotide sequence.
Keypad information comprises the HID report descriptor of keyboard, and described HID report descriptor is general keyboard report descriptor.HID report descriptor is the descriptor just needed when equipment is defined as a HID equipment, this descriptor shows the version number of this equipment support usb protocol, whether proprietary descriptor is arranged, the feature of descriptor is limited, and the organizational form of data when the main frame of definition and communication between devices.Key command interface and macro instruction interface HID report descriptor first few items are exemplified below:
Above these several the fields of describing an input use, be total up to 8 bits, each bit means that a button is respectively from left ctrl key to right GUI key.These 8 bits just form a byte, and it is positioned at first byte of report.Its lowest order, the bit-0 correspondence left ctrl key, if this position of the data of returning is 1, mean that left ctrl key is pressed, otherwise left ctrl key is not pressed.Its most significant digit, bit-7 means the situation of pressing of right GUI key.Middle several positions, need to determine according to the purposes page table of stipulating in the HID agreement (HID Usage Tables).Be commonly used to mean special keys, ctrl for example, shift, del key etc.
S102, by keyboard, obtain key command, resolve described key command and extract corresponding pending keyboard-coding from the programmable button code set, by the key command interface, upload described pending keyboard-coding to main frame;
The key scanning circuit that corresponding key position is arranged in keyboard, produce the coding circuit of the key code that is pressed, and will produce code and send into the interface circuit of computing machine, and these circuit are referred to as keyboard control circuit.
The function of keyboard control circuit relies on hardware automatically to complete fully, and this keyboard is called encoded keyboard, and it can send the coded message of pressing key into computing machine automatically.The encoded keyboard fast response time, but it take complicated hardware configuration as cost, and also its complicacy increases along with the increase of keypress function.
The keyboard control circuit function will rely on hardware and software jointly to complete, and this keyboard is called nonencoded keyboard.This keyboard response speed is fast not as encoded keyboard, but some button that it can be keyboard by software redefines, and for expanding keypad function, provides great convenience, therefore, is widely used.
S103, the instruction of reception macroefficiency, resolve described macroefficiency instruction and extract corresponding pending macro operation sequence from default macro instruction set, by the macro instruction interface, uploads described pending macro operation sequence to main frame.
The grand set be comprised of one or more operations, wherein each operation realizes specific function, grandly refers to a series of operations that can reset, contributes to carry out repeating of task, can also be by the grand sequence tediously long or that be difficult to operation of resetting.Such as, when playing games, grandly can realize such as moment switching weapon, continuously a certain object be discharged magic arts, follows particular player in troop and attack, and select to attack technical ability etc.Grand can be divided into grand, grand group and conditional operation grand.Grand is the set of the sequence of operation, and grand group be grand set, and conditional operation is grand is to be with the sequence of operation with good conditionsi, and these grand middle comprised sequences of operation only just can be carried out when condition is set up.
A kind of method that keyboard macroefficiency is uploaded, the USB device of keyboard is enumerated respectively key command interface for uploading key command and for uploading the macro instruction interface of macroefficiency instruction, when the user carries out key command input and macroefficiency instruction simultaneously and uploads, key command interface and macro instruction interface is transmission information in the usb data transmission channel between keyboard and main frame respectively, two actions do not interfere with each other, carry out simultaneously, improve keyboard transmission data efficiency.
The schematic flow sheet of the method that the keyboard macroefficiency provided for the embodiment of the present invention 2 as shown in Figure 2, is uploaded; The present embodiment has increased startup macroefficiency step.
A kind of method that provides keyboard macroefficiency to upload, comprise the steps:
S201, by key command, open macroefficiency;
Open macroefficiency by default key command, flexible.Macroefficiency can also be opened by the driving order; Start service routine in the Games Software start-up course, by driver, realize writing the registration table continuous item in service routine, automatically the run macro function program.Utilize and drive order to open macroefficiency without button, can automatically open in the time of setting.
S202, by key command, trigger the macroefficiency instruction;
Trigger the macroefficiency instruction by key command, flexible.The macroefficiency instruction can also be by driving command triggers; Utilize and drive the instruction of command triggers macroefficiency without button, can automatically trigger in the time of setting, or circulation triggers.
S203, the usb data transmission channel between keyboard and main frame is enumerated to the key command interface for having transmission keyboard-coding function and there is the macro instruction interface of transmission macro operation functional nucleotide sequence;
Wherein, key command interface and macro instruction interface are USB HID dummy keyboard communication interface, and by reporting to transmitting data, report has input report and output report.The input report is that the dummy keyboard communication interface sends to main frame, and for example the dummy keyboard communication interface returns to main frame by button data; Output report is that main frame sends to the dummy keyboard communication interface, such as the locking lamp of the numeric keypad on keyboard and capitalization locking lamp etc.Report is a packet, and what the inside comprised is the data that will transmit.
The descriptor of USB HID dummy keyboard communication interface, except the standard descriptor (device descriptor, configuration descriptor, interface descriptor, endpoint descriptor, character string descriptor) of 5 USB, also comprises 3 HID equipment class particular descriptor: HID descriptor, report descriptor, entity description symbol.USB report descriptor (Report Descriptor) is a descriptor in HID equipment, and it is a descriptor of more complicated.
S204, by keyboard, obtain key command, resolve described key command and extract corresponding pending keyboard-coding from the programmable button code set, by the key command interface, upload described pending keyboard-coding to main frame;
S205, the instruction of reception macroefficiency, resolve described macroefficiency instruction and extract corresponding pending macro operation sequence from default macro instruction set, by the macro instruction interface, uploads described pending macro operation sequence to main frame.
Wherein, the method that described keyboard macroefficiency is uploaded also comprises: the corresponding default macro instruction set of operation information of setting up and storing macro operation sequence and the pressing keys obtained by keyboard, pressing keys duration and unclamping button.
What the action of default macro instruction was button presses, and unclamps action, and presses the time interval of unclamping, and macro instruction can be single action, can be also the set of set.Keyboard is by reading default macro instruction set successively according to the origination interval time of record, and frequency is uploaded to the PC system by the macro instruction interface by the macroefficiency instruction.
Wherein, the method that described keyboard macroefficiency is uploaded also comprises: set up and store the key command programmable button code set corresponding with keyboard-coding information.
Encoded keyboard mainly relies on the large scale integrated circuit of a special use to complete scanning, coding, transmitting function.A complete keyboard control circuit is comprised of key mapping matrix, clock generator and main IC.The key mapping matrix is produced on circuit board, and clock generator is used for producing a series of regular pulses, and it determines the frequency of main IC scanning key bit matrix, and the rhythm and pace of moving things that all job steps of keyboard control circuit all will be sent here by the clock generator carries out.The continual pulsed frequency that main IC sends here according to clock generator, to the row or column of key mapping matrix, send sweep signal by row or column; After certain key is pressed, the testing circuit of the row or column direction that corresponding sweep signal will be intersected with it finds and produces the commissure signal, this commissure signal deciding the coordinate position of this key; The commissure signal is sent into main IC, just produce the coded message of this key after its in-line coding circuit, as ASCII character.
Nonencoded keyboard does not directly provide the coded message of button, but adopts comparatively simple hardware and a set of specific program to come the position of key range.Nonencoded keyboard utilizes the hardware under software-driven to complete such as scanning, coding, transmitting function, and this program is referred to as the keyboard handling procedure.Whole keyboard handling procedure is comprised of polling routine, convey program, translator three parts.At first master routine calls polling routine, by the query interface key mapping matrix of lining by line scan, detects the output of ranks simultaneously, is determined the coordinate of certain closed key by row and the commissure signals of row, obtains the scan code corresponding by button; Master routine calls convey program and the scan code obtained is sent to the keyboard interface circuit that is positioned at main frame; Master routine calls translator and the scan code in keyboard interface is translated as to the coded message of corresponding key.
Wherein, the macro operation sequence in described default macro instruction set comprises to main frame and obtains keyboard LED state macro operation sequence or to main frame, do not obtain keyboard LED state macro operation sequence.
Obtain the keyboard LED state to main frame, be the state that obtains numeric keypad on keyboard locking lamp and capitalization locking lamp to main frame.
The embodiment of the present invention utilizes the USB device of keyboard to enumerate two keyboard interfaces, be respectively key command interface for uploading key command and for uploading the macro instruction interface of macroefficiency instruction, without increasing the USB interface entity, just can realize that key command is inputted and the macroefficiency instruction is uploaded simultaneously, implementation is simple, do not need complicated mechanism to carry out the differentiation of keyboard input and macro instruction, simple to operate, user-friendly.
Below the embodiment of the device uploaded of the keyboard macroefficiency that provides for the embodiment of the present invention.The embodiment of the method that the embodiment of the device that the keyboard macroefficiency is uploaded and above-mentioned keyboard macroefficiency are uploaded belongs to same design, the detail content of detailed description not in the embodiment of the device that the keyboard macroefficiency is uploaded, the embodiment of the method that can upload with reference to above-mentioned keyboard macroefficiency.
The structural representation of the device that the keyboard macroefficiency provided for the embodiment of the present invention 3 as shown in Figure 3, is uploaded;
The device that a kind of keyboard macroefficiency is uploaded, comprise the usb data transmission channel between keyboard and main frame enumerated to the key command interface 301 with transmission keyboard-coding function obtained and the macro instruction interface 302 with transmission macro operation functional nucleotide sequence;
Described key command interface 301 is for uploading described pending keyboard-coding to main frame; Described macro instruction interface 302 is for uploading described pending macro operation sequence to main frame;
Also comprise:
Receive key command unit 303: for by keyboard, obtaining key command,
Resolve key command unit 304: for resolving described key command and extracting corresponding pending keyboard-coding from the programmable button code set,
Receive macroefficiency command unit 305: for receiving the macroefficiency instruction,
Resolve macroefficiency command unit 306: for resolving described macroefficiency instruction and extracting corresponding pending macro operation sequence from default macro instruction set,
The device that a kind of keyboard macroefficiency is uploaded, the USB device of keyboard is enumerated respectively key command interface for uploading key command and for uploading the macro instruction interface of macroefficiency instruction, when the user carries out key command input and macroefficiency instruction simultaneously and uploads, key command interface and macro instruction interface is transmission information in the usb data transmission channel between keyboard and main frame respectively, two actions do not interfere with each other, carry out simultaneously, improve keyboard transmission data efficiency.
The structural representation of the device that the keyboard macroefficiency provided for the embodiment of the present invention 4 as shown in Figure 4, is uploaded.The present embodiment has increased driver element, default macroinstruction set symphysis becomes unit and programmable button code set generation unit.
The device that a kind of keyboard macroefficiency is uploaded, comprise the usb data transmission channel between keyboard and main frame enumerated to the key command interface 301 with transmission keyboard-coding function obtained and the macro instruction interface 302 with transmission macro operation functional nucleotide sequence;
Described key command interface 301 is for uploading described pending keyboard-coding to main frame; Described macro instruction interface 302 is for uploading described pending macro operation sequence to main frame;
Also comprise:
Receive key command unit 303: for by keyboard, obtaining key command,
Resolve key command unit 304: for resolving described key command and extracting corresponding pending keyboard-coding from the programmable button code set,
Receive macroefficiency command unit 305: for receiving the macroefficiency instruction,
Resolve macroefficiency command unit 306: for resolving described macroefficiency instruction and extracting corresponding pending macro operation sequence from default macro instruction set,
Wherein, the device that described keyboard macroefficiency is uploaded also comprises driver element 401: for sending, drive the instruction of command triggers macroefficiency.
Wherein, the device that described keyboard macroefficiency is uploaded also comprises that default macroinstruction set symphysis becomes unit 402: for the corresponding default macro instruction set of operation information of setting up and storing macro operation sequence and the pressing keys obtained by keyboard, pressing keys duration and unclamping button.
Wherein, the device that described keyboard macroefficiency is uploaded also comprises programmable button code set generation unit 403: for setting up and store the key command programmable button code set corresponding with keyboard-coding information.
The embodiment of the present invention utilizes the USB device of keyboard to enumerate two keyboard interfaces, be respectively key command interface for uploading key command and for uploading the macro instruction interface of macroefficiency instruction, without increasing the USB interface entity, just can realize that key command is inputted and the macroefficiency instruction is uploaded simultaneously, implementation is simple, do not need complicated mechanism to carry out the differentiation of keyboard input and macro instruction, simple to operate, user-friendly.
Obviously, those skilled in the art should be understood that, above-mentioned each modular device of the present invention and each step can realize with general calculation element, they can concentrate on single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can realize with the executable program code of computer installation, thereby they can be stored in memory storage and be carried out by calculation element, perhaps they are made into respectively to each integrated circuit modules, perhaps a plurality of modules in them or step being made into to the single integrated circuit module realizes.Like this, the present invention is not restricted to the combination of any specific hardware and software.
Above content is only preferred embodiment of the present invention, for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, and this description should not be construed as limitation of the present invention.
Claims (10)
1. the method that the keyboard macroefficiency is uploaded, is characterized in that, comprising:
Usb data transmission channel between keyboard and main frame is enumerated to the key command interface for having transmission keyboard-coding function and had the macro instruction interface that transmits the macro operation functional nucleotide sequence;
Obtain key command by keyboard, resolve described key command and extract corresponding pending keyboard-coding from the programmable button code set, by the key command interface, upload described pending keyboard-coding to main frame;
Receive the macroefficiency instruction, resolve described macroefficiency instruction and extract corresponding pending macro operation sequence from default macro instruction set, by the macro instruction interface, upload described pending macro operation sequence to main frame.
2. the method that keyboard macroefficiency according to claim 1 is uploaded, is characterized in that, described macroefficiency instruction triggers by key command or by driving command triggers.
3. the method that keyboard macroefficiency according to claim 1 is uploaded, is characterized in that, before the instruction of described reception macroefficiency, also comprises: by key command, open macroefficiency or open macroefficiency by the driving order.
4. the method that keyboard macroefficiency according to claim 1 is uploaded, it is characterized in that, also comprise: the corresponding default macro instruction set of operation information of setting up and storing macro operation sequence and the pressing keys obtained by keyboard, pressing keys duration and unclamping button.
5. the method that keyboard macroefficiency according to claim 1 is uploaded, is characterized in that, also comprises: set up and store the key command programmable button code set corresponding with keyboard-coding information.
6. the method that keyboard macroefficiency according to claim 1 is uploaded, is characterized in that, the macro operation sequence in described default macro instruction set comprises to main frame to be obtained keyboard LED state macro operation sequence or to main frame, does not obtain keyboard LED state macro operation sequence.
7. the device that the keyboard macroefficiency is uploaded, is characterized in that, comprises the usb data transmission channel between keyboard and main frame is enumerated to the key command interface with transmission keyboard-coding function obtained and the macro instruction interface with transmission macro operation functional nucleotide sequence;
Described key command interface is for uploading described pending keyboard-coding to main frame; Described macro instruction interface is for uploading described pending macro operation sequence to main frame;
Also comprise:
Receive the key command unit: for by keyboard, obtaining key command,
Resolve the key command unit: for resolving described key command and extracting corresponding pending keyboard-coding from the programmable button code set,
Receive the macroefficiency command unit: for receiving the macroefficiency instruction,
Resolve the macroefficiency command unit: for resolving described macroefficiency instruction and extracting corresponding pending macro operation sequence from default macro instruction set.
8. the device that keyboard macroefficiency according to claim 7 is uploaded, is characterized in that, also comprises:
Driver element: for sending, drive the instruction of command triggers macroefficiency.
9. the device that keyboard macroefficiency according to claim 7 is uploaded, is characterized in that, also comprises:
Default macroinstruction set symphysis becomes unit: for the corresponding default macro instruction set of operation information of setting up and storing macro operation sequence and the pressing keys obtained by keyboard, pressing keys duration and unclamping button.
10. the device that keyboard macroefficiency according to claim 7 is uploaded, is characterized in that, also comprises:
Programmable button code set generation unit: for setting up and store the key command programmable button code set corresponding with keyboard-coding information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310404900.8A CN103455456B (en) | 2013-09-06 | 2013-09-06 | The method and apparatus that a kind of keyboard macroefficiency is uploaded |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310404900.8A CN103455456B (en) | 2013-09-06 | 2013-09-06 | The method and apparatus that a kind of keyboard macroefficiency is uploaded |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103455456A true CN103455456A (en) | 2013-12-18 |
CN103455456B CN103455456B (en) | 2016-08-17 |
Family
ID=49737846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310404900.8A Expired - Fee Related CN103455456B (en) | 2013-09-06 | 2013-09-06 | The method and apparatus that a kind of keyboard macroefficiency is uploaded |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103455456B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104049767A (en) * | 2014-05-19 | 2014-09-17 | 技嘉科技股份有限公司 | Input system for triggering and starting macros |
CN108829446A (en) * | 2018-06-04 | 2018-11-16 | 张剑飞 | The method for realizing peripheral hardware macroefficiency based on bluetooth HID |
CN111408127A (en) * | 2019-01-04 | 2020-07-14 | 深圳市慧嘉智科技有限公司 | Method and system for setting game control macro |
CN111930184A (en) * | 2020-10-13 | 2020-11-13 | 飞天诚信科技股份有限公司 | Method, device and system for realizing external equipment simulation keyboard |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5420943A (en) * | 1992-04-13 | 1995-05-30 | Mak; Stephen M. | Universal computer input device |
CN101364152A (en) * | 2008-09-11 | 2009-02-11 | 白金颖 | Method, system and mouse capable of implementing custom mouse button function |
CN101414221A (en) * | 2008-10-31 | 2009-04-22 | 深圳市神舟电脑股份有限公司 | Method for implementing user-defined function of keyboard shortcut key |
US20120023268A1 (en) * | 2010-07-20 | 2012-01-26 | Huang Haw-Kae | Keyboards providing macro functions and macro function setting method using the same, and computer program products thereof |
-
2013
- 2013-09-06 CN CN201310404900.8A patent/CN103455456B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5420943A (en) * | 1992-04-13 | 1995-05-30 | Mak; Stephen M. | Universal computer input device |
CN101364152A (en) * | 2008-09-11 | 2009-02-11 | 白金颖 | Method, system and mouse capable of implementing custom mouse button function |
CN101414221A (en) * | 2008-10-31 | 2009-04-22 | 深圳市神舟电脑股份有限公司 | Method for implementing user-defined function of keyboard shortcut key |
US20120023268A1 (en) * | 2010-07-20 | 2012-01-26 | Huang Haw-Kae | Keyboards providing macro functions and macro function setting method using the same, and computer program products thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104049767A (en) * | 2014-05-19 | 2014-09-17 | 技嘉科技股份有限公司 | Input system for triggering and starting macros |
CN108829446A (en) * | 2018-06-04 | 2018-11-16 | 张剑飞 | The method for realizing peripheral hardware macroefficiency based on bluetooth HID |
CN111408127A (en) * | 2019-01-04 | 2020-07-14 | 深圳市慧嘉智科技有限公司 | Method and system for setting game control macro |
CN111930184A (en) * | 2020-10-13 | 2020-11-13 | 飞天诚信科技股份有限公司 | Method, device and system for realizing external equipment simulation keyboard |
Also Published As
Publication number | Publication date |
---|---|
CN103455456B (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105027449B (en) | The method and input equipment of the input module of startup for determining input equipment | |
CN103455456A (en) | Method and device for keyboard megafunction uploading | |
TWI529535B (en) | Resource sharing devices | |
US5977886A (en) | Systems and methods for communicating between a user input device and an application using adaptively selected code sets | |
CN102622094A (en) | Remote management system, multi-computer switcher and remote management method | |
US8260988B2 (en) | PS/2 to USB keyboard adaptor supporting N-key rollover | |
CN101981903A (en) | 12-key QWERTY text entry method | |
CN102693196A (en) | Memory controller address and data pin multiplexing | |
CN103390341A (en) | Touch technology-based universal infrared learning remote-control device and control method thereof | |
CN104900045A (en) | Signal transmission method, electronic devices and control system | |
CN204229149U (en) | Touch key-press driving circuit and the control desk be made up of it | |
CN103035273A (en) | Device by utilizing knob type digital coding switch for switching audio files | |
CN101625600B (en) | Input method using characters of keypad | |
CN105144038B (en) | The method and apparatus that a kind of keyboard coding uploads simultaneously | |
CN1220941C (en) | Method for realizing computer multi-functional starting up | |
US20190377699A1 (en) | Analog industrial control systems anti-detection architecture and method | |
CN206757550U (en) | Keyboard circuit without Ghost Key | |
CN100468289C (en) | Mobile storage method, system and equipment with wireless communication control function | |
CN100449467C (en) | Mouse and its signal inputting method | |
CN105204792B (en) | The information extraction of printer control panel and resolver and method, printer system | |
JP3232268U (en) | Separate keyboard structure | |
CN110069141A (en) | A kind of keyboard display method, keyboard and electronic equipment | |
KR100353878B1 (en) | The extended Keypad Controller and the controlling method | |
CN214896281U (en) | Infrared learning, storage and sending circuit based on infrared communication | |
CN112675532B (en) | PC palm machine control method and device, PC palm machine and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160817 Termination date: 20180906 |
|
CF01 | Termination of patent right due to non-payment of annual fee |