Background technology
The human-computer interaction interface of computing machine depends on one or more input equipments.Wherein, the guidance type input equipment comprises keyboard, mouse, handle etc.The characteristic of these guidance type input equipments differs, so suitable environment is also also incomplete same.
Input equipment comprises following dual mode on basic classification:
Pointing apparatus: basic operation is " sensing " and " click ", for example mouse.Advantage is that the sensing of vision guide is flexible; Shortcoming is that keystroke is less, and is insufficient for utilizing of both hands.
Keystroke equipment: finish feature operation by keystroke substantially.Advantage is that control function is more, and is abundant to the both hands utilization; Shortcoming is that visually oriented mode is dumb.
" guidance quality " or " vision guide " narrated above are meant:
Unidirectional guiding: in keyboard, the guiding of being undertaken by tab key is unidirectional guiding.Unidirectional guiding can be expanded to two-way guiding easily, and next point at objects becomes " ± 1 " to be offset with current object in sequence.
Multidirectional guiding: in keyboard, the guiding that cursor key carries out be multidirectional (up and down) guiding, its guide direction be limited to.
Scalar property's guiding: mouse does not have clear and definite tropism in arbitrary moment of moving, can be with being intended to the visual interface roaming.
The property difference that exists between distinct device, making computer system have multiple input equipment becomes certainty, and this is comprising handheld device.The rocking bar of handle has the feature of scalar property guiding, but the tracking cross key feature of the multidirectional guiding of tool again; More button makes its characteristics with keystroke equipment, but bond number compares with keyboard and have a great gap, and therefore the complicated function of combination has difficulties again.
For the computer user needn't frequently be switched between plurality of devices, present most of operating systems or application software all provide the pattern of multiple input equipment married operation.For example a button on the interface can be pressed with click, also can press with a shortcut of keyboard.But, in present every technological invention, almost not to improving the effort that the handle human-computer interaction interface is made.Because handle is to be introduced into as a kind of game tool, the normal conditions lower handle seldom uses in other application programs as just a kind of instrument in when recreation.So handle has become a kind of special instrument, it is very narrow that range of application becomes.The operation of handle allows the user feel pretty troublesome, and the switching back and forth between several input equipments simultaneously also allows user's headache.
Embodiment
The method of handle key grouping definition of the present invention, must overlay keyboard, whole user interface interaction characteristics of general human-computer interaction device such as mouse comprise the steps (see figure 1):
(1) be visually oriented with the handle key assignments and function triggers two groups, and described visually oriented group includes tropism's feather key, simulation tropism's feather key or scalar property's feather key, and described function triggering group comprises the basic function key;
(2) with the operation of input equipment behavior set by step (1) described grouping and setting be mapped on the handle button;
(3) the handle button mapping settings of preservation step (2).
The inventive method with the human-computer interaction interface of handle abstract be the most basic model, being about to handle key grouping definition is " visually oriented " and " function triggering ".On function triggered, the setting basic function comprised " the determining " to behavior at least.Based on this principle, the cancellation of behavior be can be expressed as the function of " determining " a kind of cancellation.But implementing the behavior for what mode of use, but is not crucial.For example in mouse, press left button, in keyboard, press carriage return; Some application software are also used by the Y key of lower keyboard and are implemented to determine behavior.
According to the inventive method, single button switch is a kind of equipment of zero guiding: it has single function, does not need guiding.In like manner, mouse is a kind of scalar property's equipment." visually oriented " and " function triggering " model is applied in the handle key definition, and it is as shown in table 1 below to produce first handle key grouping definition:
Table 1
Grouping |
Comprise key or device |
Visually oriented |
Rocking bar 1 rocking bar 2 tracking cross keys |
Function triggers |
4~6 basic function keys (being designated ABXY etc.) special function keys Select, 2~3 groups of extended functional key of Start (being designated L1, R1, L2, R2, L3, R3 etc.) |
In table 1, the basic function key can be designated ABXY etc., and extended functional key can be designated L1, R1, L2, R2, L3, R3 etc., and those signs only are the descriptions for the ease of following grouping definition, and is not limited to the printing printed words on the concrete input equipment.
But it is any convenient that the grouping of table 1 definition can not bring for the use of application software, because it is in fact without any the functional meaning of determining.So, second handle key grouping definition (as shown in table 2) need be provided:
Table 2
Wherein, basic function comprises (seeing Table 3):
Table 3
As setting, will be described in detail the present invention below and divide into groups to define fixed packet content general human-computer interaction interface.The set one of this packet content comprises (seeing Table 4):
Table 4
Grouping |
Functional meaning |
Comprise key or device |
Visually oriented |
The aeoplotropism guiding |
Tracking cross key (four-way up and down) |
Basic function |
Determine the behavior on the visual focus |
The A key |
The set two of this packet content comprises (seeing Table 5):
Table 5
Grouping |
Functional meaning |
Comprise key or device |
Visually oriented |
Scalar property's guiding |
The handle rocking bar |
Basic function |
Determine the behavior on the visual focus |
The A key |
Set one is the interbehavior of a definite user interface of standard.But generally, can comprise that also the B key is to form set three (seeing Table 6):
Table 6
Set two has possessed complete user interface interaction ability, and for example it can simulate the singly-bound mouse of apple series, and finishes equal interactive operation in the Mac system.But, also must add the B key and form set four (seeing Table 7) for the environment of the compatible two key mouses of use such as MicrosoftWindows:
Table 7
The mouse of singly-bound and two key (and compatible two key) has been shone upon in grouping definition set two and set four respectively.The three basic interactive modes of having shone upon keyboard are unified and gathered to the grouping definitions set.In addition, other key on the handle or device are defined as the shortcut of keyboard key (or application function).For example gather five (seeing Table 8):
See Table 8
There is relation in set five with concrete application and operation, thus this set be one general, with gather one to four example of not conflicting.As long as the standard in set one to four is fixed the setting of carrying out approximately, can satisfy the described handle key grouping definition narration of this programme.From another angle, may not have on some handles above-mentioned key partly or entirely, therefore gathering five is insignificant for these handles.
Then, operation of input equipment behaviors such as mouse, keyboard are mapped on the handle button by above-mentioned grouping definition, and preserve this handle button mapping settings.
The grouping of handle key finally is implemented in the computer system by form of software, and this realization permission user breaks away from mouse fully, keyboard comes the operational computations machine.Because whole operation behaviors of keyboard, mouse have been shone upon in the grouping of front definition, therefore the method for handle key grouping definition of the present invention can only use handle just to finish whole operation behaviors of keyboard, mouse.
In one embodiment of the invention, be example with game paddle shown in Figure 2, with reference to the statement of the inventive method to handle key grouping definition set three (seeing Table 6), this handle uses following button to finish the basic operation Behavior modeling (seeing Table 9) of keyboard:
Table 9
With reference to the statement of the inventive method to handle key grouping definition set four (seeing Table 7), this handle uses the basic operation Behavior modeling (see Table 10) of following button to finish mouse:
Table 10
Wherein each basal keystroke is as shown in table 11 to the mapping relations of keyboard:
Table 11
This handle goes out the part key and shines upon keyboard key or function voluntarily for different application programs surplus.On the basis of the inventive method to handle key grouping definition set five, some different buttons are set at (seeing Table 12):
Table 12
Grouping |
The handle key |
Keyboard key/function |
System's specific function |
Strart |
Ctrl+Home |
The key configurations of this game paddle as sign, is being deposited the configuration file ini file of handle with the key ID in " game console " in the MS window control panel under the joyconfig catalogue.Sign in ini file is as follows:
KEY1=1, KEY2=2, KEY3=3, KEY4=4, KEY5=5, KEY6=6, KEY7=7, KEY8=8, KEY9=9, KEY10=10, KEY11=11, KEY12=12, wherein, the numerical value on equal sign right side is the key (KeyCode) in the scan code (ScanCode), and its configuration implication is: if supress the KEY1 of game paddle, then handle simulating keyboard module can send the keyboard message of ScanCode=1, and the button of ScanCode=1 is decided to be the A key approximately in system; Allow the KEY2=A key if desired, then only KEY2=1 need be got final product.If forbid certain game paddle message, then the scan code of this KEY is set to 0.The same WM KEYDOWN message that produces of handle orientations key with other key, its scan code is fixed as following value:
KEYLEFT=16;
KEYRIGHT=17;
KEYUP=18;
KEYDOWN=19。
Handle setting program guiding user is provided with the handle button, and preserves and be provided with in the ini file of result to the joyconfig catalogue.Then, notify the handle button of the handle simulating keyboard module loading user setting that has been activated and the configuration file of keyboard map.
Handle simulating keyboard module is the application program that the game paddle device events is converted to the Windows press key message.Receive the input data of handle when this module after,, be correct conventional Windows keyboard message with the input data conversion of handle according to the configuration in the configuration file.Handle simulating keyboard module can monitor the plug of handheld device, inserts at every turn or pull out handheld device, and handle simulating keyboard module can rearrange current game paddle equipment serial number.Being provided with after the change of handle needs notice handle simulating keyboard modular program to reload the configuration item of corresponding handle.