CN106020507B - Computer input device sub-assembly - Google Patents

Computer input device sub-assembly Download PDF

Info

Publication number
CN106020507B
CN106020507B CN201610495577.3A CN201610495577A CN106020507B CN 106020507 B CN106020507 B CN 106020507B CN 201610495577 A CN201610495577 A CN 201610495577A CN 106020507 B CN106020507 B CN 106020507B
Authority
CN
China
Prior art keywords
keyboard
mouse
built
key
control chip
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.)
Active
Application number
CN201610495577.3A
Other languages
Chinese (zh)
Other versions
CN106020507A (en
Inventor
左莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610495577.3A priority Critical patent/CN106020507B/en
Publication of CN106020507A publication Critical patent/CN106020507A/en
Application granted granted Critical
Publication of CN106020507B publication Critical patent/CN106020507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03541Mouse/trackball convertible devices, in which the same ball is used to track the 2D relative movement

Abstract

The present invention relates to a kind of computer input device sub-assembly, including matching used keyboard and mouse, the keyboard is equipped with game mode selection key, keyboard game function keys;The mouse is equipped with mouse game mode and recycles selection key;Game mode selection key and mouse game mode circulation selection key are convenient for user that the operating mode of computer keyboard, mouse is intuitively selected to work under different software to make it fit, and are provided with operating mode instruction device matched with above-mentioned selection key.Selection key is recycled by operating above-mentioned game mode selection key and mouse game mode, keyboard, mouse built-in control software can be according to the user's choice, it calls and is stored in keyboard, the keyboard of different address section, mouse control software configuration file in mouse internal memory, to generate best operating effect.Which is particularly suitable for the multi-users' common keyboard such as Internet bar, mouse the case where.

Description

Computer input device sub-assembly
Technical field
The present invention relates to computer input units, and in particular to a kind of computer keyboard and a kind of computer mouse composition Computer input device sub-assembly.
Background technique
Keyboard, mouse are widely used as computer input device.Currently, computer keyboard is according to signal The difference for generating device mainly has silica gel thin film formula keyboard and two kinds of mechanical keyboard, such as the G510 keyboard of sieve skill brand is silica gel Thin film type keyboard, and the keyboard of the model MGU006USB of TT brand is mechanical keyboard.There are also a kind of imitative machines currently on the market Tool keyboard, the elastic element and signal generation apparatus below key are identical with silica gel thin film formula keyboard, but in certain structures The design of mechanical keyboard is had references to, can be obtained preferably using feel, the model machinery war first that FlashGet company produces Keyboard be exactly this respect representative.And according to the connection type of keyboard and computer, wired keyboard and Wireless Keyboard can be divided into Two kinds, wired keyboard common are PS2 interface and two kinds of USB interface keyboard, and the signal transmission assembly of both keyboards is connection One end of line, connecting line can be plugged on the corresponding interface of computer main board, other end welding or slotting by electronic connector It connects on the circuit board of keyboard, to make the available power supply of keyboard and transmission signal.Wireless Keyboard mainly have 2.4G without Line keyboard or bluetooth Wireless Keyboard, their keyboard signal transmission assembly are corresponding wireless signal transceiver.Computer Mouse is mainly optical mouse, including LED light source optical mouse and laser light source optical mouse at present;LED light source optical mouse LED light emitting device is individually equipped with as light source, and the light source of laser light source optical mouse is generally integrated in mouse optical chip. According to the connection type of mouse and computer, wire mouse and two kinds of wireless mouse can be divided into.Wire mouse common are PS2 and connect Mouthful and two kinds of USB interface, the signal transmission assemblies of both mouses is connecting line, and one end of connecting line can be plugged on computer master On the corresponding interface of plate, the other end is welded or is plugged on the circuit board of mouse by electronic connector, to make mouse can To obtain power supply and transmission signal.Wireless mouse mainly has 2.4G wireless mouse or blue-tooth radio-mouse, their mouse Mark signal transmission assembly is corresponding wireless signal transceiver.
With becoming increasingly abundant for computer software, not only common office, life kind software are more and more abundant, simultaneous computer Games Software is also more and more.Computer game mainly includes action game, Fighting Game (FTG), shooting game, policy class Game and Role Playing Game etc., every one kind game have a lot of products for users to use.With Computer display technology And equipment and other computer technologies is increasingly developed, the operation of computer game is also more and more many and diverse, it is desirable that higher and higher. This primary input device keyboard and mouse just used user proposes increasingly higher demands.
In order to adapt to the needs of computer game development, occur keyboard, the mouse of many game class in the market.They Outstanding feature is that have preferable basic property, while increasing the built-in control software of keyboard and mouse, to be suitble to user in difference Game under set the different operating mode of keyboard, mouse, to obtain optimal using effect.
For example, mouse can set sensitivity, the return rate of mouse by manipulating the drive software of mouse on computers Etc. parameters, the operating function of each key can also be set, it might even be possible to for each key record macro-instruction, by setting These relevant mouse action mode settings can be stored in the electrically-erasable memory of mouse embedded micro-processor (MCU), on Stating the file that storage is formed is commonly referred to as mouse configuration file.Control software when user's operation mouse, in mouse built-in MCU Corresponding message can be generated according to the setting in above-mentioned configuration file, issue corresponding input signal to computer.For example, user The function of clicking the 4th key of mouse is set by computer terminal drive control software for after ALT+D, which can be stored in mouse In the respective field for marking the configuration file in the electrically-erasable memory in built-in MCU.When the user clicks when four key of mouse, The setting in the mouse button functions configuration file in control software meeting foundation electrically-erasable memory in mouse built-in MCU, Message input signal when converting the signals to keyboard ALT key and D key while pressing, is transferred to computer.Such as Jijia's product The mouse of the G1 model of board is exactly the HT82F553 for the HOLTEK brand produced using Taiwan Shengqun Semiconductor Co., Ltd Built-in MCU of the chip as mouse is stored with control software in the in-built electrical scratch pad memory of HT82F553 chip, can be with Complete above-mentioned function.
And keyboard can also be by keyboard driver software on computers come the built-in control in manipulation keyboard main control MCU Different operating functions is arranged for the game function keys on keyboard in software, or and these game function keys record macro-instruction, Its principle is similar with mouse.The G510 keyboard of Logitech Company has the function, and the game function of G1 to G18 is labeled on keyboard Key is exactly can be by the function button of user's sets itself function.In order to be further simplified the operation of user, sieve skill G510 keyboard, The setting file of three groups of game function keys can also be stored in the electrically-erasable memory of main control MCU built in keyboard, these are matched It sets in the different address section for being stored in electrically-erasable memory, by tri- control keys of M1, M2, M3 on keyboard, controls software Can depending on the user's operation, the configuration file for selecting the storage of some address field carrys out work, to be suitble to user under different game Use.The HT68FB560 chip for the HOLTEK brand that Taiwan Shengqun Semiconductor Co., Ltd produces can be as keyboard Built-in main control MCU, complete above-mentioned function.HT68FB560 chip can also be limited by control Taiwan Sheng Qun semiconductor share The HT68F40 chip for the HOLTEK brand that company produces, and then the light emitting diode (LED) being arranged on control keyboard, to play Light decoration or the function of indicating keyboard working condition.
Chinese patent literature CN101158885A discloses that application No. is 200710163738, entitled one kind can customize The patent of keyboard and its implementation is related to a kind of gamepad.But the keyboard needs user special according to some of keyboard Determine key or mode of operation custom feature to be arranged one by one, complicated operation for these, not only need on computers into The more complicated operation of row, and in the shared hardware equipment as Internet bar, since the upper machine user of Internet bar is not fixed use A certain computer, the above user be stored in the setting in keyboard and be not necessarily suitable for next user and use.
And restarting every time for Internet bar's computer can all allow computer to be in same original state, and user is if it is desired to reach good Good keyboard and mouse using effect, needs often to reset keyboard or mouse, wastes time very much.And Internet bar personnel flow Dynamic property is very big, and upper machine total number of users is very big, teaches these users using certain keyboard or the drive software of mouse, for Internet bar It is a many and diverse job, larger workload for staff.
The software kit of current some computer sound cards, can choose the audio mode of sound card, such as can provide SRS void Near-ring is around audio.The virtual surrounding effect is needed when user runs some Games Softwares, and not when listening to music, seeing video Need the virtual surrounding effect.Virtual surrounding effect whether is enabled at present, complicated operation, and whether the effect has opened With user cannot be apparent ground conveniently and fast observing, make troubles to the use of user.
Summary of the invention
The technical problem to be solved in the present invention is to provide one kind can the convenient keyboard and mouse for setting multiple-working mode The computer input device sub-assembly of composition.
Realize that one of the technical solution of the object of the invention is to provide a kind of computer keyboard, including conventional keypad main body, often Rule keyboard body include upper cover, lower cover, keyboard signal transmission assembly, pressing signal formation component, Keyboard Control integrated circuit, PCB circuit board, standard computer keyboard key and QWERTY keyboard indicator light;It is characterized by also including M keyboard game modes It indicator light and is indicated with the one-to-one keyboard game mode indicator light of keyboard game mode indicator light, which can be text Word, symbol or pattern, to indicated to user be corresponding to the indicator light which seed type game, which kind of specific game Or other operating modes required for certain user, M are positive integers in addition to game;M group is suitble to the configuration text of different working modes The M for being set as 1 to No. M that part also is stored in the internal or external electrically-erasable memory of Keyboard Control integrated circuit is a different In address field, M configuration file is corresponded with configuration file needed for corresponding software and " default ".
Further, keyboard further includes keyboard game mode circulation selection key and at least one keyboard game function keys, key The left of standard computer keyboard key master keypad is arranged in board game function key;
The position that each keyboard game mode indicator light is indicated with corresponding keyboard game mode indicator light is corresponding, Mei Gejian Board game mode indicating lamp is located near corresponding keyboard game mode indicator light mark;Keyboard game mode indicator light and phase The upper left side of standard computer keyboard key master keypad is arranged in the instruction area for the keyboard game mode indicator light mark composition answered.
Further, keyboard further includes that keyboard game mode directly selects key group and at least one keyboard game function keys, The left of standard computer keyboard key master keypad is arranged in keyboard game function keys;
It includes that M keyboard game mode directly selects key, each keyboard game that keyboard game mode, which directly selects key group, It is backlight display key that mode, which directly selects key, and each LED light of keyboard game mode indicator light is arranged corresponding Keyboard game mode directly selects below each keycap of key group;The mould that keyboard game mode indicator light mark is shown using light transmission Formula is arranged in keyboard game mode and directly selects on the corresponding keycap of key group;In this way when user presses a certain keyboard game mode After the key for directly selecting key group, the keyboard game mode indicator light below the key cap of key set highlights key representative Keyboard operating mode is selected, and the keyboard game mode indicating light sign that specific mode is shown by light transmission, which shows, to be marked.
Further, above-mentioned keyboard is additionally provided with keyboard sound card operating mode selection key, the selection of keyboard sound card operating mode Key is backlight key, and equipped with the LED backlight indicator light for solely belonging to the key, the symbol on key is sound card Working mould Formula;When user's pressing operation keyboard sound card operating mode selection key, computer is in the upload for receiving aforesaid operations generation After message, computer can control the operating mode of sound card according to the setting in computer terminal keyboard driver to meet use The needs at family, when the operating mode of sound card is enables mode that keyboard sound card operating mode selection key is indicated, the key LED backlight indicator light can be shown with mode outstanding.
Further, the pressing signal formation component of keyboard includes conductive film component and silica gel elastic body component;Work as key When some key press of disk, the contact of the corresponding layer printed circuit up and down of conductive film component can be connected, at this moment built in keyboard The variation for the C1-C17 and R1-R8 port scan signal that Master control chip is generated according to the conducting, judges to be which key The pressing of generation changes.
Further, the circuit matrix that the pressing signal formation component of keyboard uses keyboard to be formed with mechanical switch;Key Each keycap of disk is arranged with a keyboard mechanical switch, keyboard with mechanical switch weld on circuit boards, when with When family presses some keyboard mechanical switch, the reed built in the switch can generate conducting variation, which changes by key To rear, the built-in control software of Master control chip built in keyboard can be with generating operation according to the signal for Master control chip scanning built in disk Or message transmissions are generated to connected computer.
Realize a kind of the two of the technical solution of the object of the invention working method for being to provide above-mentioned computer keyboard: keyboard control Integrated circuit processed includes Master control chip built in keyboard and its peripheral circuit, LED light emitting control chip and its peripheral circuit;Keyboard Built-in Master control chip passes through the matrix circuit of C1-C17 and R1-R8 port scan keyboard pressing signal formation component, according to this The conducting situation of each contact of scanning result judgement pressing signal formation component;When some key press of keyboard, built in keyboard The variation for the C1-C17 and R1-R8 port scan signal that Master control chip can be generated according to the conducting, judges which is The pressing variation that key occurs;The built-in control software of Master control chip built in keyboard can be with generating corresponding operation according to the signal Or corresponding message is generated, the message generated can be by the port USBD+ and USBD- of Master control chip built in keyboard through key Disk signal transmission assembly is sent to the computer that the keyboard is connected;
After user's booting, computer terminal keyboard drive control program will start operation, keyboard obtain it is electric after lead built in keyboard The built-in control software of chip is controlled, the built-in LED light photocontrol software of LED light emitting control chip starts operation;Computer terminal The initialization subroutine of keyboard can be first carried out after keyboard driver starting, when detecting new key events, The port USBD+ and USBD- of Master control chip built in the keyboard signal transmission assembly to the keyboard of keyboard that computer passes through keyboard Send opening initialization data;When computer is sent to Master control chip built in keyboard for 1 to M configuration file, built in keyboard Master control chip receives 1 to after M configuration file by itself port USBD+ and USBD-, covers its in-built electrical with these files Original 1 is set as in 1 to No. M different address field of M in scratch pad memory to M configuration file;In this way, built in keyboard 1 to M configuration file in main control chip is consistent with 1 to M configuration file in computer terminal drive control program;
After completing keyboard initial work, computer issues N configuration file selection instruction to keyboard, and N ∈ M enables key Master control chip selection is stored in the N configuration file of N address field in its in-built electrical scratch pad memory built in the keyboard of disk For work at present file;After LED light emitting control chip receives the light emitting control instruction for selecting the configuration file of certain No.1, LED Light emitting control chip controls respective keys backlight LED luminous matrix issues matched light, to be directed to corresponding software or game Control button backlight LED luminous matrix makes special shine;
When user presses the game mode selection key of keyboard, game mode selection key pushes so that pressing signal generation group Part generates Continuity signal, after Master control chip built in keyboard is changed by the port C1-C17 and R1-R8 port scan to the conducting, Its built-in control software can generate message according to the signal, which includes game mode selection key pressing signal and current-configuration Reference number of a document, by the port USBD+ and USBD- of Master control chip built in keyboard through keyboard signal transmission assembly, by the message It is sent to computer;It, can be according to master control built in current keyboard after computer terminal drive control program receives the message and parses The number of configuration file used in control software in coremaking piece is selected by the configuration file that circulation incremental order generates lower No.1 It selects instruction and is sent to keyboard;
When computer is restarted, after the starting of computer terminal keyboard driver, keyboard is again at standard state, user according to Oneself want using software, select oneself institute's operating mode to be used again by the game mode selection key on keyboard; If the software used needed for user is not in the mode prestored or when user is without the use of predetermined software, user may be used also To select default conditions by game mode selection key, user can run corresponding keyboard driver software by computer at this time Each keyboard game function keys to be arranged one by one.
Further, the detailed operation of above-mentioned keyboard is as follows:
Steps are as follows for the course of work of the initialization subroutine of keyboard:
Step 210: starting;
Step 220: computer passes through the USBD+ and USBD- of Master control chip built in keyboard signal transmission assembly to keyboard Port sends keyboard initial configuration file;The initialization files include 1 to M configuration file of all keys of keyboard;
Step 230: Master control chip built in keyboard will be matched receive 1 to No. M by itself port USBD+ and USBD- It sets file to store into its in-built electrical scratch pad memory in M different address fields for being set as 1 to No. M, to cover in it Original 1 is set in electrically-erasable memory to M configuration file;
Step 240: terminating;
Steps are as follows for the course of work of the N configuration file selection subprogram of keyboard:
Step 10: starting;
Step 20: computer by the USBD+ of Master control chip built in keyboard signal transmission assembly to the keyboard of keyboard and The port USBD- sends N configuration file selection instruction;
Step 30: Master control chip built in keyboard will receive the choosing of N configuration file by itself port USBD+ and USBD- Instruction is selected, sets the N configuration file of N address field in its in-built electrical scratch pad memory as work at present file;
Step 40: Master control chip built in keyboard generates N number key board game mode indicating lamp and lights instruction;
Step 50: Master control chip built in keyboard passes through SPI of its SPI communication bus port to LED light emitting control chip The N number key board game mode indicating lamp generated of communication bus port sending step 40 lights instruction;
The N number key board game mode indicating lamp that step 60:LED light emitting control chip is generated according to step 50 lights instruction, Corresponding lumination of light emitting diode control signal is generated, and is issued by its LR1 to the port LR8 and LC1;
The control signal that the port LR1 to LR8 and LC1 of step 70:LED light emitting control chip issues, via MOS-P and MOS-N circuit drives, the luminance of control keyboard game mode indicator light make wherein to correspond to the key at N configuration file Board game mode indicating lamp is in the state selected, so that fit key board game mode indicating lamp indicates, indicates key at this time The suitable software of disk;
Step 80: terminating;Keyboard is in standby at this time;Keyboard at this time is suitable in keyboard game mode indicator light The software that luminous N LED light institute protrusion indicates;When certain of keyboard of user's pressing including keyboard game function keys is pressed When key, the control software of Master control chip built in keyboard can be pressed signal and be converted into according to the setting in N configuration file The input signal of setting, and then form corresponding message and computer is sent to by keyboard signal transmission assembly.
That realizes the technical solution of the object of the invention three is to provide a kind of computer input device sub-assembly, including mating makes Keyboard and mouse, wherein keyboard includes conventional keypad main body, and conventional keypad main body includes upper cover, lower cover, keyboard signal biography Defeated component, pressing signal formation component, Keyboard Control integrated circuit, PCB circuit board, standard computer keyboard key and standard key Disk indicator light;Mouse includes conventional mice main body, and conventional mice main body includes the shell, key, microswitch, volume of general mouse Code device and idler wheel, mouse signal transmission assembly, optical chip, built-in main control chip, peripheral circuit, circuit board, optical lens and Light source;
Keyboard further include M keyboard game mode indicator light and with the one-to-one keyboard of keyboard game mode indicator light Game mode indicator light mark, M is positive integer;M group is suitble to the configuration file of different working modes also to be stored in key built in keyboard Disk controls in the M for being set as 1 to No. M different address fields of the internal or external electrically-erasable memory of integrated circuit, and M Configuration file is corresponded with configuration file needed for corresponding software and " default ";
The mouse further includes mouse game mode circulation selection key;Key includes mouse side switch, left button and right button;Mouse The built-in control software of target is stored in the in-built electrical scratch pad memory of built-in main control chip, and M group is suitble to different working modes Mouse side switch configuration file also be stored in the M for being set as 1 to No. M of in-built electrical scratch pad memory of built-in main control chip not In same address field.
Further, keyboard further includes keyboard game mode circulation selection key and at least one keyboard game function keys, key The left of standard computer keyboard key master keypad is arranged in board game function key;
The position that each keyboard game mode indicator light is indicated with corresponding keyboard game mode indicator light is corresponding, Mei Gejian Board game mode indicating lamp is located near corresponding keyboard game mode indicator light mark;Keyboard game mode indicator light and phase The upper left side of standard computer keyboard key master keypad is arranged in the instruction area for the keyboard game mode indicator light mark composition answered.
Further, keyboard further includes that keyboard game mode directly selects key group and at least one keyboard game function keys, The left of standard computer keyboard key master keypad is arranged in keyboard game function keys;
It includes that M keyboard game mode directly selects key, each keyboard game that keyboard game mode, which directly selects key group, It is backlight display key that mode, which directly selects key, and each LED light of keyboard game mode indicator light is arranged corresponding Keyboard game mode directly selects below each keycap of key group;The mould that keyboard game mode indicator light mark is shown using light transmission Formula is arranged in keyboard game mode and directly selects on the corresponding keycap of key group;In this way when user presses a certain keyboard game mode After the key for directly selecting key group, the keyboard game mode indicator light below the key cap of key set highlights key representative Keyboard operating mode is selected, and specific mode can be shown by the keyboard game mode indicating light sign indicating that light transmission is shown Come;
When user directly selects a certain key of key group by pressing keyboard game mode, certain Working mould has been selected Formula, computer after receiving the instruction, can by way of sending corresponding configuration file selection instruction to mating mouse, Keep the operating mode of mouse synchronous with keyboard holding.
Further, the pressing signal formation component of keyboard includes conductive film component and silica gel elastic body component;Work as key When some key press of disk, the contact of the corresponding layer printed circuit up and down of conductive film component can be connected, at this moment built in keyboard The variation for the C1-C17 and R1-R8 port scan signal that Master control chip is generated according to the conducting, judges to be which key The pressing of generation changes.
Further, the circuit matrix that the pressing signal formation component of keyboard uses keyboard to be formed with mechanical switch;Key Each keycap of disk is arranged with a keyboard mechanical switch, and keyboard mechanical switch welds or be plugged on circuit board On, when user presses some keyboard mechanical switch, the reed built in the switch can generate conducting variation, which becomes Changing the Master control chip scanning built in keyboard, to rear, the built-in control software of Master control chip built in keyboard can be with producing according to the signal Raw operation generates message transmissions to connected computer.
Further, above-mentioned keyboard is additionally provided with keyboard sound card operating mode selection key, the selection of keyboard sound card operating mode Key is backlight key, and equipped with the LED backlight indicator light for solely belonging to the key, the symbol on key is sound card Working mould Formula;When user's pressing operation keyboard sound card operating mode selection key, computer is in the upload for receiving aforesaid operations generation After message, computer can control the operating mode of sound card according to the setting in computer terminal keyboard driver to meet use The needs at family, when the operating mode of sound card is enables mode that keyboard sound card operating mode selection key is indicated, the key LED backlight indicator light can be shown with mode outstanding.
Realize a kind of the four of the technical solution of the object of the invention work for being to provide above-mentioned computer input device sub-assembly Method: the Keyboard Control integrated circuit of keyboard includes Master control chip built in keyboard and its peripheral circuit, LED light emitting control chip And its peripheral circuit;Master control chip built in keyboard passes through C1-C17 and R1-R8 port scan keyboard pressing signal formation component Matrix circuit, according to the scanning result judge pressing signal formation component each contact conducting situation;When keyboard, some is pressed When key pressing, the on state of pressing signal formation component changes, and at this moment Master control chip built in keyboard can be according to C1- The variation of C17 and R1-R8 port scan signal judges it is that the pressing which key occurs changes;Main control built in keyboard The built-in control software of chip can be with generating corresponding operation according to the signal or generating corresponding message, the message meeting generated By the port USBD+ and USBD- of Master control chip built in keyboard through keyboard signal transmission assembly, it is sent to the keyboard and is connected Computer;
After user's booting, computer terminal keyboard and mouse drive control program will start operation, and keyboard and mouse obtain electric The built-in control software of Master control chip built in keyboard afterwards, the built-in LED light photocontrol software of LED light emitting control chip and mouse The built-in control software of main control chip built in target starts operation;It can be first after the starting of computer terminal keyboard and mouse driver The initialization subroutine for first carrying out keyboard and mouse, when detecting new keyboard or mouse configuration file, computer passes through Master control chip built in the keyboard signal transmission assembly of keyboard or the mouse signal transmission assembly to the keyboard of keyboard of mouse The port USBD+ and USBD- of the built-in main control chip of the port USBD+ and USBD- or mouse sends opening initialization data;Work as meter Calculation machine is sent to Master control chip built in keyboard keyboard for 1 to M configuration file, and Master control chip built in keyboard passes through its USBD + and 1 to the M configuration file that receives of the port USBD- after, covered in its in-built electrical scratch pad memory and be set as with these files Original 1 to M configuration file in 1 to No. M M different address fields;In this way, 1 to No. M built in keyboard in main control chip Configuration file can be consistent with 1 to M configuration file in computer terminal drive control program;When computer is by mouse side 1 to M configuration file file of key is sent to the built-in main control chip of mouse, and the built-in main control chip of mouse passes through its USBD+ And after the port USBD- receives 1 to M configuration file of the mouse side switch, electrically-erasable built in it is covered with these files and is deposited Original 1 is set as in 1 to No. M different address field of M in reservoir to M configuration file;In the built-in main control chip of mouse Mouse side switch 1 to M configuration file and computer terminal drive control program in mouse side switch 1 to M configuration file It can be consistent;
After completing keyboard and mouse initial work, computer issues N configuration file selection instruction, N ∈ to keyboard M, No. N for enabling Master control chip selection built in the keyboard of keyboard be stored in N address field in its in-built electrical scratch pad memory are matched Setting file is work at present file;Then, computer issues N configuration file selection instruction to mouse, enables the built-in master of mouse Control chip selection is stored in the N configuration file of the mouse side switch of the mouse of N address field in its in-built electrical scratch pad memory For work at present file;After LED light emitting control chip receives the light emitting control instruction for selecting the configuration file of certain No.1, LED Light emitting control chip controls key-press backlight LED luminous matrix issues matched light, to control for corresponding software or game Key-press backlight LED luminous matrix makes special shine;
When user presses the game mode selection key of keyboard, game mode selection key pushes so that pressing signal generation group Part generates conducting variation, after Master control chip built in keyboard is changed by the port C1-C17 and R1-R8 port scan to the conducting, Its built-in control software can generate message according to the signal, which includes game mode selection key pressing signal and current keyboard Profile-number will by the port USBD+ and USBD- of Master control chip built in keyboard through keyboard signal transmission assembly The message is sent to computer;It, can be according in current keyboard after computer terminal drive control program receives the message and parses The number for setting configuration file used in the control software in Master control chip is generated the configuration of lower No.1 by circulation incremental order File selection instruction is sent to keyboard and mouse;
User can also click on the circulation selection key of the mouse game mode on mouse to select required keyboard And the operating mode of mouse;When the user clicks when mouse game mode circulation selection key, the built-in main control chip of mouse is pressed Key signals input terminal receives the pressing signal, and the built-in main control chip of mouse generates message according to the signal, which includes Mouse game mode recycles the pressing signal of selection key and the mouse side switch profile-number N of current mouse, built-in master control Chip sends the signal to computer through mouse signal transmission assembly by itself port USBD+ and USBD-;Computer receives After the message and parsing, the configuration file of mouse side switch used in control software of the meeting according to built in current in main control chip is compiled Number N is sent to keyboard and mouse according to the configuration file selection instruction that circulation incremental order generates lower No.1.
Further, the detailed operation of keyboard and mouse is as follows:
Steps are as follows for the course of work of the initialization subroutine of keyboard:
Step 210: starting;
Step 220: computer is by keyboard signal transmission assembly, to the USBD+ and USBD- of Master control chip built in keyboard Port sends keyboard initial configuration file;The initialization files include 1 to M configuration file of all keys of keyboard;
Step 230: Master control chip built in keyboard will be matched receive 1 to No. M by itself port USBD+ and USBD- It sets file to store into its in-built electrical scratch pad memory in M different address fields for being set as 1 to No. M, to cover in it Original 1 is set in electrically-erasable memory to M configuration file;
Step 240: terminating;
Steps are as follows for the course of work of the initialization subroutine of mouse:
Step 110: starting;
Step 120: computer by built-in main control chip from mouse signal transmission assembly to mouse USBD+ and USBD- Port sends mouse initial configuration file;1 to M configuration file of the mouse side switch for the mouse that the initialization files include;
Step 130: the built-in main control chip of mouse is by the mouse of the mouse received by itself port USBD+ and USBD- 1 to M configuration file of side switch, which is stored into its in-built electrical scratch pad memory, is set as 1 to No. M different address field of M In, to cover 1 to M configuration file of the mouse side switch of original mouse in its in-built electrical scratch pad memory;
Step 140: terminating;
Steps are as follows for the course of work of the N configuration file selection subprogram of keyboard:
Step 10: starting;
Step 20: computer by the USBD+ of Master control chip built in keyboard signal transmission assembly to the keyboard of keyboard and The port USBD- sends N configuration file selection instruction;
Step 30: Master control chip built in keyboard will receive the choosing of N configuration file by itself port USBD+ and USBD- Instruction is selected, sets the N configuration file of N address field in its in-built electrical scratch pad memory as work at present file;
Step 40: Master control chip built in keyboard generates N number key board game mode indicating lamp and lights instruction;
Step 50: Master control chip built in keyboard passes through SPI of its SPI communication bus port to LED light emitting control chip The N number key board game mode indicating lamp generated of communication bus port sending step 40 lights instruction;
The N number key board game mode indicating lamp that step 60:LED light emitting control chip is generated according to step 50 lights instruction, Corresponding lumination of light emitting diode control signal is generated, and is issued by its LR1 to the port LR8 and LC1;
The control signal that the port LR1 to LR8 and LC1 of step 70:LED light emitting control chip issues, via MOS-P and MOS-N circuit drives, the luminance of control keyboard game mode indicator light make wherein to correspond to the key at N configuration file Board game mode indicating lamp is in the state selected, so that fit key board game mode indicating lamp indicates keyboard at this time Suitable software;
Step 80: terminating;Keyboard is in standby at this time;Keyboard at this time is suitable in keyboard game mode indicator light The software that luminous N LED light institute protrusion indicates;When certain of keyboard of user's pressing including keyboard game function keys is pressed When key, the control software of Master control chip built in keyboard can be pressed signal and be converted into according to the setting in N configuration file The input signal of setting, and then form corresponding message and computer is sent to by keyboard signal transmission assembly;
Steps are as follows for the course of work of the N configuration file selection subprogram of mouse:
Step 1: starting;
Step 2: computer by built-in main control chip from mouse signal transmission assembly to mouse the end USBD+ and USBD- Mouth sends N configuration file selection instruction;
Step 3: the built-in main control chip of mouse is selected the N configuration file received by itself port USBD+ and USBD- Instruction is selected, it is current for setting the N configuration file of its mouse side switch for being stored in N address field in in-built electrical scratch pad memory Working document;
Step 4: terminating;Mouse is in standby at this time;Mouse at this time is suitable for corresponding to the soft of N configuration file Part corresponds to the software that the LED light institute protrusion to shine in keyboard game mode indicator light indicates;When user presses mouse side When certain key in key, the control software in the built-in main control chip of mouse can be pressed according to the setting in N configuration file Pressure signal is converted into the input signal of setting, and then forms message and be sent to computer by mouse signal transmission assembly;
Further, the course of work key step of processing subroutine is such as when the game mode selection key of keyboard is pressed Under:
Step 10: starting;
Step 20: generating Continuity signal when user presses game mode selection key, when game mode selection key pushes and become Change, Master control chip built in keyboard is changed by the port C1-C17 and R1-R8 port scan to the conducting;
Step 30: the built-in control Program Generating game mode of Master control chip built in the keyboard of keyboard selects key pressing report Text, the message further include having built in current keyboard in Master control chip in addition to the information containing game mode selection key pressing Control the number N of configuration file used in software;
Step 40: Master control chip built in the keyboard of keyboard is generated by step 30 by itself port USBD+ and USBD- Message is sent to computer terminal drive control program;
Step 50: after computer terminal drive control program receives the message that step 40 is sent, parsing the message, obtain The number N of configuration file used in control software built in current keyboard in Master control chip;
Step 60: computer terminal drive control program judges whether N is equal to M, if being equal to M thens follow the steps 70, otherwise Execute step 80;
Step 70: after step 60 judges that N is equal to M, computer passes through master control built in keyboard signal transmission assembly to keyboard The port USBD+ and USBD- of coremaking piece issues No. 1 configuration file selection instruction;
Step 71: computer by built-in main control chip from mouse signal transmission assembly to mouse the end USBD+ and USBD- Mouth issues No. 1 configuration file selection instruction;
Step 80: after step 60 judges N not equal to M, computer passes through main built in keyboard signal transmission assembly to keyboard The port USBD+ and USBD- for controlling chip issues N+1 configuration file selection instruction;
Step 81: computer terminal drive control program is by mouse signal transmission assembly to the built-in main control chip of mouse The port USBD+ and USBD- issues N+1 configuration file selection instruction;
Step 90: terminating;
The course of work key step of processing subroutine is as follows when mouse game mode circulation selection key is pressed:
Step 10: starting;
Step 20: when user presses mouse game mode circulation selection key, the built-in main control chip of mouse is corresponding Input/output port receives the variation;
Step 30: the generation mouse game mode circulation selection key of the built-in main control chip of mouse presses message, the report Text further includes the control having in current built-in main control chip in addition to the information containing the circulation selection key pressing of mouse game mode The number N of the configuration file of mouse side switch used in software;
Step 40: the built-in main control chip of mouse is sent out step 30 message generated by itself port USBD+ and USBD- Give computer terminal drive control program;
Step 50: computer parses the message after receiving the message that step 40 is sent, and obtains main built in current mouse Control the number N of the configuration file of the mouse side switch of mouse used in the control software in chip;
Step 60: computer terminal drive control program judges whether N is equal to M, if being equal to M thens follow the steps 70, otherwise Execute step 80;
Step 70: after step 60 judges that N is equal to M, computer passes through master control built in keyboard signal transmission assembly to keyboard The port USBD+ and USBD- of coremaking piece issues No. 1 configuration file selection instruction;
Step 71: computer passes through the port USBD+ and USBD- of main control chip built in mouse signal transmission assembly to mouse Issue No. 1 configuration file selection instruction;
Step 80: after step 60 judges N not equal to M, computer passes through main built in keyboard signal transmission assembly to keyboard The port USBD+ and USBD- for controlling chip issues N+1 configuration file selection instruction;
Step 81: computer passes through the port USBD+ and USBD- of main control chip built in mouse signal transmission assembly to mouse Issue N+1 configuration file selection instruction;
Step 90: terminating.
The present invention has the effect of positive: (1) computer input device sub-assembly of the invention is in common keyboards such as Internet bars Mouse place by the embedded software that shirtsleeve operation sets keyboard and mouse in use, can select different game keys to configure File makes it suitable for certain classification or certain specific Games Software.This selection is not by more people's common computer equipment It influences, without intricately modifying the setting of previous user, does not also need machine user in Internet cafe service staff training and use certain The drive control software of keyboard or mouse, so that it may user be allowed preferably to manipulate the Games Software of mainstream.
(2) computer input device sub-assembly of the invention is in personal use, can also easily in various game or Transformation working pattern between software allows user more easily to use different game or software, more convenient.
(3) computer input device sub-assembly of the invention can by the keyboard sound card operating mode selection key on keyboard To select the operating mode of sound card, such as 7.1 are enabled around function, conveniently have higher requirements to the broadcasting demand of computer sound User quickly selects the operating mode of sound card.
(4) for computer input device sub-assembly of the invention when being directed to certain game or software, keyboard can control LED Luminous matrix with the LED backlight for controlling corresponding key for corresponding software or game make it is special shine, such as with When to set file be " heroic alliance ", red radiance occur to control the LED backlight of " Q, W, E, R, D, F " key of technical ability, Other keys do not shine or issue different radiance;When configuration file is " World of Warcraft ", to control it is mobile " w, a, s, Red radiance occur for the LED backlight of d " key, other keys do not shine or issue different radiance, so that keyboard matches The special key demand of game shines, convenient for users to more brightly understanding matched key, with more clearly game or Use software.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of keyboard of the invention;
Fig. 2 is another schematic diagram of keyboard of the invention;
Fig. 3 is the electrical schematic diagram of Master control chip built in the keyboard of keyboard shown in Fig. 1;
Fig. 4 is the electrical schematic diagram of the LED light emitting control chip of keyboard shown in Fig. 1;
Fig. 5 is a kind of schematic diagram of mouse of the invention;
Fig. 6 is the circuit diagram of mouse of the invention shown in Fig. 5;
Fig. 7 is the connection schematic diagram of the LED light emitting control chip of keyboard game mode indicator light and keyboard;
Fig. 8 is a kind of schematic diagram for the keyboard that the present invention is equipped with keyboard sound card operating mode selection key.
Label in above-mentioned attached drawing is as follows:
Mouse main body 100, mouse signal transmission assembly 11, encoder and idler wheel 12, left button 13, right button 14, shell 15, mouse Mark side switch 16, mouse game mode circulation selection key 17, built-in main control chip 18-1, optical chip 18-2,
Conventional keypad main body 210, Master control chip 210-1 built in keyboard, LED light emitting control chip 210-2, keyboard signal Transmission assembly 21, upper cover 22, keyboard game mode indicator light 23, keyboard game mode indicator light mark 24, keyboard game mode Selection key 25 is recycled, keyboard game mode directly selects key group 25-1, keyboard sound card operating mode selection key 25-2, key Board game function key 26, standard computer keyboard key 27, QWERTY keyboard indicator light 28.
Specific embodiment
(embodiment 1)
The computer input device sub-assembly of the present embodiment includes matching used keyboard and mouse.
See that Fig. 1, the keyboard of the present embodiment include conventional keypad main body 210, conventional keypad main body 210 includes general keyboard Upper cover 22, lower cover, keyboard signal transmission assembly 21, conductive film component, silica gel elastic body component, Keyboard Control integrated circuit, PCB circuit board, key-press backlight LED luminous matrix, standard computer keyboard key 27, QWERTY keyboard indicator light 28 and necessary connection Part, Keyboard Control integrated circuit include Master control chip 210-1 built in keyboard and its peripheral circuit, LED light emitting control chip 210-2 and its peripheral circuit, can be integral type or split type, the present embodiment using Master control chip 210-1 built in keyboard and its Peripheral circuit, LED light emitting control chip 210-2 and its peripheral circuit Split type electric line structure.The keyboard of the present embodiment further includes At least one keyboard game mode indicator light 23 and refer to the one-to-one keyboard game mode of keyboard game mode indicator light 23 Show that beacon light shows 24.The quantity of keyboard game mode indicator light 23 be 8, keyboard game mode indicator light mark 24 correspond to 8, Respectively " default " and the title " sword spirit " of hot game, " Dungeon ", " inverse war ", " passing through firewire ", " hero's connection at present Alliance ", " World of Warcraft ", " Audition ";Each keyboard game mode indicator light 23 and corresponding keyboard game mode indicating light sign Show that 24 position is corresponding, each keyboard game mode indicator light 23 is located at the upper of corresponding keyboard game mode indicator light mark 24 Side;Keyboard game mode indicator light 23 is arranged with the instruction area of 24 composition of corresponding keyboard game mode indicator light mark in standard The upper left side of computer keyboard key master keypad.The present embodiment keyboard signal transmission assembly 21 uses usb signal transmission assembly.Institute Stating necessary connector is the fasteners such as connecting screw, buckle.
After user's booting, computer terminal keyboard and mouse drive control program will start operation, and keyboard and mouse obtain electric The built-in control software of Master control chip 210-1 built in keyboard afterwards, the built-in LED light photocontrol of LED light emitting control chip 210-2 The built-in control software of the built-in main control chip 18-1 of software and mouse starts operation.The driving of computer terminal keyboard and mouse The initialization subroutine of keyboard and mouse can be first carried out after program starting, when detecting new keyboard or mouse configuration file When, computer passes through Master control chip built in the keyboard connecting line 21 of keyboard or the mouse connecting line 11 to the keyboard of keyboard of mouse 210-1 and built-in main control chip 18-1 sends opening initialization data.When 1 to No. 8 configuration file is sent to keyboard by computer Master control chip 210-1 built in keyboard uses these after Master control chip 210-1 receives 1 to No. 8 configuration file built in keyboard File covers original 1 to No. 8 configuration text in 8 different address fields for be set as in its in-built electrical scratch pad memory 1 to No. 8 Part.In this way, 1 to No. 8 configuration file built in keyboard in main control chip 210-1 and 1 to 8 in computer terminal drive control program Number configuration file can be consistent.Main control chip 210-1 built in keyboard receives the control for selecting the configuration file of certain No.1 After information, built-in main control chip 210-1 issues corresponding control instruction, control keyboard key to LED light emitting control chip 210-2 Backlight LED luminous matrix issues matched light, to be directed to corresponding software or game, controls corresponding backlight display key and makees It is special out to shine, such as when the corresponding operating mode of configuration file is " heroic alliance " game, to control technical ability " Q, W, E, the backlight of R, D, F " key issues red radiance, and other keys do not shine or issue different radiance;Configuration file is corresponding Operating mode when being " World of Warcraft ", the key-press backlight to control mobile " w, a, s, d " key issues red radiance, Its key does not shine or issues different radiance, so that the special key demand of keyboard matching game shines.
(embodiment 2)
The keyboard of the present embodiment further includes keyboard game mode circulation selection key 25, at least one keyboard game function keys 26.In the present embodiment, keyboard game function keys 26 have 8, respectively " G1 ", " G2 ", " G3 ", " G4 ", " G5 ", " G6 ", " G7 " " G8 ", the left that standard computer keyboard key master keypad is set in two separate ranks;Keyboard game mode recycles selection key 25 Setting is between instruction area and keyboard game function keys 26.
See Fig. 3, Master control chip 210-1 built in the keyboard of the present embodiment can select Taiwan Sheng Qun semiconductor share limited The HT68FB560 chip for the HOLTEK brand that company produces, the built-in control software of the present embodiment keyboard are stored in HT68FB560 In the in-built electrical scratch pad memory of chip, 8 groups are suitble to the keyboard of different game to include conventional keys and the keyboard game added The configuration file of all keys including function key (26) also is stored in the in-built electrical scratch pad memory of HT68FB560 chip It is set as in 1 to No. 88 different address field, 8 configuration files and corresponding " sword spirit ", " inverse war ", " pass through " Dungeon " Configuration file needed for firewire ", " heroic alliance ", " World of Warcraft ", " Audition " and " default " corresponds.The LED of keyboard The HT68F40 for the HOLTEK brand that light emitting control chip 210-2 can select Taiwan Shengqun Semiconductor Co., Ltd to produce Chip, keyboard LED lighting control software are stored in the in-built electrical scratch pad memory of LED light emitting control chip 210-2.It is described Each configuration file changes including all keys of keyboard for key mapping set by the corresponding software including game, described All keys include conventional keys and keyboard game function keys (26).
Master control chip 210-1 built in the keyboard of HT68FB560 model can pass through C1-C17 and R1-R8 port scan key Matrix circuit composed by disk conductive film component judges the conducting feelings of each contact of conductive film component according to the scanning result Condition.When some key press of keyboard, the contact of the corresponding layer printed circuit up and down of conductive film component can be connected, at this moment key The variation for the C1-C17 and R1-R8 port scan signal that Master control chip 210-1 built in disk can be generated according to the conducting, judgement It is the pressing variation which key occurs out.The built-in control software of Master control chip 210-1 built in keyboard can be with according to the letter It number generates corresponding operation or generates corresponding message, the message generated can pass through Master control chip 210-1 built in keyboard The port USBD+ and USBD- through keyboard signal transmission assembly 21, be sent to the computer that the keyboard is connected.
See that Fig. 4, the LED light emitting control chip 210-2 of HT68F40 model can pass through its LR1 to LR8 and LC1 to LC18 Port exports LED lamp for keyboard LED control signal, shining through MOS-P and MOS-N circuit drives LED light matrix.LED, which shines, to be controlled Master control chip 210-1 built in coremaking piece 210-2 and keyboard can by SPIMOSI, SPIMISO of two chips, Tetra- SPI communication bus port electrical connections of SPISCLK, SPICSN, to transmit signal.LED light emitting control chip 210-2 passes through The LED light emitting control that Master control chip 210-1 built in receiving keyboard is transmitted instructs to control LR1 to LR8 and LC1 to the port LC18 Different level outputs, to reach desired illumination effect.See that Fig. 7, the present embodiment select LR1 to the port LR8 and LC1 use The light emitting control of 8 LED lamps belonging to keyboard game mode indicator light 23.
See that Fig. 6, the mouse of the present embodiment include conventional mice main body 100, conventional mice main body 100 includes general mouse Shell 15, key, microswitch, encoder and idler wheel 12, mouse signal transmission assembly 11, optical chip 18-2, built-in master control Chip 18-1, peripheral circuit, circuit board, optical lens, light source and necessary connector, the mouse of the present embodiment is including further including mouse It marks game mode and recycles selection key 17.Key includes mouse side switch 16, left button 13 and right button 14.Mouse signal transmission assembly 11 Using USB connecting line.Necessity connector is the fasteners such as connecting screw, buckle.
The HOLTEK brand that built-in main control chip 18-1 can select Taiwan Shengqun Semiconductor Co., Ltd to produce HT82F553 chip, the A5050 core that the optical chip 18-2 of mouse can select Taiwan Yuanxiang Science & Technology Co., Ltd. to sell Piece.The built-in control software of the present embodiment mouse is stored in the built-in electrically erasable of the built-in main control chip 18-1 of HT82F553 model In memory write, multiple groups are suitble to the configuration file of the mouse side switch 16 of different game also to be stored in the interior of built-in main control chip 18-1 In the 8 different address fields for being set as 1 to No. 8 for setting electrically-erasable memory.
With the computer terminal keyboard and mouse driver of the present embodiment cooperating, operate in and the present embodiment computer In the computer of input equipment sub-assembly connection.The computer terminal keyboard and mouse driver software of the present embodiment, keyboard master Control the built-in control software of chip, the built-in LED light photocontrol software of the LED light photocontrol chip of keyboard and mouse master control The built-in control software of coremaking piece can use active computer and mcu programming language by the those of ordinary skill of the industry It is worked out according to current computer protocol.
After user's booting, computer terminal keyboard and mouse drive control program will start operation, and keyboard and mouse obtain electric The built-in control software of Master control chip 210-1 built in keyboard afterwards, the built-in LED light photocontrol of LED light emitting control chip 210-2 The built-in control software of the built-in main control chip 18-1 of software and mouse starts operation.The driving of computer terminal keyboard and mouse The initialization subroutine of keyboard and mouse can be first carried out after program starting, when detecting new keyboard or mouse configuration file When, computer passes through Master control chip built in the keyboard connecting line 21 of keyboard or the mouse connecting line 11 to the keyboard of keyboard of mouse It is initial that the port USBD+ and USBD- of the built-in main control chip 18-1 of the port USBD+ and USBD- or mouse of 210-1 sends booting Change data.When 1 to No. 8 configuration file is sent to Master control chip 210-1 built in keyboard keyboard, master control built in keyboard by computer After coremaking piece 210-1 receives 1 to No. 8 configuration file of the game function keys 26 by itself port USBD+ and USBD-, this is used A little files cover original 1 to No. 8 configuration in 8 different address fields for be set as in its in-built electrical scratch pad memory 1 to No. 8 File.In this way, 1 to No. 8 configuration file built in keyboard in main control chip and 1 to No. 8 in computer terminal drive control program Configuration file can be consistent.1 to No. 8 configuration file file of mouse side switch 16 is sent to built in mouse by computer The built-in main control chip 18-1 of main control chip 18-1, mouse receive the mouse side switch 16 by itself port USBD+ and USBD- After 1 to No. 8 configuration file, is covered with these files and be set as 1 to No. 88 different ground in its in-built electrical scratch pad memory Original 1 to No. 8 configuration file in the section of location.In this way, 1 to No. 8 of the mouse side switch 16 in the built-in main control chip 18-1 of mouse 1 to No. 8 configuration file of configuration file and the mouse side switch 16 in computer terminal drive control program can be consistent.
The detailed operation of the computer input device sub-assembly of the present embodiment is as follows:
Steps are as follows for the course of work of the initialization subroutine of the keyboard of the present embodiment:
Step 210: starting.
Step 220: computer is by keyboard connecting line 21, to Master control chip built in keyboard (abbreviation keyboard main control MCU) The port USBD+ and USBD- of 210-1 sends keyboard initial configuration file.The initialization files include 1 to No. 8 configuration file.
Step 230: Master control chip 210-1 built in keyboard will pass through itself port USBD+ and USBD- will receive 1 to 8 Number configuration file is stored into its in-built electrical scratch pad memory in 8 different address fields for being set as 1 to No. 8, to cover Original 1 to No. 8 configuration file in its in-built electrical scratch pad memory.
Step 240: terminating.
, steps are as follows for the course of work of the initialization subroutine of the mouse of the present embodiment:
Step 110: starting.
Step 120: computer passes through built-in main control chip (abbreviation mouse main control MCU) of the mouse connecting line 11 to mouse The port USBD+ and USBD- of 18-1 sends mouse initial configuration file.The mouse side switch for the mouse that the initialization files include 16 1 to No. 8 configuration file.
Step 130: the built-in main control chip 18-1 of mouse is by the mouse received by itself port USBD+ and USBD- 1 to No. 8 configuration file of mouse side switch 16, which is stored into its in-built electrical scratch pad memory, is set as 1 to No. 88 different ground In the section of location, to cover 1 to No. 8 configuration file of the mouse side switch 16 of original mouse in its in-built electrical scratch pad memory.
Step 140: terminating.
After completing keyboard and mouse initial work, computer issues N configuration file selection instruction, 1≤N to keyboard ≤ 8, N is natural number, and Master control chip 210-1 selection built in the keyboard of keyboard is enabled to be stored in its in-built electrical scratch pad memory The N configuration file of N address field is work at present file.Then, computer issues the selection of N configuration file to mouse and refers to It enables, the built-in main control chip 18-1 of mouse is enabled to select to be stored in the mouse of N address field in its in-built electrical scratch pad memory The N configuration file of mouse side switch 16 is work at present file.
Steps are as follows for the course of work of the N configuration file selection subprogram of the keyboard of the present embodiment:
Step 10: starting.
Step 20: computer passes through Master control chip 210-1 built in keyboard signal transmission assembly 21 to the keyboard of keyboard The port USBD+ and USBD- sends N configuration file selection instruction.
Step 30: Master control chip 210-1 built in keyboard will receive No. N configuration text by itself port USBD+ and USBD- Part selection instruction sets the N configuration file of N address field in its in-built electrical scratch pad memory as work at present file.
Step 40: Master control chip 210-1 built in keyboard generates N number key board game mode indicating lamp and lights instruction.
Step 50: Master control chip 210-1 built in keyboard passes through its SPI communication bus port to LED light emitting control chip The N number key board game mode indicating lamp generated of SPI communication bus port sending step 40 of 210-2 lights instruction.
The N number key board game mode indicating lamp that step 60:LED light emitting control chip 210-2 is generated according to step 50 is lighted Instruction generates corresponding lumination of light emitting diode control signal, and is issued by its LR1 to the port LR8 and LC1.
The control signal that the port LR1 to LR8 and LC1 of step 70:LED light emitting control chip 210-2 issues, via MOS- P and MOS-N circuit drives, the luminance of control keyboard game mode indicator light 23 make wherein to correspond at N configuration file Keyboard game mode indicator light 23 be in state for being selected, such as shine or flashing etc., thus fit key board game mould Formula indicator light mark 24 indicates the software that keyboard is suitable at this time.
Step 80: terminating.Keyboard is in standby at this time.Keyboard at this time is suitable for keyboard game mode indicator light 23 In the software that indicates of N LED light institute protrusion that shines.When user presses the keyboard including keyboard game function keys (26) Certain key when, the control software of Master control chip 210-1 built in keyboard can be pressed according to the setting in N configuration file Pressure signal is converted into the input signal of setting, and then forms corresponding message and sent by keyboard connecting line signal transmission assembly 21 To computer.
Steps are as follows for the course of work of the N configuration file selection subprogram of the mouse of the present embodiment:
Step 1: starting.
Step 2: computer sends N to the port USBD+ and USBD- of the built-in main control chip 18-1 of mouse by mouse 11 Number configuration file selection instruction.
Step 3: the built-in main control chip 18-1 of mouse is literary by receive No. N configuration by itself port USBD+ and USBD- Part selection instruction sets the N configuration file of its mouse side switch 16 for being stored in N address field in in-built electrical scratch pad memory For work at present file.
Step 4: terminating.Mouse is in standby at this time.Mouse at this time is suitable for corresponding to the soft of N configuration file Part corresponds to the software that the LED light institute protrusion to shine in keyboard game mode indicator light 23 indicates.When user presses mouse When certain key in side switch 16, the control software in the built-in main control chip 18-1 of mouse can be according to setting in N configuration file It is fixed, the input signal that signal is converted into setting is pressed, and then form message and computer is sent to by mouse connecting line 11.
When the keyboard game mode that user presses keyboard recycles selection key 25, keyboard game mode recycles selection key The 25 silica gel elastic bodies for pushing under key generate deformation, and pressing lug boss presses on the conductive film component of keyboard, so that The corresponding contacts of the bilevel printing film circuit of conductive film component contact conducting, Master control chip 210-1 built in keyboard After being changed by the port C1-C17 and R1-R8 port scan to the conducting, built-in control software can be generated according to the signal to be reported Text, which includes that keyboard game mode circulation selection key 25 presses signal and current configuration file number, by keyboard The port USBD+ and USBD- of Master control chip 210-1 is set through keyboard 21, which is sent to computer.Computer terminal driving It, can be according to the control software institute built in current keyboard in Master control chip 210-1 after control program receives the message and parses The number of the configuration file used is sent to keyboard and mouse by the configuration file selection instruction that circulation incremental order generates lower No.1 Mark.If the number N of configuration file used in the control software built in current keyboard in Master control chip 210-1 is No. 8, It generates No. 1 configuration file selection instruction and is sent to mouse and keyboard.User only needs the game mode pressed on keyboard to follow in this way Ring selection key 25, so that it may 8 kinds of operating modes of circulation selection keyboard and mouse, to be suitable for different software, thus side Just user uses, and does not need mouse side switch 16 and each keypress function that user removes setting mouse one by one.
The course of work of processing subroutine is main when the keyboard game mode circulation selection key 25 of the present embodiment is pressed Steps are as follows:
Step 10: starting.
Step 20: when user presses keyboard game mode circulation selection key 25, the circulation selection of keyboard game mode is pressed Key 25 pushes the silica gel elastic body under key, and silica gel elastic body generates deformation, presses protrusion pressing in the conductive film of keyboard On component, so that the corresponding contacts of the bilevel printing film circuit of conductive film component contact conducting, master control built in keyboard Coremaking piece 210-1 is changed by the port C1-C17 and R1-R8 port scan to the conducting.
Step 30: the built-in control Program Generating keyboard game mode of Master control chip 210-1 built in the keyboard of keyboard follows Ring selection key 25 presses message, which also wraps in addition to the information pressed containing keyboard game mode circulation selection key 25 Include the number N of configuration file used in the control software built in current keyboard in Master control chip 210-1.
Step 40: Master control chip 210-1 built in the keyboard of keyboard passes through itself port USBD+ and USBD- for step 30 institute The message of generation is sent to computer terminal drive control program.
Step 50: after computer terminal drive control program receives the message that step 40 is sent, parsing the message, obtain The number N of configuration file used in control software built in current keyboard in Master control chip 210-1.
Step 60: computer terminal drive control program judges whether N is equal to 8, if being equal to 8 thens follow the steps 70, otherwise Execute step 80.
Step 70: after step 60 judges that N is equal to 8, computer passes through master control coremaking built in keyboard connecting line 21 to keyboard The port USBD+ and USBD- of piece 210-1 issues No. 1 configuration file selection instruction.
Step 71: computer by built-in main control chip 18-1 from mouse connecting line 11 to mouse the end USBD+ and USBD- Mouth issues No. 1 configuration file selection instruction.
Step 80: after step 60 judges N not equal to 8, computer passes through main control built in keyboard connecting line 21 to keyboard The port USBD+ and USBD- of chip 210-1 issues N+1 configuration file selection instruction.
Step 81: computer terminal drive control program is by mouse connecting line 11 to the built-in main control chip 18-1 of mouse The port USBD+ and USBD- issues N+1 configuration file selection instruction.
Step 90: terminating.
User can also click on the circulation selection key 17 of the mouse game mode on mouse to select required key The operating mode of disk and mouse.When the user clicks when mouse game mode circulation selection key 17, the built-in main control chip of mouse The push button signalling input terminal of 18-1 receives the pressing signal, and the built-in main control chip 18-1 of mouse is generated according to the signal to be reported Text, the message include that the pressing signal of mouse game mode circulation selection key 17 and the mouse side switch 16 of current mouse configure text Part number N, built-in main control chip 18-1 send the signal to meter through mouse connecting line 11 by itself port USBD+ and USBD- Calculation machine.After computer receives the message and parses, it can be used according to the control software in current built-in main control chip 18-1 Mouse side switch 16 profile-number N, sent according to the configuration file selection instruction that circulation incremental order generates lower No.1 To keyboard and mouse.If mouse side switch 16 used in the control software in the built-in main control chip 18-1 of current mouse configures The number of file is No. 8, then generates No. 1 configuration file selection instruction and be sent to mouse and keyboard.User only needs to press in this way Mouse game mode on mouse recycles selection key 17, so that it may 8 kinds of operating modes of circulation selection keyboard and mouse, with suitable Together in the Games Software of mainstream, thus it is user-friendly, it does not need user and removes setting mouse mouse side switch 16 and keyboard one by one Each keypress function of game function keys 26.
The course of work of processing subroutine is main when the mouse game mode circulation selection key 17 of the present embodiment is pressed Steps are as follows:
Step 10: starting.
Step 20: when user presses mouse game mode circulation selection key 17, the built-in main control chip 18-1 of mouse Corresponding input/output port receives the variation.
Step 30: the generation mouse game mode circulation pressing report of selection key 17 of the built-in main control chip 18-1 of mouse Text, the message further include having current built-in master control core in addition to the information pressed containing mouse game mode circulation selection key 17 The number n of the configuration file of mouse side switch 16 used in control software in piece 18-1.
Step 40: the built-in main control chip 18-1 of mouse passes through itself port USBD+ and USBD- for step 30 report generated Text is sent to computer terminal drive control program.
Step 50: computer parses the message after receiving the message that step 40 is sent, and obtains main built in current mouse Control the number N of the configuration file of the mouse side switch 16 of mouse used in the control software in chip 18-1.
Step 60: computer terminal drive control program judges whether N is equal to 8, if being equal to 8 thens follow the steps 70, otherwise Execute step 80.
Step 70: after step 60 judges that N is equal to 8, computer passes through master control coremaking built in keyboard connecting line 21 to keyboard The port USBD+ and USBD- of piece 210-1 issues No. 1 configuration file selection instruction.
Step 71: computer passes through the port USBD+ and USBD- of main control chip 18-1 built in from mouse connecting line 11 to mouse Issue No. 1 configuration file selection instruction.
Step 80: after step 60 judges N not equal to 8, computer passes through main control built in keyboard connecting line 21 to keyboard The port USBD+ and USBD- of chip 210-1 issues N+1 configuration file selection instruction.
Step 81: computer passes through the port USBD+ and USBD- of main control chip 18-1 built in from mouse connecting line 11 to mouse Issue N+1 configuration file selection instruction.
Step 90: terminating.
After the user leaves Internet bar, when next user is switched on, after the starting of computer terminal keyboard and mouse driver, Above-mentioned keyboard, mouse are again at standard state, user can be want according to oneself using software, again by keyboard Keyboard game mode recycles the mouse game mode on selection key 25 or mouse and recycles selection key 17, selects oneself to be wanted The operating mode used can manipulate used software well, without being influenced by upper user selection.Due to Internet bar In the game played of upper machine user be concentrated mainly in several money high-quality game, so most of upper machine user can be by above-mentioned Method easily configures the operating mode of keyboard and mouse.If the Games Software used needed for user is not in the game prestored In mode or when user is without the use of Games Software, user can also recycle selection key 25 by keyboard game mode Or the mouse game mode circulation selection key 17 on mouse selects default conditions, user can be other common as using at this time Game class keyboard and mouse is the same, runs corresponding keyboard and mouse drive software by computer each keyboard game to be arranged one by one Function key 26 and mouse side switch 16, to meet the use demand of user.
(embodiment 3)
Keyboard and embodiment 1 or 2 in a kind of computer input device sub-assembly of the present embodiment is essentially identical, difference Be: the keyboard matrix circuit electronic component of the generation keyboard pressing signal of the keyboard of the present embodiment is not conductive film group Part, but the circuit matrix being made of keyboard with mechanical switch.Each keycap of the keyboard of the present embodiment is arranged with one Keyboard mechanical switch, keyboard mechanical switch welding or grafting on circuit boards, are used when user presses some keyboard When mechanical switch, the reed built in the switch can generate conducting variation, conducting variation Master control chip built in keyboard To rear, the built-in control software of Master control chip 210-1 built in keyboard can be with generating operation or raw according to the signal for 210-1 scanning At message transmissions to connected computer, working principle is similar to film silica gel keyboard.Master control chip 210- built in keyboard 1, its peripheral circuit of LED light emitting control chip 210-2 is also welded on the circuit board, and keyboard connecting line 21 is also electric with the circuit board Connection, to form complete circuit structure.Mechanical switch mounting circuit boards are arranged in the top of lower cover, the lower section of upper cover, After upper and lower covers are screwed, stable keyboard body structure is formed.The keycap coupling part of keyboard mechanical switch Exposed by the key mounting hole being arranged on keyboard top cover, the keycap of keyboard and the keycap coupling part of keyboard mechanical switch Compression type links together, to constitute complete keyboard.
(embodiment 4)
See Fig. 2, the keyboard and embodiment 2 or 3 in a kind of computer input device sub-assembly of the present embodiment are essentially identical, Its difference is: the keyboard of the present embodiment directly selects key group 25-1 as mode selection button using keyboard game mode Group, it is corresponding with the key to select directly selecting some key in key group 25-1 by pressing keyboard game mode Key events, and corresponding configuration file selection instruction is sent to mouse by computer;Rather than use embodiment 1 Game mode recycle selection key 25, the operation of user can be further simplified in this way.
Each key that keyboard game mode directly selects key group 25-1 is backlight display key, the instruction of keyboard game mode Each LED light of lamp 23 is arranged in corresponding keyboard game mode and directly selects below each keycap of key group 25-1;Key Board game mode indicating lamp mark 24 directly selects key group 25-1 in keyboard game mode using the mode setting that light transmission is shown Corresponding keycap on.In this way after user, which presses a certain keyboard game mode, directly selects the key of key group 25-1, the key The keyboard operating mode that keyboard game mode indicator light 23 below keycap highlights key representative is selected, specific mould Formula can be marked by the keyboard game mode indicator light mark 24 that light transmission is shown.
When user directly selects a certain key of key group 25-1 by pressing keyboard game mode, certain work has been selected Mode, computer, can be by sending the side of corresponding configuration file selection instruction to mating mouse after receiving the instruction Formula is used cooperatively mouse with keyboard, and principle is similar to Example 1.
(embodiment 5)
See Fig. 8, the keyboard and one of embodiment 1 to 4 of the computer input device sub-assembly of the present embodiment are essentially identical, Difference is: the keyboard of the present embodiment has additional keyboard sound card operating mode selection key 25-2, the choosing of keyboard sound card operating mode Selecting key 25-2 is backlight key, and equipped with the LED backlight indicator light for solely belonging to the key, the symbol on key is sound card work Operation mode, the symbol indicated in the present embodiment are text: " 7.1 surround ".User can also pass through according to the use habit of oneself Keyboard sound card operating mode selection key 25-2 is pressed, controls the operating mode of sound card to meet the needs of user.
As user pressing operation keyboard sound card operating mode selection key 25-2, computer is receiving aforesaid operations production After raw upload message, computer can control the operating mode of sound card according to the setting in computer terminal keyboard driver To meet the needs of user, the mould that the operating mode of sound card is indicated for enabling keyboard sound card operating mode selection key 25-2 It when formula, such as enables " 7.1 surround " function or opens " sound effect of game ", solely belong to keyboard sound card operating mode selection key 25-2 LED light light, to show that the function has enabled.User can also be by operating the selection of keyboard sound card operating mode again Key 25-2 closes " 7.1 surround " function or " sound effect of game " function, solely belongs to keyboard sound card operating mode selection key at this time The LED light of 25-2 is in non-highlighted, to show that the function is turned off.
With the computer terminal keyboard and mouse driver of the various embodiments described above cooperating, operate in and keyboard and mouse In the computer of connection.Computer terminal keyboard and mouse driver software, the built-in control of Master control chip 210-1 built in keyboard Software processed, the built-in LED light photocontrol software of the LED light emitting control chip 210-2 of keyboard and the built-in main control chip of mouse The built-in control software of 18-1, can by the those of ordinary skill of the industry using active computer and mcu programming language according to It is worked out according to current computer protocol.
Obviously, the above embodiment is merely an example for clearly illustrating the present invention, and is not to of the invention The restriction of embodiment.For those of ordinary skill in the art, it can also be made on the basis of the above description Its various forms of variation or variation.There is no necessity and possibility to exhaust all the enbodiments.And these belong to this hair The obvious changes or variations that bright spirit is extended out are still in the protection scope of this invention.

Claims (7)

1. a kind of computer keyboard, including conventional keypad main body (210), conventional keypad main body (210) include upper cover (22), under Lid, keyboard signal transmission assembly (21), pressing signal formation component, Keyboard Control integrated circuit, PCB circuit board, criterion calculation Machine keyboard (27) and QWERTY keyboard indicator light (28);It is characterized by also including M keyboard game mode indicator lights (23) And (24) are indicated with the one-to-one keyboard game mode indicator light of keyboard game mode indicator light (23), M is positive integer;M The internal or external electrically-erasable that the configuration file of the suitable different working modes of group also is stored in Keyboard Control integrated circuit is deposited In the M for being set as 1 to No. M of reservoir different address fields, M configuration file and configuration needed for corresponding software and " default " File corresponds;
The working method of the computer keyboard is as follows: Keyboard Control integrated circuit includes Master control chip built in keyboard (210-1) and its peripheral circuit, LED light emitting control chip (210-2) and its peripheral circuit;Master control chip built in keyboard (210-1) scans the matrix circuit of keyboard pressing signal formation component, judges pressing signal formation component according to the scanning result Each contact conducting situation;When some key press of keyboard, pressing signal formation component generates conducting electric signal, at this moment key The variation for the signal that Master control chip built in disk (210-1) can be generated according to the conducting electric signal, judge which is by The pressing variation that key occurs;The built-in control software of Master control chip built in keyboard (210-1) can be corresponding with generating according to the signal Operation or generate corresponding message, the message generated can be believed by Master control chip built in keyboard (210-1) through keyboard Number transmission assembly (21), is sent to the computer that the keyboard is connected;
After user's booting, computer terminal keyboard drive control program will start operation, keyboard obtain it is electric after main control built in keyboard The built-in LED light photocontrol software of the built-in control software of chip (210-1), LED light emitting control chip (210-2) starts fortune Row;The initialization subroutine of keyboard can be first carried out after the starting of computer terminal keyboard driver, when detecting new keyboard When configuration file, computer passes through Master control chip built in the keyboard of keyboard signal transmission assembly (21) Xiang Jianpan of keyboard (210-1) sends opening initialization data;When computer is sent to Master control chip built in keyboard for 1 to M configuration file (210-1), Master control chip (210-1) built in keyboard receive 1 to after M configuration file, are covered built in it with these files Original 1 is set as in 1 to No. M different address field of M in electrically-erasable memory to M configuration file;In this way, in keyboard 1 to the M configuration file set in main control chip is consistent with 1 to M configuration file in computer terminal drive control program;
After completing keyboard initial work, computer issues N configuration file selection instruction to keyboard, and N ∈ M enables keyboard Master control chip built in keyboard (210-1) selection is stored in No. N configuration text of N address field in its in-built electrical scratch pad memory Part is work at present file;Master control chip built in keyboard (210-1) sends corresponding to LED light emitting control chip (210-2) Light emitting control instruction, LED light emitting control chip (210-2) control respective keys backlight LED luminous matrix and issue matched light, Special shine is made to control corresponding key for corresponding software or game;
When user presses the game mode selection key of keyboard, game mode selection key is pushed so that pressing signal formation component produces Raw conducting electric signal, after Master control chip (210-1) scanning to conducting variation built in keyboard, built-in control software can basis The signal generates message, which includes game mode selection key pressing signal and current configuration file number, by keyboard Master control chip (210-1) is set through keyboard signal transmission assembly (21), which is sent to computer;Computer terminal driving control It, can be according to the control software institute built in current keyboard in Master control chip (210-1) after processing procedure sequence receives the message and parses The number of the configuration file used is sent to keyboard by the configuration file selection instruction that circulation incremental order generates lower No.1;
When computer is restarted, after the starting of computer terminal keyboard driver, keyboard is again at standard state, and user is according to oneself Want using software, select oneself institute's operating mode to be used again by the game mode selection key on keyboard;If Not in the mode prestored or when user is without the use of predetermined software, user can also lead to the software used needed for user Game mode selection key selection default conditions are crossed, user can run corresponding keyboard driver software by computer come one at this time One each keyboard game function keys (26) of setting.
2. computer keyboard according to claim 1, it is characterised in that: further include keyboard game mode circulation selection key (25) it is arranged at least one keyboard game function keys (26), keyboard game function keys (26) in standard computer keyboard key master The left of keypad;
The position that each keyboard game mode indicator light (23) indicates (24) with corresponding keyboard game mode indicator light is corresponding, often A keyboard game mode indicator light (23) is located near corresponding keyboard game mode indicator light mark (24);Keyboard game mould Formula indicator light (23) is arranged with the instruction area that corresponding keyboard game mode indicator light indicates (24) composition in criterion calculation switch The upper left side of disk key master keypad.
3. computer keyboard according to claim 1, it is characterised in that: further include that keyboard game mode directly selects key Group (25-1) and at least one keyboard game function keys (26), keyboard game function keys (26) setting are pressed in standard computer keyboard The left of key master keypad;
It includes that M keyboard game mode directly selects key, each keyboard trip that keyboard game mode, which directly selects key group (25-1), It is backlight display key that play mode, which directly selects key, and each LED light setting of keyboard game mode indicator light (23) exists Corresponding keyboard game mode directly selects below each keycap of key group (25-1);Keyboard game mode indicator light indicates (24) The mode setting shown using light transmission is on the corresponding keycap that keyboard game mode directly selects key group (25-1);In this way when with After family presses the key that a certain keyboard game mode directly selects key group (25-1), the keyboard game mould below the key cap of key set The keyboard operating mode that formula indicator light (23) highlights key representative is selected, the key that specific mode is shown by light transmission Board game mode indicating lamp mark (24) marks.
4. according to claim 1 to computer keyboard described in one of 3, it is characterised in that: the keyboard is additionally provided with keyboard sound card Operating mode selection key (25-2), keyboard sound card operating mode selection key (25-2) is backlight key, equipped with solely belonging to this The LED backlight indicator light of key, the symbol on key are sound card operating mode;When user's pressing operation keyboard sound card works When mode selection button (25-2), for computer after the upload message for receiving aforesaid operations generation, computer can be according to meter The setting in generator terminal keyboard driver is calculated, controls the operating mode of sound card to meet the needs of user, the operating mode of sound card For enable keyboard sound card operating mode selection key (25-2) indicated mode when, the LED backlight indicator light meeting of the key It is shown with mode outstanding.
5. a kind of computer input device sub-assembly, including matching used keyboard and mouse, wherein keyboard includes conventional keypad Main body (210), conventional keypad main body (210) include upper cover (22), lower cover, keyboard signal transmission assembly (21), pressing signal life At component, Keyboard Control integrated circuit, PCB circuit board, standard computer keyboard key (27) and QWERTY keyboard indicator light (28); Mouse includes conventional mice main body (100), and conventional mice main body (100) includes that the shell (15), key, fine motion of general mouse are opened It closes, is encoder and idler wheel (12), mouse signal transmission assembly (11), optical chip (18-2), built-in main control chip (18-1), outer Enclose circuit, circuit board, optical lens and light source;It is characterized by:
Keyboard further includes M keyboard game mode indicator light (23) and one-to-one with keyboard game mode indicator light (23) Keyboard game mode indicator light indicates (24), and M is positive integer;M group is suitble to the configuration file of different working modes also to be stored in key Disk built-in keybad controls the M for being set as 1 to No. M different addresses of the internal or external electrically-erasable memory of integrated circuit Duan Zhong, M configuration files are corresponded with configuration file needed for corresponding software and " default ";
The mouse further includes mouse game mode circulation selection key (17);Key includes mouse side switch (16), left button (13) With right button (14);The built-in control software of mouse is stored in the in-built electrical scratch pad memory of built-in main control chip (18-1), M The configuration file of the mouse side switch (16) of the suitable different working modes of group also is stored in the in-built electrical of built-in main control chip (18-1) In the M for being set as 1 to No. M different address fields of scratch pad memory;
The working method of the computer input device sub-assembly is as follows: the Keyboard Control integrated circuit of keyboard includes in keyboard Set Master control chip (210-1) and its peripheral circuit, LED light emitting control chip (210-2) and its peripheral circuit;It is main built in keyboard The matrix circuit for controlling chip (210-1) scanning keyboard pressing signal formation component judges pressing signal according to the scanning result The conducting situation of each contact of formation component;When some key press of keyboard, pressing signal formation component generates conducting telecommunications Number, at this moment Master control chip built in keyboard (210-1) can be swept according to the port C1-C17 and R1-R8 that the conducting electric signal generates The variation for retouching signal judges it is that the pressing which key occurs changes;Master control chip built in keyboard (210-1) it is built-in Controlling software can be with generating corresponding operation according to the signal or generating corresponding message, and the message generated can be by keyboard Master control chip (210-1) is set through keyboard signal transmission assembly (21), is sent to the computer that the keyboard is connected;
After user's booting, computer terminal keyboard and mouse drive control program will start operation, keyboard and mouse obtain it is electric after key The built-in control software of Master control chip built in disk (210-1), the built-in LED light photocontrol of LED light emitting control chip (210-2) The built-in control software of the built-in main control chip (18-1) of software and mouse starts operation;Computer terminal keyboard and mouse is driven The initialization subroutine of keyboard and mouse can be first carried out after dynamic program starting, when the keyboard or mouse configuration that detect new are literary When part, computer passes through mouse signal transmission assembly (11) Xiang Jianpan's of the keyboard signal transmission assembly (21) of keyboard or mouse The built-in main control chip (18-1) of Master control chip built in keyboard (210-1) or mouse sends opening initialization data;Work as calculating Machine is sent to Master control chip (210-1) built in keyboard keyboard for 1 to M configuration file, Master control chip (210- built in keyboard 1) it after 1 to the M configuration file received, is covered with these files and is set as 1 to No. M M in its in-built electrical scratch pad memory Original 1 to M configuration file in a different address field;In this way, 1 to M configuration file built in keyboard in main control chip It can be consistent with 1 to M configuration file in computer terminal drive control program;By computer by mouse side switch (16) 1 is sent to the built-in main control chip (18-1) of mouse to M configuration file file, and the built-in main control chip (18-1) of mouse receives To after 1 to M configuration file of the mouse side switch (16), is covered in its in-built electrical scratch pad memory with these files and be set as 1 Original 1 to M configuration file in the address field different to No. M M;Mouse in the built-in main control chip (18-1) of mouse 1 to M configuration file of side switch (16) and 1 to No. M configuration text of the mouse side switch (16) in computer terminal drive control program Part can be consistent;
After completing keyboard and mouse initial work, computer issues N configuration file selection instruction to keyboard, and N ∈ M is enabled Master control chip (210-1) selection is stored in No. N of N address field in its in-built electrical scratch pad memory built in the keyboard of keyboard Configuration file is work at present file;Then, computer issues N configuration file selection instruction to mouse, enables the built-in of mouse Main control chip (18-1) selection is stored in the mouse side switch (16) of the mouse of N address field in its in-built electrical scratch pad memory N configuration file is work at present file;LED light emitting control chip (210-2) receives the configuration file for selecting certain No.1 After light emitting control instruction, LED light emitting control chip (210-2) control button backlight LED luminous matrix issues matched light, with Special shine is made for corresponding software or game;
When user presses the game mode selection key of keyboard, game mode selection key is pushed so that pressing signal formation component produces Raw conducting electric signal, after Master control chip (210-1) scanning to conducting variation built in keyboard, built-in control software can basis The signal generates message, which includes the profile-number of game mode selection key pressing signal and current keyboard, passes through Master control chip built in keyboard (210-1) is sent to computer through keyboard signal transmission assembly (21), by the message;Computer terminal It, can be according to the control built in current keyboard in Master control chip (210-1) after drive control program receives the message and parses The number of configuration file used in software, the configuration file selection instruction for pressing No.1 under circulation incremental order generates are sent to key Disk and mouse;
User can also click on the circulation of the mouse game mode on mouse selection key (17) to select required keyboard And the operating mode of mouse;When the user clicks when mouse game mode circulation selection key (17), the built-in main control chip of mouse The push button signalling input terminal of (18-1) receives the pressing signal, and the built-in main control chip (18-1) of mouse is generated according to the signal Message, the message include the pressing signal of mouse game mode circulation selection key (17) and the mouse side switch (16) of current mouse Profile-number N, built-in main control chip (18-1) send the signal to computer through mouse signal transmission assembly (11);Meter After calculation machine receives the message and parses, mouse used in control software of the meeting according to built in current in main control chip (18-1) The profile-number N of side switch (16) is sent to key according to the configuration file selection instruction that circulation incremental order generates lower No.1 Disk and mouse.
6. computer input device sub-assembly according to claim 5, it is characterised in that: keyboard further includes keyboard game mould Formula recycles selection key (25) and at least one keyboard game function keys (26), and keyboard game function keys (26) are arranged in standard meter The left of calculation machine keyboard master keypad;
The position that each keyboard game mode indicator light (23) indicates (24) with corresponding keyboard game mode indicator light is corresponding, often A keyboard game mode indicator light (23) is located near corresponding keyboard game mode indicator light mark (24);Keyboard game mould Formula indicator light (23) is arranged with the instruction area that corresponding keyboard game mode indicator light indicates (24) composition in criterion calculation switch The upper left side of disk key master keypad.
7. computer input device sub-assembly according to claim 6, it is characterised in that: keyboard further includes keyboard game mould Formula directly selects key group (25-1) and at least one keyboard game function keys (26), and keyboard game function keys (26) setting exists The left of standard computer keyboard key master keypad;
It includes that M keyboard game mode directly selects key, each keyboard trip that keyboard game mode, which directly selects key group (25-1), It is backlight display key that play mode, which directly selects key, and each LED light setting of keyboard game mode indicator light (23) exists Corresponding keyboard game mode directly selects below each keycap of key group (25-1);Keyboard game mode indicator light indicates (24) The mode setting shown using light transmission is on the corresponding keycap that keyboard game mode directly selects key group (25-1);In this way when with After family presses the key that a certain keyboard game mode directly selects key group (25-1), the keyboard game mould below the key cap of key set The keyboard operating mode that formula indicator light (23) highlights key representative is selected, and specific mode can be shown by light transmission Keyboard game mode indicator light mark (24) mark;
When user directly selects a certain key of key group (25-1) by pressing keyboard game mode, certain Working mould has been selected Formula, computer can be selected after receiving the corresponding instruction of operating mode by sending corresponding configuration file to mating mouse Select the mode of instruction.
CN201610495577.3A 2016-06-29 2016-06-29 Computer input device sub-assembly Active CN106020507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610495577.3A CN106020507B (en) 2016-06-29 2016-06-29 Computer input device sub-assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610495577.3A CN106020507B (en) 2016-06-29 2016-06-29 Computer input device sub-assembly

Publications (2)

Publication Number Publication Date
CN106020507A CN106020507A (en) 2016-10-12
CN106020507B true CN106020507B (en) 2019-09-24

Family

ID=57104452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610495577.3A Active CN106020507B (en) 2016-06-29 2016-06-29 Computer input device sub-assembly

Country Status (1)

Country Link
CN (1) CN106020507B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SG11201810904RA (en) 2016-06-17 2019-01-30 Razer Asia Pacific Pte Ltd Display devices and methods for controlling a display device
CN107992206B (en) * 2016-10-26 2021-10-01 东莞宝德电子有限公司 Input device, computer system, and communication method
CN108479059B (en) * 2018-03-30 2021-12-07 北京汉德默兹克科技有限公司 Game interaction method and device based on keyboard
US10212793B1 (en) * 2018-07-16 2019-02-19 Logitech Europe S.A. Bandwidth optimization for streaming lighting effects
CN111081490A (en) * 2018-10-19 2020-04-28 昆盈企业股份有限公司 Method for dynamically adjusting backlight keyboard light-emitting mode
CN111158513B (en) * 2019-12-31 2021-12-24 联想(北京)有限公司 Information processing method, electronic device and information processing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2893781Y (en) * 2006-01-27 2007-04-25 昆盈企业股份有限公司 Inputting device with game preset operating function shifting key
CN1983126A (en) * 2005-12-14 2007-06-20 李伟高 Multifunctional keyboard for network games
CN206301295U (en) * 2016-06-29 2017-07-04 左莉 A kind of computer keyboard and computer entry device sub-assembly

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1433260A4 (en) * 2001-09-20 2009-04-22 Timothy B Higginson Universal keyboard

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983126A (en) * 2005-12-14 2007-06-20 李伟高 Multifunctional keyboard for network games
CN2893781Y (en) * 2006-01-27 2007-04-25 昆盈企业股份有限公司 Inputting device with game preset operating function shifting key
CN206301295U (en) * 2016-06-29 2017-07-04 左莉 A kind of computer keyboard and computer entry device sub-assembly

Also Published As

Publication number Publication date
CN106020507A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106020507B (en) Computer input device sub-assembly
CN206301295U (en) A kind of computer keyboard and computer entry device sub-assembly
US8378972B2 (en) Keyboard with increased control of backlit keys
US7284872B2 (en) Low power, low cost illuminated keyboards and keypads
JP2003527709A (en) Computer input device with independently configurable programmable switch
CN104850289A (en) Wireless control system, touch sensing electrode integration module, touch sensing module and manufacturing method thereof
WO2008077987A1 (en) Illumination arrangement
CN108445970A (en) Assembling electronic equipment and information processing method
JP2013218692A (en) Light emitting diode (led) illuminated keyboard
US20120249344A1 (en) Multi-color illuminated keyboard
CN2893781Y (en) Inputting device with game preset operating function shifting key
CN109804335A (en) Keyboard threshold value change device and keyboard
CN105682758A (en) Information processing system and information processing device
CA2870914C (en) Modular apparatus and system for reconfigurable user inputs
US20200363876A1 (en) Modular systems and methods for constructing electronic interfaces
CN202058098U (en) Multi-color light-emitting keyboard
CN202331357U (en) Dynamic visual organic light emitting diode (OLED) keyboard
CN104571569A (en) Game keyboard
CN201570410U (en) Luminous keyboard
WO2002103731A1 (en) A switch arrangement
CN206193750U (en) Colorful virtual keyboard
EP1866733A1 (en) Keyboard and method of selecting colors of keys of the keyboard
US20100238054A1 (en) Keyboard device and method for identifying different key functions on the keyboard device
US8540384B2 (en) Low power low cost illuminated keyboards and keypads
CN219815253U (en) Game controller with key conversion function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant