CN117742506B - Operation method and device for enhanced keyboard and related components - Google Patents
Operation method and device for enhanced keyboard and related components Download PDFInfo
- Publication number
- CN117742506B CN117742506B CN202311777617.XA CN202311777617A CN117742506B CN 117742506 B CN117742506 B CN 117742506B CN 202311777617 A CN202311777617 A CN 202311777617A CN 117742506 B CN117742506 B CN 117742506B
- Authority
- CN
- China
- Prior art keywords
- key
- function
- keys
- combination
- target
- 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
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides an operation method and device for an enhanced keyboard and related components. The operation method comprises the steps of obtaining target function keys in a system registry, and forming function combination keys from the target function keys in at least two combination modes to achieve the function of the simulated mouse, wherein the first combination mode is to map the target function keys into operation function keys, combine the operation function keys with original function keys to form function combination keys, and the second combination mode is to combine the target function keys with the original function keys directly to form function combination keys. The user can finish the operation of simulating the mouse by pressing the function combination key on the keyboard, and in the input process, the user can finish all the operations of the computer on the keyboard without the help of the mouse, thereby improving the input efficiency.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for enhancing keyboard operation, and related components.
Background
The mouse and the keyboard are common input devices, the mouse has the function of positioning a cursor, the keyboard has the function of inputting characters, and because the functions of the mouse and the keyboard are different, a user usually needs to match the mouse with the keyboard for use when operating, namely, the cursor is positioned to a position to be input through the mouse, then the text content is input through the keyboard, and in the whole operation process, the right hand needs to move back and forth between the keyboard and the mouse. However, for some special application scenarios, such as in the context of code or codeword tapping, the overall operation is quite inefficient.
Disclosure of Invention
The embodiment of the invention provides an operation method, an operation device and related components of an enhanced keyboard, and aims to solve the problem of low efficiency in the prior art.
In a first aspect, an embodiment of the present invention provides a method for enhancing an operation of a keyboard, including:
Acquiring an index structure of a system registry, and inquiring a target index according to the index structure to obtain a plurality of original function keys serving as a plurality of target function keys;
mapping at least one target function key into an operation function key, and combining at least one operation function key with at least one other original function key to form a function combination key so as to realize a first function of the simulated mouse;
and combining at least one target function key with at least one other original function key to form a function combination key so as to realize a second function of the simulated mouse.
In a second aspect, an embodiment of the present invention provides an operation device for enhancing a keyboard, including:
The acquisition unit is used for acquiring an index structure of the system registry, inquiring a target index according to the index structure to obtain a plurality of original function keys serving as a plurality of target function keys;
The mapping unit is used for mapping at least one target function key into an operation function key, and combining at least one operation function key with at least one other original function key to form a function combination key so as to realize a first function of the simulated mouse;
and the combining unit is used for combining at least one target function key with at least one other original function key to form a function combination key so as to realize the second function of the simulated mouse.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method of operating an enhanced keyboard as described above when the computer program is executed.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements a method of operating an enhanced keyboard as described above.
The embodiment of the invention provides an operation method and device for an enhanced keyboard and related components. The operation method comprises the steps of obtaining target function keys in a system registry, and forming function combination keys from the target function keys in at least two combination modes to achieve the function of the simulated mouse, wherein the first combination mode is to map the target function keys into operation function keys, combine the operation function keys with original function keys to form function combination keys, and the second combination mode is to combine the target function keys with the original function keys directly to form function combination keys. The user can finish the operation of simulating the mouse by pressing the function combination key on the keyboard, and in the input process, the user can finish all the operations of the computer on the keyboard without the help of the mouse, thereby improving the input efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for enhancing keyboard operation according to an embodiment of the present invention;
FIG. 2 is a schematic sub-flowchart of an operation method of an enhanced keyboard according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another sub-flowchart of a method for enhancing keyboard operation according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another sub-flowchart of a method for enhancing keyboard operation according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another sub-flowchart of a method for enhancing keyboard operation according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another sub-flowchart of a method for enhancing keyboard operation according to an embodiment of the present invention;
FIG. 7 is a schematic block diagram of an operation device of an enhanced keyboard according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a subunit of an enhanced keyboard operation device according to an embodiment of the present invention;
FIG. 9 is a schematic block diagram of another subunit of an enhanced keyboard operation device according to an embodiment of the present invention;
FIG. 10 is a schematic block diagram of another subunit of an enhanced keyboard operation device according to an embodiment of the present invention;
FIG. 11 is a schematic block diagram of another subunit of an enhanced keyboard operation device according to an embodiment of the present invention;
Fig. 12 is a schematic block diagram of another subunit of an operation device for enhancing a keyboard according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the invention mainly aims at the operating method of the enhanced keyboard for high-efficiency input of practitioners with higher requirements on typing input experience, such as programmers or typewriters, and can be realized through various programming languages, such as programming languages of C/C++, python, autoHotKey and the like, wherein AutoHotkey is a free and open-source custom script programming language and is used for automating various tasks, shortcut keys, custom tools and other scenes; it enables a user to write scripts to implement keyboard shortcuts, mouse operations, automation tasks, and create custom operating scripts. For convenience of explanation, the embodiment of the invention mainly aims at the Windows operating system, and AutoHotkey programming language is selected as the development programming language for explanation.
The preparation work of the embodiment of the invention comprises the following steps: downloading and installing AutoHotKey an installation package in advance, then creating a text file, changing the suffix name of the text file into ahk, obtaining a development file, editing the development file to start development of related functions, and finally running the development file to use the related functions of the function combination keys.
Referring to fig. 1, an embodiment of the present invention provides an operation method of an enhanced keyboard, including steps S10-S30:
s10, acquiring an index structure of a system registry, and inquiring a target index according to the index structure to obtain a plurality of original function keys serving as a plurality of target function keys;
In this step, the configuration information of the application program is stored in the system registry, and the user can access and modify the configuration information to achieve a new operation effect. The script content of the system registry is as follows:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\KeyboardLayout]
"Scancode Map"=
hex:00,00,00,00,00,00,00,00,04,00,00,00,1D,E0,5C,E0,1D,E0,5D,E0,5D,E0,38,00,00,00,00,00.Windows Registry Editor Version 5.00 In order to obtain the index structure of the system registry, query the target index corresponding to the configuration information of each function key on the keyboard according to the index structure, obtain a plurality of original function keys of the keyboard according to the target index, take the plurality of original function keys as target function keys, and then modify the configuration information of the target function keys. The following are two ways of modifying the configuration information.
S20, mapping at least one target function key into an operation function key, and combining at least one operation function key with at least one other original function key to form a function combination key so as to realize a first function of the simulated mouse;
The first mode of modifying configuration information is that the required target function key is mapped into the operation function key through modifying the system registry, if a plurality of required target function keys exist, the mapping is carried out for a plurality of times, after the mapping, the original function effect of the target function key is kept, the operation function key can be realized, then the operation function key and other original function keys are combined to form a function combination key, and the first function of the simulated mouse can be realized by pressing the function combination key. For example, the target function key is a left Ctrl key, the left Ctrl key is mapped to a right Alt key, the combination of the left Ctrl key and the C key is pressed to copy, after the mapping, the left Ctrl key and the C key can still be pressed to copy, the right Alt key and the C key can also be pressed to copy, the right Alt key and other letter keys or number keys can be combined to form a new function combination key, and the new function combination key can be pressed to realize the first function of the simulated mouse. The specific function of the first function of the analog mouse is described in the following steps.
Specifically, as shown in fig. 2, S20 includes S21 to S22:
s21, selecting a common key on the left side of the keyboard from a plurality of target function keys, and mapping the common key to a very common key on the keyboard to obtain an operation function key;
S22, respectively combining the operation function keys with a plurality of other original function keys to form a plurality of function combination keys so as to realize the functions of simulating left click, right click, downward rolling of a roller, upward rolling of the roller, cursor movement, long-time pressing of the left key and cursor positioning of the mouse.
The method is characterized in that the left-hand thumb is very close to the left-hand function key, so the left-hand function key is also called a left-hand common key, the right-hand key is required to move back and forth on the keyboard and the mouse in the process of using the keyboard, the right-hand function key of the keyboard is not convenient to press the right-hand function key, the left-hand common key is less in use and is also called an unusual key, the unusual key comprises default functions of a plurality of systems, and the unusual key has no additional function except the functions of the unusual key, so the function combination key is formed by combining the unusual key with other original function keys, and can be used for simulating mouse operation without using a mouse, namely the unusual key can be set as the function key of the simulated mouse, and all operations of a computer can be completed by combining the unusual key on the left-hand with the function key of the simulated mouse. The specific procedure of setting the very-popular key as a function key of the analog mouse is shown in steps S21 and S22, and is specifically described below by way of examples.
The common keys on the left side include a left Ctrl key, a left Alt key, a left Shift key, a Capslock key and a Tab key, the common keys include a right Ctrl key, a right Alt key, a right Shift key and an Apps key (also called Appl key), the original function keys include all function keys (letter keys, number keys, symbol keys and the like) on the keyboard, for example, the left Ctrl key is selected as a target function key, the left Ctrl key is mapped as Apps key, the Apps key is an operation function key, and then the Apps key is combined with a plurality of original function keys to form a plurality of function combination keys, namely:
The functions of left click and right click of the mouse are respectively realized through the function combination keys of apps+N and apps+M; the functions of downward rolling wheels and upward rolling of the mouse are respectively realized through function combination keys of apps+D and apps+F; the long-press function of the left key of the mouse is realized through the function combination key of the apps+ comma key, at the moment, the mouse can be moved by using the following function combination key to realize operations such as dragging files, selecting texts and the like, and if the function combination key is used again, the long-press state of the left key of the mouse is canceled; the cursor is respectively moved leftwards, downwards, upwards and rightwards through the function combination keys of apps+ H, apps + J, apps +K and apps+L; the cursor position is respectively moved to the center position of the current window, the center position of the main screen and the center position of the auxiliary screen through the combination keys of apps+ I, apps +ctrl+I and apps+ctrl+shift+I; the cursor is positioned to different positions of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the screen respectively through (Apps+Y、Apps+Ctrl+YApps+Ctrl+Shift+Y)、(Apps+U、Apps+Ctrl+U、Apps+Ctrl+Shift+U)、(Apps+O、Apps+Ctrl+O、Apps+Ctrl+Shift+O) and the functional combination keys of (apps+ P, apps +ctrl+ P, apps +ctrl+shift+P); the cursor is respectively stabilized at the central positions of the left side, the right side, the upper side and the lower side of the screen through the function combination keys of apps+L (single click L), apps+L (double click L), apps+Ctrl+L (single click L) and apps+Ctrl+L (double click L).
The first function of the simulated mouse, namely the functions of left click, right click, roller downward scrolling, roller upward scrolling, cursor movement, left key long pressing and cursor positioning of the simulated mouse can be realized through the function combination keys.
S30, combining at least one target function key with at least one other original function key to form a function combination key so as to realize a second function of the simulated mouse.
The second mode of modifying the configuration information is different from the first mode in that the second function of the simulated mouse can be realized by only combining the target function key with other original function keys to form a function combination key without mapping the target function key in the second mode. The first function and the second function of the simulated mouse are original functions of the mouse, and the functions of the simulated mouse are subdivided into the first function and the second function due to different modification modes, and the specific functions of the second function are specifically described in the following steps.
Specifically, as shown in FIG. 3, S30 includes steps S31-S33;
s31, combining the target function key with a plurality of letter keys respectively to obtain a function combination key so as to realize the function of switching the corresponding application program;
S32, when at least two same application programs are opened, detecting whether the following conditions are met: the target function key is in a pressed state and the corresponding letter key is clicked for a plurality of times;
and S33, if the click times are met, switching to one corresponding application program according to the click times.
The second function combination key is combined in the combining process shown in S31-S33, and is specifically described below through examples. Selecting Capslock keys as target function keys, switching to a specified (corresponding) application program is achieved through function combination keys of Capslock + letter keys, such as: the Chome browser is opened through the function combination key of Capslock +H, the Edge browser is opened through the function combination key of Capslock +Y, and the folder is opened through the function combination key of Capslcok +U.
If multiple browsers are opened simultaneously or multiple windows are opened in one browser, whether the Capslock keys are in a pressed state or not and whether the corresponding letter keys (corresponding function combination keys) are clicked multiple times or not is detected through a detector, if yes, the 2 nd window or the 2 nd browser can be positioned by pressing the Capslock keys and rapidly clicking the 2 nd letter keys for a short time, then subsequent operations (namely, the excessive windows can be selected to be closed or searching can be performed in the current window) are performed, namely, the window or the browser is required to be positioned, for example, the chome browser opens the 2 windows by pressing the Capslock keys and rapidly clicking the letter keys corresponding to the times in a short time, then the Capslock keys are pressed and the 2H keys are tapped, and then the 2 nd chome browser window can be positioned.
The second function of the simulated mouse, namely the function of switching the corresponding application program, can be realized through the function combination key.
Specifically, S30 further includes: and respectively combining the target function key with a plurality of other original function keys to obtain a plurality of function combination keys so as to realize the simulation of window movement, window enlargement, window reduction, window display and window hiding.
The third step is a combination mode of the third function combination key, and is different from a combination mode of the second target function key and one original function key (namely one letter key), wherein the third target function key can be combined with a plurality of original function keys at the same time. The following is a detailed description of examples.
Selecting a Ctrl key as a target function key, and respectively realizing leftward, downward, upward and rightward movement of a window through the function combination keys of Ctrl+Alt+Shift+ H, ctrl +Alt+Shift+ J, ctrl +Alt+Shift+K and Ctrl+Alt+Shift+L; realizing full-screen amplification and displaying a window through a function combination key of Ctrl+space+G; the window is reduced and hidden through the function combination key of Ctrl+ Sapce +B. It should be noted that, in the case of dual-screen operation, the function of enabling the current application window to move rapidly between 2 display screens can be implemented by the function combination key of ctrl+space+q. In addition, the Space key can be selected as a target function key, and a function combination key is formed by combining the Space key and the letter key, so that the function of simulating window display can be realized, for example, the function combination key of space+Q is used for realizing that the current window occupies the left half part of the display and the function combination key of space+O is used for realizing that the current window occupies the right half part of the display screen.
The second function of the simulation mouse, namely, the simulation window movement, window enlargement, window reduction, window display and window hiding can be realized through the function combination key.
In addition, the window can be enlarged and reduced by the combination mode of the second function combination key, namely, the window of the application program is gradually enlarged and displayed by the function combination key of the Capslock plus key, and the window of the current application program is gradually reduced and displayed by the function combination key of the Capslock plus minus key.
Specifically, as shown in fig. 4, S30 further includes steps S34 to S35:
S34, selecting a Space key as a target function key, and combining the Space key with a plurality of number keys and a plurality of letter keys respectively to form a plurality of function combination keys;
and S35, when the Space key is detected to be in a pressed state and the corresponding number key or the letter key is clicked, the functions of simulating case switching, language switching, window top setting, window closing, window refreshing and window translucency are realized.
The method comprises the steps that in the second function combination key combination mode, firstly, a default letter uppercase input switch function of a Capslock key system is canceled, then, a Space key is set, when the Space key is clicked, the Space input function is unchanged, when the Space key is pressed and not released (namely, the Space key is selected as a target function key), other original function keys are combined to form a specific shortcut key (a function combination key), and the uppercase input is opened or closed through the function combination key of space+1 so as to solve the problem that uppercase letters need to be input in a large batch; opening or closing Chinese and English character input through the function combination key of space+2; the current window is opened or closed to be set on top through a function combination key of space+3, wherein the operation is needed to be realized through third-party software; the window scroll bar is respectively scrolled leftwards and rightwards through function combination keys of space+C and space+V; the translucence of the current window is realized through the function combination key of space+6.
The function combination key can realize the functions of simulating the mouse, namely, the functions of simulating case and case switching, language switching, window top setting, window closing, window refreshing and window translucency.
In addition, the function of closing or refreshing the current window (the current application program) can be realized in a combined mode of the first function combination key, namely, the function combination key of Alt+F5 is mapped through the function combination key of space+4, so that the current window or the application program can be quickly closed; the F5 key is mapped through the function combination key of space+5 to realize the refreshing of the current page and window, and the function combination key can be operated without greatly moving fingers.
As shown in fig. 5, steps S40 to S50 are further included:
S40, setting character labels for all application icons in the task bar, and displaying the character labels at the upper positions of the application icons in the task bar;
s50, setting shortcut keys associated with the application icons according to the character labels so as to realize the function of switching the corresponding application programs.
In the third mode of modifying configuration information, since more applications want to operate through the function combination keys, the task bar can be used, character labels are set for all application icons in the task bar, the character labels are displayed at positions above the application icons, and then shortcut keys corresponding to the application icons are set, and the corresponding application programs can be quickly switched by pressing the shortcut keys. The character labels can be displayed or hidden by pressing the display key or the hidden key, for example, the character labels of the task bar are displayed through the display key of Win+space, so that the application program for displaying the character labels can be conveniently switched; the character labels of the taskbar are hidden by hidden keys of the Esc key or Capslock keys.
Specifically, as shown in fig. 6, S50 includes steps S51 to S53:
S51, setting a target function key corresponding to the character label as a shortcut key associated with an application icon;
s52, or combining the target function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon;
S53, or combining the operation function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon.
In the step, three modes are adopted to form a shortcut key associated with the application icon, wherein the first mode is to directly set a target function key corresponding to the character label as the shortcut key, for example, the target function key corresponding to the character label is a G key, and then the shortcut key is the G key; the second method is to combine the target function key corresponding to the character label with other original function keys to form a function combination key (namely, the second combination mode of the function combination key), for example, the target function key corresponding to the character label is a G key, the selected original function key is a Space key, and then the function combination key can be a g+space, and the function combination key is used as a shortcut key; and thirdly, mapping the target function key corresponding to the character label into an operation function key, and then combining the operation function key corresponding to the character label with other original function keys to form a function combination key (namely, a first combination mode of the function combination key), wherein for example, the target function key corresponding to the character label is a G key, the G key is mapped into an F1 key, the F1 key is an operation function key, the selected original function key is a Space key, and then the function combination key can be F1+ Space, and the function combination key is used as a shortcut key. The function of switching the corresponding application program can be realized through the three shortcut keys.
The embodiment of the invention aims to improve the working efficiency of related personnel with higher requirements on keyboard input, such as programmers, typists and the like, and in the working process, all related operations of a computer can be completed by only needing to put two hands on the keyboard and move the fingers in a small range without a mouse.
The embodiment of the invention also provides an operation device of the enhanced keyboard, which is used for executing any embodiment of the operation method of the enhanced keyboard. Specifically, referring to fig. 7, fig. 7 is a schematic block diagram of an operation device of an enhanced keyboard according to an embodiment of the present invention. The operation device 700 of the enhanced keyboard includes:
an obtaining unit 710, configured to obtain an index structure of a system registry, and query a target index according to the index structure to obtain a plurality of original function keys as a plurality of target function keys;
a mapping unit 720, configured to map at least one target function key to an operation function key, and combine at least one operation function key with at least one other original function key to form a function combination key, so as to implement a first function of the simulated mouse;
in one embodiment, as shown in fig. 8, the mapping unit 720 includes:
a selection unit 721, configured to select a common key on the left side of the keyboard from the plurality of target function keys, and map the common key to a very common key on the keyboard, so as to obtain an operation function key;
The first combination subunit 722 is configured to combine the operation function keys with a plurality of other original function keys, respectively, to form a plurality of function combination keys, so as to implement functions of simulating left click, right click, scroll down, scroll up, cursor movement, long press of the left key, and cursor positioning of the mouse.
And a combining unit 730, configured to combine at least one of the target function keys with at least one other original function key to form a function combination key, so as to implement a second function of the simulated mouse.
In one embodiment, as shown in fig. 9, the combining unit 730 includes:
A second combination subunit 731, configured to combine the target function key with a plurality of letter keys respectively to obtain a function combination key, so as to realize switching functions of the corresponding application program;
a first detecting unit 732, configured to detect whether the following conditions are satisfied when at least two applications are opened by the same application: the target function key is in a pressed state and the corresponding letter key is clicked for a plurality of times;
And the switching unit 733 is used for switching to one of the corresponding application programs according to the clicking times if the clicking times are met.
In one embodiment, the combining unit 730 further includes:
And the third combination subunit is used for respectively combining the target function key with a plurality of other original function keys to obtain a plurality of function combination keys so as to realize the simulation of window movement, window enlargement, window reduction, window display and window hiding.
In one embodiment, as shown in fig. 10, the combining unit 730 further includes:
a fourth combination subunit 734, configured to combine the Space key in the target function key with a plurality of number keys and a plurality of letter keys, respectively, to form a plurality of function combination keys;
the second detecting unit 735 is configured to implement functions of case-case switching, language switching, window top setting, window closing, window refreshing, and window translucency when the Space key is detected to be in a pressed state and a corresponding number key or a letter key is clicked.
As shown in fig. 11, the operation device 700 of the enhanced keyboard further includes:
a display unit 740 for setting character labels for all application icons in the task bar and displaying at upper positions of the application icons in the task bar;
and the association unit 750 is used for setting a shortcut key associated with the application icon according to the character label so as to realize the function of switching the corresponding application.
In one embodiment, as shown in fig. 12, the association unit 750 includes:
A first association subunit 751, configured to set a target function key corresponding to the character label as a shortcut key associated with an application icon;
Or a second association subunit 752, configured to combine the target function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon;
or a third association subunit 753, configured to combine the operation function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon.
The embodiment of the invention provides a computer device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the operation method of the enhanced keyboard according to the previous embodiment when executing the computer program.
Embodiments of the present invention provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of operating an enhanced keyboard as described in the previous embodiments.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units may be stored in a storage medium if implemented in the form of software functional units and sold or used as stand-alone products. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (7)
1. A method of operating an enhanced keyboard, comprising:
Acquiring an index structure of a system registry, and inquiring a target index according to the index structure to obtain a plurality of original function keys serving as a plurality of target function keys;
mapping at least one target function key into an operation function key, and combining at least one operation function key with at least one other original function key to form a function combination key so as to realize a first function of the simulated mouse;
Combining at least one target function key with at least one other original function key to form a function combination key so as to realize a second function of the simulated mouse;
the operation method of the enhanced keyboard further comprises the following steps:
setting character labels for all application icons in a task bar, and displaying the character labels above the application icons in the task bar, wherein the character labels can be displayed or hidden by pressing a display key or a hidden key;
setting a shortcut key associated with an application icon according to the character label so as to realize the function of switching the corresponding application;
Setting a shortcut key associated with an application icon according to the character label to realize the function of switching the corresponding application, including:
setting a target function key corresponding to the character label as a shortcut key associated with an application icon;
or combining the target function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon;
Or combining the operation function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon;
the combining at least one target function key with at least one other original function key to form a function combination key, so as to realize a second function of the simulated mouse, comprising:
combining the target function key with a plurality of letter keys respectively to obtain a function combination key so as to realize the function of switching the corresponding application program;
When at least two of the same application programs are opened, detecting whether the following conditions are satisfied: the target function key is in a pressed state and the corresponding letter key is clicked for a plurality of times;
If yes, switching to one of the corresponding application programs according to the clicking times.
2. The method of claim 1, wherein mapping at least one of the target function keys to an operation function key, and combining at least one of the operation function keys with at least one other original function key to form a function combination key, comprises:
selecting a common key on the left side of the keyboard as a target function key, and mapping the common key to a very common key on the keyboard to obtain an operation function key;
And respectively combining the operation function keys with a plurality of other original function keys to form a plurality of function combination keys so as to realize the functions of simulating left click, right click, roller downward rolling, roller upward rolling, cursor movement, left key long pressing and cursor positioning of the mouse.
3. The method of claim 1, wherein combining at least one of the target function keys with at least one other original function key to form a function combination key to implement a second function of the simulated mouse comprises:
and respectively combining the target function key with a plurality of other original function keys to obtain a plurality of function combination keys so as to realize the simulation of window movement, window enlargement, window reduction, window display and window hiding.
4. The method of claim 1, wherein combining at least one of the target function keys with at least one other original function key to form a function combination key to implement a second function of the simulated mouse comprises:
Selecting a Space key as a target function key, and combining the Space key with a plurality of number keys and a plurality of letter keys respectively to form a plurality of function combination keys;
when the Space key is detected to be in a pressed state and the corresponding number key or the letter key is clicked, the functions of simulating case-case switching, language switching, window top setting, window closing, window refreshing and window translucency are realized.
5. An enhanced keyboard operating device for implementing the enhanced keyboard operating method according to any one of claims 1 to 4, comprising:
The acquisition unit is used for acquiring an index structure of the system registry, inquiring a target index according to the index structure to obtain a plurality of original function keys serving as a plurality of target function keys;
The mapping unit is used for mapping at least one target function key into an operation function key, and combining at least one operation function key with at least one other original function key to form a function combination key so as to realize a first function of the simulated mouse;
The combination unit is used for combining at least one target function key with at least one other original function key to form a function combination key so as to realize a second function of the simulated mouse;
A display unit, configured to set character labels for all application icons in a task bar, and display the character labels at positions above the application icons in the task bar;
the association unit is used for setting a shortcut key associated with the application icon according to the character label so as to realize the function of switching the corresponding application;
The association unit includes:
A first association subunit, configured to set a target function key corresponding to the character label as a shortcut key associated with an application icon;
Or a second association subunit, configured to combine the target function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon;
Or a third association subunit, configured to combine the operation function key corresponding to the character label with at least one other original function key to form a shortcut key associated with the application icon;
The combining unit includes:
the second combination subunit is used for respectively combining the target function key with a plurality of letter keys to obtain a function combination key so as to realize the function of switching the corresponding application program;
The first detecting unit is used for detecting whether the following conditions are met when at least two same application programs are opened: the target function key is in a pressed state and the corresponding letter key is clicked for a plurality of times;
And the switching unit is used for switching to one corresponding application program according to the clicking times if the clicking times are met.
6. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of operating an enhanced keyboard according to any one of claims 1 to 4 when the computer program is executed.
7. A computer readable storage medium having stored thereon a computer program which when executed by a processor implements the method of operating an enhanced keyboard of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311777617.XA CN117742506B (en) | 2023-12-22 | 2023-12-22 | Operation method and device for enhanced keyboard and related components |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311777617.XA CN117742506B (en) | 2023-12-22 | 2023-12-22 | Operation method and device for enhanced keyboard and related components |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117742506A CN117742506A (en) | 2024-03-22 |
CN117742506B true CN117742506B (en) | 2024-09-17 |
Family
ID=90279271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311777617.XA Active CN117742506B (en) | 2023-12-22 | 2023-12-22 | Operation method and device for enhanced keyboard and related components |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117742506B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118295577B (en) * | 2024-06-06 | 2024-09-03 | 北京冠群信息技术股份有限公司 | Method, system and device for realizing Web-end shortcut key |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240501A (en) * | 2020-01-17 | 2020-06-05 | 康晓峰 | Method for realizing mouse and cursor control based on computer keyboard |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7154480B2 (en) * | 2002-04-30 | 2006-12-26 | Kazuho Iesaka | Computer keyboard and cursor control system with keyboard map switching system |
US8286082B2 (en) * | 2007-09-12 | 2012-10-09 | Citrix Systems, Inc. | Methods and systems for providing, by a remote machine, access to a desk band associated with a resource executing on a local machine |
CN101403947B (en) * | 2008-11-19 | 2013-08-21 | 黄庆传 | Computer word input method, its keyboard and mouse |
CN111913586A (en) * | 2019-05-10 | 2020-11-10 | 王光达 | Dynamic display type entity keyboard application method |
CN116225241A (en) * | 2023-03-02 | 2023-06-06 | 珠海市智迪科技股份有限公司 | Keyboard system for simulating equipment input |
-
2023
- 2023-12-22 CN CN202311777617.XA patent/CN117742506B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240501A (en) * | 2020-01-17 | 2020-06-05 | 康晓峰 | Method for realizing mouse and cursor control based on computer keyboard |
Also Published As
Publication number | Publication date |
---|---|
CN117742506A (en) | 2024-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9342239B2 (en) | Virtual interface devices | |
CA2533298C (en) | Manipulating an on-screen object using zones surrounding the object | |
JP3630153B2 (en) | Information display input device, information display input method, and information processing device | |
TWI553541B (en) | Method and computing device for semantic zoom | |
CN103309596B (en) | The method of adjustment of a kind of entering method keyboard and mobile terminal thereof | |
US20100013852A1 (en) | Touch-type mobile computing device and displaying method applied thereto | |
WO2007030620A1 (en) | Software key labeling on software keyboards | |
CN101315592A (en) | Touch mobile operation device and display method applied to same | |
US11016588B2 (en) | Method and device and system with dual mouse support | |
US20100115159A1 (en) | Keyboard shortcut software utility | |
CN117742506B (en) | Operation method and device for enhanced keyboard and related components | |
CN113807058B (en) | Text display method and text display device | |
CN110806807A (en) | Computer keyboard providing symbol key layout at reference key position | |
TWI489368B (en) | Peripheral device and operating method thereof and electrical system using the same | |
KR20000049575A (en) | Key input method and apparatus using mouse device | |
JP4043329B2 (en) | Table display method, display system, and computer program | |
JP2560191B2 (en) | Method of controlling computer system with graphical user interface | |
JP7215054B2 (en) | PROGRAMMING DISPLAY, PROGRAMMING DISPLAY METHOD, AND PROGRAM | |
CN111788776B (en) | Input method of keyboard input electronic equipment | |
JP3830538B2 (en) | Display method for data processing apparatus and data processing apparatus | |
JP6058840B1 (en) | Character input device, character input method, and character input program | |
KR100379917B1 (en) | Mobile Terminal Equipped with Hot Key Input | |
KR20100033681A (en) | Method for inputting korean vowelon computer keyboard using chunjiin letter manufacturing theory | |
JP2003058303A (en) | Operating system of data processor | |
Wang | Using Common User Interface Objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |