CN1225464A - Computer keyboard with self-definition and quick-action keys, and definition method therefor - Google Patents
Computer keyboard with self-definition and quick-action keys, and definition method therefor Download PDFInfo
- Publication number
- CN1225464A CN1225464A CN 99100703 CN99100703A CN1225464A CN 1225464 A CN1225464 A CN 1225464A CN 99100703 CN99100703 CN 99100703 CN 99100703 A CN99100703 A CN 99100703A CN 1225464 A CN1225464 A CN 1225464A
- Authority
- CN
- China
- Prior art keywords
- shortcut
- self
- keyboard
- program
- keys
- 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.)
- Pending
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
A kind of keyboard with self-definable function bug keys and defination method is to add some suitable self-definable function bug keys on the basis of common function keyboard so as to that function of bug keys can be defined by user's own self according to the actual situation. the interface function of bug key program and keyboard driving program are utilized to do register. an allocation file is defined in the software program of self-defined bug keys to storage all kind of information of application program correlated with self-defined bug keys. The self-definition of bug keys can be realized by setting up the content correlated with the allocation file.
Description
The present invention relates to a kind of computer keyboard, but particularly a kind of computer keyboard that has the custom feature shortcut.
Computer keyboard of the prior art mainly is an input function of finishing character, and seldom relates to the content of control operation aspect.At present, if open certain software in the computing machine, carry out a certain function, finishing by keyboard is more complicated, and finishing by mouse also needs to open different windows, or selects in menu list, for the people who is unfamiliar with computer, very inconvenient.In view of this, people have designed some and have had the computer keyboard of shortcut, are used to finish some feature operation commonly used.
But with regard to these present quick keyboards, being provided with generally of each shortcut all pre-sets when dispatching from the factory, and promptly presses certain shortcut, with certain program in the executive system.This brings great convenience to the user certainly.Yet user's environment for use and demand vary, and this shortcut that sets in advance can not satisfy user's needs fully.
But the purpose of this invention is to provide a kind of keyboard and define method that has the custom feature shortcut, make the user can define the function of shortcut according to the actual conditions oneself of oneself, be that what function was system should carry out after the user can oneself determine to press shortcut, make the convenient use computer of user.
But the keyboard that has the custom feature shortcut of the present invention is to increase by one group of shortcut on traditional computer keyboard, is defined by method of the present invention by the user.
But the keyboard that has the custom feature shortcut provided by the invention on the basis of general function keyboard, increased suitable can self-defined shortcut, improved the service efficiency of conventional keyboard, make the user when using computer more flexibly, convenient.
Fig. 1 is a computer keyboard synoptic diagram of the present invention.
Below in conjunction with accompanying drawing the present invention is given to describe in detail.
Referring to Fig. 1, among the figure: 1~No. 8 key is the fixed definitions function key area, sets the function that the user can not self-defined these keys when machine dispatches from the factory; 9~No. 11 keys be of the present invention can self-defined shortcut keypad, the user can define the function of these keys according to the actual conditions of oneself and use; 12~No. 14 keys are the systemic-function keypad, are defined by Windows operating system; Remainder is traditional QWERTY keyboard keypad.
14,08, OC, 10,07, OE, 04, OD, 11,12,13 utilize the hardware circuit of keyboard that each shortcut is encoded, just can send specific coding to host computer system when certain shortcut is pressed, in the present invention, the key of 1-11 key is defined as:.When a certain function key is pressed, corresponding key value will be sent.Driver can be finished corresponding operation according to key.
The self-defined implementation method of shortcut of the present invention is below described.
At first, the interface of design shortcut program and keyboard driver.
When a certain shortcut is pressed, keyboard driver will receive the scanning code value of a correspondence, and according to this scan code, keyboard driver will send MYWM_FASTKEY message, expression has shortcut to press, and the parameter wParam of Chuan Songing represents the key value of shortcut simultaneously.
Following function is the interface of keyboard driver and shortcut program, during the shortcut program run, will at first call this program and register:
bResult=Rmt9807?Register(m_hWnd,MYWM_FASTKEY);
Wherein m_hWnd is the main window handle of shortcut program, MYWM_FASTKEY is self-defining WINDOWS information, rreturn value bResult represents whether to succeed in registration, if bResult=1, just expression is succeeded in registration, when shortcut was pressed, quick keyboard driver will send MYWM_FASTKEY information to the main window of shortcut program later on.
In the software program of self-defined shortcut, define a configuration file, be used for depositing the various information of the application program that is associated with shortcut.Definition in configuration file comprises three parts: the fullpath of application program, working directory, command line parameter.
For example: a certain can self-defined shortcut the time when pressing, system will carry out the program counter (Calc.exe) that the Windows system carries, then corresponding being defined as in the configuration file:
Be defined as N number make by oneself below [hotN] // expression
The justice shortcut.
Execution route=C: WINDOWS the fullpath of Calc.exe // counter program Calc.exe
Working directory=C: operating path during WINDOWS // execution Calc.exe
Command line parameter=// command line parameter when carrying out Calc.exe
When certain shortcut was pressed, the shortcut program will receive key code information MYWM_FASTKEY, and the parameter WPARAM of this information is exactly corresponding key.Below this function be processing after the shortcut program is received key code information:
LONG CMainWnd::OnFastKey (WPARAM wParam, LPARAM 1Param)Switch (wParam) //wParam be shortcut key value ... case KEY USERDEFINE1: // this shows " can self-defined shortcut " RunProgram that has been pressed (" hotN "); Break; ...
Wherein function R unProgram () goes to read definition in the configuration file according to the shortcut title, is finished by following three statements:
GetPrivateProfileString (1pDescription, " execution route ", NULIszFullPath, 255, szProfile);
GetPrivateProfileString (1pDescription, " working directory ", NULL, szWorkDir, 255, szProfile);
GetPrivateProfileString (1pDescription, " command line parameter ", NULL, szCmdParam, 255, szProfile);
Wherein lpDescription represents quick key name, and szProfile represents configuration filename.The execution route value that reads " C: WINDOWS Calc.exe " is placed among the variable szFullPath, and working directory " C: WINDOWS " is placed among the variable szWorkDir, and command line parameter is placed among the szCmdParam.Carry out or open this file according to these values with following statement then:
ShellExecute(m_hWnd,NULL,szFullPath,szCmdParam,szWorkDir,SW_SHOWDEFAULT);
After this statement is finished, the counter program will be opened.
If the function of " but self-defining key " is redefined, only corresponding entry gets final product in the need modification configuration file.
After the user has understood the course of work of shortcut, can be by the manual configuration file of rewriting to realize the self-defined of shortcut, the shortcut program provides the function to can self-defining shortcut redefining simultaneously.Its essence also is the related content of revising in the configuration file.
Detailed process is: the user redefines the definition (" execution route ", " working directory ", " command line parameter " of input application program) of revising shortcut in the dialog box at shortcut.Amended " execution route ", " working directory ", " command line parameter " leave in respectively among variable m_filepath, m_workdir, the m_cmdparam.By following function new definition is write in the configuration file then:
void CDefineKey ∷ OnOK () ... WritePrivateProfileString (m_szKeyName, " execution route ", m_filepath, szProfile); WritePrivateProfileString (m_szKeyName, " working directory ", m_workdir, szProfile); WritePrivateProfileString (m_szKeyName, " command line parameter ", m_cmdparam, szProfile);
Wherein m_szKeyName represents corresponding quick key name, and szProfile is a configuration filename.Depositing " execution route ", " working directory ", " command line parameter " among m_filepath, m_workdir, the m_cmdparam respectively, they will write in the configuration file after having carried out above three statements.
At this moment, when this shortcut that was redefined was pressed, the shortcut program will remove to carry out or open corresponding file according to new definition.
Above-mentioned function G etPrivateProfileString (...), ShellExecute (...), WritePrivateProfileString (...) be the Windows api function of standard.
Only this embodiment is described though should be appreciated that the present invention, is not limited to this embodiment, also comprise the possible modification and the change that are not separated with principle of the present invention and spirit.
Claims (2)
- But 1, a kind of computer keyboard that has the custom feature shortcut, but it is characterized in that on traditional computer standard keyboard increasing the shortcut of one group of custom feature.
- 2, a kind of customizing method of computing machine shortcut is characterized in that utilizing the interface function of keyboard driver and shortcut program to register when the shortcut program run; In the software program of shortcut, define a configuration file, be used for depositing the various information of the application program that is associated with shortcut; Related content in the modification configuration file is to realize the self-defined of shortcut.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 99100703 CN1225464A (en) | 1999-02-10 | 1999-02-10 | Computer keyboard with self-definition and quick-action keys, and definition method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 99100703 CN1225464A (en) | 1999-02-10 | 1999-02-10 | Computer keyboard with self-definition and quick-action keys, and definition method therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1225464A true CN1225464A (en) | 1999-08-11 |
Family
ID=5270156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 99100703 Pending CN1225464A (en) | 1999-02-10 | 1999-02-10 | Computer keyboard with self-definition and quick-action keys, and definition method therefor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1225464A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6932524B2 (en) | 2001-04-30 | 2005-08-23 | Microsoft Corporation | Keyboard with improved lateral region |
CN1333324C (en) * | 2004-04-30 | 2007-08-22 | 大唐移动通信设备有限公司 | Method for dynamically setting functions of keyboard press keys for mobile communication terminal |
CN100444092C (en) * | 2003-10-24 | 2008-12-17 | 诺基亚有限公司 | Method for shifting a shortcut in an electronic device, a display unit of the device, and an electronic device |
US7764390B2 (en) | 2005-08-22 | 2010-07-27 | Murata Kikai Kabushiki Kaisha | Image forming device |
CN101576775B (en) * | 2008-05-06 | 2011-05-04 | 英业达股份有限公司 | Method for automatically switching key function |
CN101644955B (en) * | 2008-08-04 | 2011-06-29 | 旭达电脑(昆山)有限公司 | System and method for switching functions of shortcut keys |
CN103034915A (en) * | 2011-09-30 | 2013-04-10 | 深圳市金蝶友商电子商务服务有限公司 | Method and device for aiding data recording of users |
CN104699371A (en) * | 2015-03-13 | 2015-06-10 | 天脉聚源(北京)传媒科技有限公司 | Icon operating method and device |
CN106775432A (en) * | 2016-12-22 | 2017-05-31 | 金蝶软件(中国)有限公司 | A kind of method for setting fast key and device |
CN108984250A (en) * | 2018-06-26 | 2018-12-11 | 南京南瑞继保电气有限公司 | A method of realizing that protection supervisory equipment function shortcut key custom-configures |
-
1999
- 1999-02-10 CN CN 99100703 patent/CN1225464A/en active Pending
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6932524B2 (en) | 2001-04-30 | 2005-08-23 | Microsoft Corporation | Keyboard with improved lateral region |
US6939067B2 (en) | 2001-04-30 | 2005-09-06 | Microsoft Corporation | Keyboard with improved lateral region |
US7156567B2 (en) | 2001-04-30 | 2007-01-02 | Microsoft Corporation | Keyboard with improved lateral region |
US7229227B2 (en) | 2001-04-30 | 2007-06-12 | Microsoft Corporation | Keyboard with improved lateral region |
CN100444092C (en) * | 2003-10-24 | 2008-12-17 | 诺基亚有限公司 | Method for shifting a shortcut in an electronic device, a display unit of the device, and an electronic device |
CN1333324C (en) * | 2004-04-30 | 2007-08-22 | 大唐移动通信设备有限公司 | Method for dynamically setting functions of keyboard press keys for mobile communication terminal |
US7764390B2 (en) | 2005-08-22 | 2010-07-27 | Murata Kikai Kabushiki Kaisha | Image forming device |
CN101576775B (en) * | 2008-05-06 | 2011-05-04 | 英业达股份有限公司 | Method for automatically switching key function |
CN101644955B (en) * | 2008-08-04 | 2011-06-29 | 旭达电脑(昆山)有限公司 | System and method for switching functions of shortcut keys |
CN103034915A (en) * | 2011-09-30 | 2013-04-10 | 深圳市金蝶友商电子商务服务有限公司 | Method and device for aiding data recording of users |
CN103034915B (en) * | 2011-09-30 | 2017-08-18 | 深圳市金蝶精斗云网络科技有限公司 | A kind of method and apparatus for aiding in user data record |
CN104699371A (en) * | 2015-03-13 | 2015-06-10 | 天脉聚源(北京)传媒科技有限公司 | Icon operating method and device |
CN106775432A (en) * | 2016-12-22 | 2017-05-31 | 金蝶软件(中国)有限公司 | A kind of method for setting fast key and device |
CN108984250A (en) * | 2018-06-26 | 2018-12-11 | 南京南瑞继保电气有限公司 | A method of realizing that protection supervisory equipment function shortcut key custom-configures |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6029214A (en) | Input tablet system with user programmable absolute coordinate mode and relative coordinate mode segments | |
CN1225464A (en) | Computer keyboard with self-definition and quick-action keys, and definition method therefor | |
CN1474253A (en) | Defining method for palm intelligent equipment quick key | |
CN1209696C (en) | Keyboard | |
CN100336017C (en) | Computer instantaneous starting system and method | |
CN1239989C (en) | Method of small keyboard instruction input | |
US20020154097A1 (en) | Auxiliary device for edting document | |
CN1462930A (en) | Multi-media keyboard | |
CN1148634C (en) | Command switch-over method of button combination | |
CN1277188C (en) | Method of activating hand held information equipment button | |
CN1285540A (en) | Strokes based ten-key Chinese character input method | |
JP3084018U (en) | Multi-function hot key keyboard | |
CN1187672C (en) | Constitution method of multiple key code composite push key | |
CN1501215A (en) | Method of using shortcut key to start acoustic player | |
CN1289996C (en) | Software type keyboard input converting method | |
CN1189647A (en) | Computer Genius mouse operating method | |
TWI307852B (en) | ||
CN1393773A (en) | Method for fast network access of mouse | |
CN1466033A (en) | Universal mouse and keyboard | |
JP2818555B2 (en) | Keyboard with function key guide display | |
JP2543256B2 (en) | Input panel surface switching processing method | |
CN1075645C (en) | Method for extending functional key in keyboard | |
CN2544337Y (en) | File editing auxiliary device | |
CN111240501A (en) | Method for realizing mouse and cursor control based on computer keyboard | |
CN2793808Y (en) | Stepped mouse |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |