Movatterモバイル変換


[0]ホーム

URL:


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 PDF

Info

Publication number
CN1225464A
CN1225464ACN 99100703CN99100703ACN1225464ACN 1225464 ACN1225464 ACN 1225464ACN 99100703CN99100703CN 99100703CN 99100703 ACN99100703 ACN 99100703ACN 1225464 ACN1225464 ACN 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
Application number
CN 99100703
Other languages
Chinese (zh)
Inventor
魏骏
王大勇
姚映佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing LtdfiledCriticalLenovo Beijing Ltd
Priority to CN 99100703priorityCriticalpatent/CN1225464A/en
Publication of CN1225464ApublicationCriticalpatent/CN1225464A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

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

But the computer keyboard and the define method that have the custom feature shortcut
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)

CN 991007031999-02-101999-02-10Computer keyboard with self-definition and quick-action keys, and definition method thereforPendingCN1225464A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN 99100703CN1225464A (en)1999-02-101999-02-10Computer keyboard with self-definition and quick-action keys, and definition method therefor

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN 99100703CN1225464A (en)1999-02-101999-02-10Computer keyboard with self-definition and quick-action keys, and definition method therefor

Publications (1)

Publication NumberPublication Date
CN1225464Atrue CN1225464A (en)1999-08-11

Family

ID=5270156

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN 99100703PendingCN1225464A (en)1999-02-101999-02-10Computer keyboard with self-definition and quick-action keys, and definition method therefor

Country Status (1)

CountryLink
CN (1)CN1225464A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6932524B2 (en)2001-04-302005-08-23Microsoft CorporationKeyboard with improved lateral region
CN1333324C (en)*2004-04-302007-08-22大唐移动通信设备有限公司Method for dynamically setting functions of keyboard press keys for mobile communication terminal
CN100444092C (en)*2003-10-242008-12-17诺基亚有限公司Method for moving shortcut key in electronic device, touch screen and electronic device
CN100527056C (en)*2007-06-042009-08-12威盛电子股份有限公司Method for setting special scanning code of manual input device
US7764390B2 (en)2005-08-222010-07-27Murata Kikai Kabushiki KaishaImage forming device
CN101576775B (en)*2008-05-062011-05-04英业达股份有限公司 Method for Automatically Converting Button Functions
CN101644955B (en)*2008-08-042011-06-29旭达电脑(昆山)有限公司System and method for switching functions of shortcut keys
CN103034915A (en)*2011-09-302013-04-10深圳市金蝶友商电子商务服务有限公司Method and device for aiding data recording of users
CN104699371A (en)*2015-03-132015-06-10天脉聚源(北京)传媒科技有限公司Icon operating method and device
CN106775432A (en)*2016-12-222017-05-31金蝶软件(中国)有限公司A kind of method for setting fast key and device
CN108984250A (en)*2018-06-262018-12-11南京南瑞继保电气有限公司A method of realizing that protection supervisory equipment function shortcut key custom-configures
CN115629702A (en)*2022-08-302023-01-20宝付网络科技(上海)有限公司 A method for automatically invoking a target object or automatically executing a target operation based on a shortcut command

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6932524B2 (en)2001-04-302005-08-23Microsoft CorporationKeyboard with improved lateral region
US6939067B2 (en)2001-04-302005-09-06Microsoft CorporationKeyboard with improved lateral region
US7156567B2 (en)2001-04-302007-01-02Microsoft CorporationKeyboard with improved lateral region
US7229227B2 (en)2001-04-302007-06-12Microsoft CorporationKeyboard with improved lateral region
CN100483307C (en)*2001-04-302009-04-29微软公司Keyboard with improved lateral area
CN100444092C (en)*2003-10-242008-12-17诺基亚有限公司Method for moving shortcut key in electronic device, touch screen and electronic device
CN1333324C (en)*2004-04-302007-08-22大唐移动通信设备有限公司Method for dynamically setting functions of keyboard press keys for mobile communication terminal
US7764390B2 (en)2005-08-222010-07-27Murata Kikai Kabushiki KaishaImage forming device
CN100527056C (en)*2007-06-042009-08-12威盛电子股份有限公司Method for setting special scanning code of manual input device
CN101576775B (en)*2008-05-062011-05-04英业达股份有限公司 Method for Automatically Converting Button Functions
CN101644955B (en)*2008-08-042011-06-29旭达电脑(昆山)有限公司System and method for switching functions of shortcut keys
CN103034915A (en)*2011-09-302013-04-10深圳市金蝶友商电子商务服务有限公司Method and device for aiding data recording of users
CN103034915B (en)*2011-09-302017-08-18深圳市金蝶精斗云网络科技有限公司A kind of method and apparatus for aiding in user data record
CN104699371A (en)*2015-03-132015-06-10天脉聚源(北京)传媒科技有限公司Icon operating method and device
CN106775432A (en)*2016-12-222017-05-31金蝶软件(中国)有限公司A kind of method for setting fast key and device
CN108984250A (en)*2018-06-262018-12-11南京南瑞继保电气有限公司A method of realizing that protection supervisory equipment function shortcut key custom-configures
CN115629702A (en)*2022-08-302023-01-20宝付网络科技(上海)有限公司 A method for automatically invoking a target object or automatically executing a target operation based on a shortcut command

Similar Documents

PublicationPublication DateTitle
CN1225464A (en)Computer keyboard with self-definition and quick-action keys, and definition method therefor
US6029214A (en)Input tablet system with user programmable absolute coordinate mode and relative coordinate mode segments
US6885315B2 (en)Keyboard
CN1474253A (en)Defining method for palm intelligent equipment quick key
CN1248016A (en) Method of Realizing Graphical Interface Simulation in Single Task System
CN111240501A (en)Method for realizing mouse and cursor control based on computer keyboard
CN1209696C (en) keyboard
JPS60237535A (en)Command input control system
CN1471007A (en)USB direct on-line display switching device and method
CN101598997A (en)Application program operation method of hierarchical interface
CN1265270C (en) multimedia keyboard
CN1135465C (en)Change-over processing method of keyboard instruction input mode
US20020154097A1 (en)Auxiliary device for edting document
CN1277188C (en)Method of activating hand held information equipment button
CN1467610A (en) Interactive keyboard device
CN1189647A (en)Computer Genius mouse operating method
CN1312495A (en)Command switch-over method of button combination
CN1154949C (en)Fuzzy Input Query Processing Method for Database
CN1466033A (en)Universal mouse and keyboard
JP2818555B2 (en) Keyboard with function key guide display
JP2543256B2 (en) Input panel surface switching processing method
CN1501228A (en)Software type keyboard input conversion method
CN1501215A (en)Method for starting audio player by shortcut key
JP3050174U (en) Input device
JPH10105363A (en) How to save the position of the window on the PC screen

Legal Events

DateCodeTitleDescription
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C06Publication
PB01Publication
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

[8]ページ先頭

©2009-2025 Movatter.jp