Background technology
The function key that known mouse provided (hotkeys) function, all be on the display of computing machine, to show one to have several images of representing function key (icons), and then utilize mouse to give me a little and select desired image, to make the function of computing machine carries out image correspondence.Yet the shortcoming of this mode mainly is a computing machine driver that cooperates mouse to use must be installed, otherwise computing machine is the image that can't demonstrate these function keys, and can't offers the user and click these images.Moreover, because the display frame of image function key tends to destroy original display frame, and causes the messy of picture, even when computing machine is play viewing and admiring of CD film, because the picture that display frame brought of image function key destroys, it is tired often to make user's heart begin to detest.
U.S. Pat P6,515,686B1 " computer system with shell side preface interface with and interface method (Computer system for interface of shell program andinterface method of the same) ", disclose a kind of utilize the roller key of mouse or utilize one of them button of keyboard to activate carry out shell side preface (shell program), and then by mouse roller upwards or move up to select and to carry out registration (registered) in one of them of several application programs of shell side preface.USP6,515, the 686B1 patent could cooperate mouse to carry out the use of function key after still finishing the mounting shell program on computers, moreover, because the shell side preface can demonstrate the representative image of application program on computer screen, can destroy original picture unavoidablely.
Because the popularization and application of Windows operating system, known keyboard all is provided with the several function key, and the manufacturer of Windows (for example MS) also provides the standard criterion of keyboard function key, and the function of these function keys is built in operating system in directly, must not see through the installation of the specific driver that cooperates keyboard and the traditional approach of execution again, and the function key that directly allows the user push lower keyboard can be carried out corresponding function immediately, and this man-machine interface brings great convenience.Yet these facility only is confined to keyboard, and known mouse can't provide this function easily.
The utility model creator is because the shortcoming of above-mentioned known technology, and urgently think improvement is the pointer input device of creating a kind of simulating keyboard function key input, allows the user of mouse directly utilize mouse to come computing machine is exported the output result of corresponding keyboard function key.
Summary of the invention
The utility model fundamental purpose provides a kind of pointer input device of simulating keyboard function key input, allows the user of mouse directly utilize mouse to come computing machine is exported the output result of corresponding keyboard function key.
For reaching the utility model above-mentioned purpose, the utility model provides a kind of pointer input device of simulating keyboard function key input, includes a plurality of buttons, and it is in order to produce the button variable signal; Change in displacement produces mechanism, and it is in order to produce the change in displacement signal; A microcontroller that connects a plurality of buttons and change in displacement generation mechanism is in order to receive button variable signal and change in displacement signal; It is characterized in that: when pointer input device is during in first mode of operation, microcontroller changes into corresponding pointer data signal in order to this button variable signal and the change in displacement signal that will receive; And when pointer input device be during in second mode of operation, microcontroller changes into corresponding keypad function key signals according to the button variable signal and according to change in displacement signal institute moving direction, translational speed.
The utility model has index input function and keyboard function key input function simultaneously concurrently, can provide operability more easily to computer.The utility model is identical with manufacturing cost under known index input device is compared, yet the utility model more increases the function with simulating keyboard, more promotes the overall value of product virtually.The utility model index input is combined in single index input device only simultaneously with the function key input, and practical person is provided the approach of another kind of input function key, and no longer be subjected to can only conventional keyboard can the input function key limitation.
Embodiment
Fig. 1 shows hardware structure figure of the present utility model.The pointer input device 10 of the utility model simulating keyboard function key input mainly includes: a plurality of buttons 103, change in displacement produce mechanism 105 and microcontroller 101.It is used for producing the button variable signal a plurality of button 103, and the user can see through pushing and decontroling of these buttons 103, allowing button 103 signal that changes, that is produces 0 and 1 voltage change signal.Change in displacement produces mechanism 105 and is used for producing the change in displacement signal, with the mouse is example, the specific embodiment that change in displacement produces mechanism 105 can be to be X-axis, Y-axis displacement coding circuit, when user's moving hand input media 10, change in displacement produces mechanism 105 along with the direction that pointer input device 10 moves produces corresponding change in displacement signal with the emergency that moves.Microcontroller 101 is that a plurality of buttons 103 of electric property connection produce mechanism 105 with change in displacement, is used for receiving above-mentioned button variable signal and change in displacement signal.Moreover, the output interface 107 of this creation is to be used for connecting computing machine 20, with the wire mouse is example, output interface 107 can be the USB engine circuit, it is used for the data that micro controller 101 is sent is packaged into the USB package, then this USB package is seen through USB cable and is sent to computing machine 20.
The main characteristic of the utility model pointer input device 10 is to provide two kinds of users' mode of operation to manipulate.Pointer input device 10 under first mode of operation mainly provides the pointer manipulation function of original pointer input device 10, with the mouse is example, mouse according to this creation, its first mode of operation promptly is as general mouse, offer the operation of user, and microcontroller 101 will receive the button variable signal and the change in displacement signal changes into corresponding pointer data signal to pointer.When mouse switches to second mode of operation by first mode of operation, mouse is modeled as keyboard immediately, rather than carry out general mouse function, the user of this moment can be by the custom of controlling mouse at ordinary times, with the alternative input of mouse operation and control as the keyboard function key input, from user's viewpoint, the operation mouse replaces directly keys in function key with keyboard.
The utility model mainly is characteristics of utilizing pointer input device 10, and these characteristics are transformed into concrete technological means, makes it to be applied to the input function of simulating keyboard function key.On pointer input device 10, possess characteristics such as moving direction that change in displacement is arranged, translational speed at least, and on pointer input device 10, possess at least a plurality of buttons 103 are arranged.With the mouse is example, and the concrete form of a plurality of buttons 103 is respectively left button, middle key and right button or the like.The micro controller 101 of this creation can be utilized moving direction, translational speed and button 103 variable signals etc. of change in displacement, with its combination, makes the simulation that corresponds to different keyboard function keys in different combinations under second mode of operation.Be example for example with mouse with left button, middle key and right button, it is applied to the fast control of multimedia, and this mouse under second mode of operation provides following function: the direction change in displacement that moves up that mouse produced that moves up is the simulation that corresponds to a first function key on the keyboard; Moving down the direction change in displacement that moves down that mouse produces is the simulation that corresponds to next function key of keyboard; The direction change in displacement that moves right that mouse produced that moves right is the simulation that corresponds to keyboard fast-forwarding function key; Being moved to the left the direction change in displacement that is moved to the left that mouse produces is the simulation that corresponds to keyboard rewind functions key; Pushing the variable signal of left button, is the simulation that corresponds to keyboard playing function key; Pushing the variable signal of middle key, is the simulation that corresponds to keyboard pause function key; Pushing the variable signal of right button, is the simulation that corresponds to the keyboard stopping function key.
Fig. 2 shows the process flow diagram of the performed program of microcontroller.Microcontroller 101 produces the button variable signal according to a plurality of buttons 103 that receive and judges whether it is the switching signal of switching first mode of operation or second mode of operation, if the words of switching signal, then carry out the switching of mode of operation again, switch the program that is back to reception button variable signal after finishing again.If not switching signal, then receive the program of change in displacement signal, come button variable signal and change in displacement signal are handled according to present pointer input device 10 present mode of operations then.Pointer input device 10 is if be in the words of first mode of operation at present, then microcontroller 101 changes into corresponding keypad function key signals with button variable signal and the change in displacement signal that receives, with the mouse is example, that is to signals that operation produced such as left button, right button and middle key or pointer displacement as the pointer data signal.Pointer input device 10 is if be in the words of second mode of operation at present, then microcontroller 101 changes into corresponding keypad function key signals with button variable signal and the change in displacement signal that receives, with the mouse is example, that is to signals that operation produced such as left button, right button and middle key or pointer displacement as simulating keyboard function key signal.
The utility model pointer input device 10 further includes the switching mechanism that is used to switch first mode of operation and second mode of operation, with the mouse is example, and the concrete enforcement means of switching mechanism can be that microcontroller 101 can be according to the button variable signal that receives in order to switch the mode of operation of pointer input device 10.For example simultaneously by depressing existing left button and right button, decontrol existing middle key again in the existing middle key of pushing of triplicate then, thus generated button variable signal is used as switching mechanism; The mode switching key 103a that for example sets up by depressing again utilizes its button variable signal that produces to be used as switching mechanism.
Moreover, pointer input device 10 of the present utility model is when when second mode of operation is operated, in order to confirm further whether the button variable signal and the change in displacement signal that are produced are error signal, for example the user moves to pointer input device 10 and the error signal of generation change in displacement signal without intent, the utility model can utilize the enter key 103b that is set up, when the user by the situation of depressing enter key 103b and keeping pushing under, button variable signal that is produced and change in displacement signal just can be accepted by pointer input device 10.
The specific embodiment of the utility model pointer input device 10 can also be trace ball, rocking bar an or the like input media except above-mentioned mouse.
The utility model pointer input device 10 produces corresponding keypad function key signals in second mode of operation can be sent to computing machine 20 through above-mentioned output interface 107, and corresponding keypad function key signals for example sees through the USB engine and is packaged into USB keyboard package.Say from the angle of computing machine 20, computing machine 20 thinks it is to receive the USB keyboard package that keyboard sends, this creation pointer input device 10 mode by this simulates the input of keyboard function key, in view of the above, the keypad function key signals of above-mentioned correspondence can be corresponding keys dish function key scan code (scancode) signal in embodiment.
The utility model pointer input device 10 can also further provide the use as the input of simulating keyboard function key except that can be used as general pointer input device uses.The pointer input device 10 above-mentioned characteristics that possess, allly be familiar with the quantity that this operator can spread to easily and enlarge the simulating keyboard function key, for example the change in displacement of above-mentioned four direction can be spreaded in eight directions, the emergency of change in displacement timeliness for example again, that is the sum of change in displacement signal at the fixed time, also be one of characteristics, these characteristics that pointer input device 10 possessed are enlarged combination and change the quantity that the simulation of greater functionality key, and all variation categories like this all are to belong to the utility model.
Haveing the knack of present technique person must understand and can carry out multiple different modification to this creation in the spirit of this creation and viewpoint.And this creation is to contain by any modifications and changes in the viewpoint of containing meaning of the scope of claim and equity thereof.