CN108984218B - Method for supporting mouse left and right key exchange by BIOS - Google Patents

Method for supporting mouse left and right key exchange by BIOS Download PDF

Info

Publication number
CN108984218B
CN108984218B CN201810744489.1A CN201810744489A CN108984218B CN 108984218 B CN108984218 B CN 108984218B CN 201810744489 A CN201810744489 A CN 201810744489A CN 108984218 B CN108984218 B CN 108984218B
Authority
CN
China
Prior art keywords
mouse
bios
state
option
exchanged
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
Application number
CN201810744489.1A
Other languages
Chinese (zh)
Other versions
CN108984218A (en
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.)
Jiangsu Zhuoyi Information Technology Co ltd
Kunshan Byosoft Electronic Technology Co ltd
Nanjing Byosoft Co ltd
Original Assignee
Jiangsu Zhuoyi Information Technology Co ltd
Kunshan Byosoft Electronic Technology Co ltd
Nanjing Byosoft Co 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 Jiangsu Zhuoyi Information Technology Co ltd, Kunshan Byosoft Electronic Technology Co ltd, Nanjing Byosoft Co ltd filed Critical Jiangsu Zhuoyi Information Technology Co ltd
Priority to CN201810744489.1A priority Critical patent/CN108984218B/en
Publication of CN108984218A publication Critical patent/CN108984218A/en
Application granted granted Critical
Publication of CN108984218B publication Critical patent/CN108984218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for supporting the exchange of left and right mouse buttons by a BIOS (basic input output System). under the scene that the BIOS provides mouse drive support, the experience of a user on the operation of the left and right mouse buttons can be consistent with that of a windows operating system, so that the user can use a computer more smoothly.

Description

Method for supporting mouse left and right key exchange by BIOS
Technical Field
The invention relates to the field of electronic equipment, in particular to a method for supporting the exchange of left and right mouse buttons by a BIOS (basic input output System).
Background
Some computer users are accustomed to using the left hand to operate the mouse, and some computer users use the left hand to operate the mouse in order to prevent the mouse hand. Under the windows operating system, left and right keys of the swap mouse can be set in the mouse attribute setting of the control panel. However, in the current scenario where BIOS provides mouse driver support, such as BIOS setup interface in graphics mode, os-like real mode operating system environment, and some OPTION ROM (a program written by the add-in card manufacturer, placed in ROM on the card, provided to BIOS for calling when initializing the card hardware) configuration interface (typically RAID controller configuration hard disk combination) of add-in PCIE card, it is not very friendly for the left-handed mouse operator to use for a long time.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to design a method for supporting the exchange of left and right mouse buttons by a BIOS (basic input/output system).
The invention discloses a method for supporting the exchange of left and right mouse buttons by a BIOS (basic input/output System), which comprises the following steps:
step 1, creating a 'mouse left and right key exchange' option on a setup interface of a BIOS (basic input/output System) to control whether the functions of the left and right keys of a mouse need to be exchanged or not;
step 2, reading the current value of the setup option in the initialization of the BIOS mouse driver, and recording the state;
step 3, when the BIOS mouse driver finds that a mouse button occurs, checking the state recorded in the step 2, if left and right mouse buttons are required to be exchanged, recording mouse button data in the opposite state, and if the left and right mouse buttons are not required to be exchanged, normally recording the mouse button data;
and 4, reading the mouse state by the upper application program, wherein the received mouse data is adjusted according to the setup option in the step 1.
The option of 'left and right mouse button exchange' in the step 1 is defaulted to a function off state
Has the advantages that: compared with the prior art, the method and the device have the advantages that the option is added under the BIOS setup interface to control whether the left and right keys of the mouse device need to be exchanged or not, so that the operation experience of the user on the left and right keys of the mouse is consistent with that of a windows operating system under the scene that the BIOS provides the support of a mouse driver, and the user can use the computer more smoothly.
Drawings
FIG. 1 is a schematic view of the present invention;
FIG. 2 is a BIOS setup interface;
FIG. 3 is an interface supporting mouse operations with BIOS support on a DOS system.
FIG. 4 is a raid card hardware initialization interface.
Detailed Description
The invention is further elucidated with reference to the drawing.
Most computers on the market are provided with windows operating systems, and whether left and right keys of a mouse need to be exchanged or not can be set in a mouse sub-function in a control panel, namely if the function is opened, when a left mouse key is pressed, an event that a right mouse key is pressed down is received in an application program, and when a right mouse key is pressed down, an event that a left mouse key is pressed down is received. This should be designed for "left-handed", and this function needs to go under windows to be effective.
Before the computer presses the power switch to enter the operating system, one section of the computer is under the control of the BIOS, and at the moment, if the BIOS supports mouse operation, the functions of left and right keys of the mouse are not exchanged; while this scenario is mainly 3 places:
BIOS setup interface. When the screen is lighted up after booting, it is generally indicated that pressing a certain function key on the screen can enter the BIOS configuration interface to check and modify some hardware-related information, such as the current BIOS version, whether to turn on/off the network card currently, what device to start by default, and the like. This time mouse operation can be used (BIOS support required), as shown in figure 2.
2. Currently, only BIOS development or factory production environment will use DOS (disk operating system), and some applications running on it, such as notepad (EDIT), can also support mouse operation with support of BIOS. As shown in fig. 3, it has only one color block, not the mouse appearance.
3. There are many device cards, such as RAID cards, available on the market that can be plugged into slots on a computer motherboard to operate. Its hardware initialization is often done by itself, and the BIOS runs a card-supplied application to initialize it, which may have a graphical interface (see fig. 4) or may support a mouse.
The mouse driver in these 3 scenarios is provided by the BIOS, so we can modify the driver, specifically including the following steps:
step 1, adding a 'mouse left and right key exchange' option on a setup interface of a BIOS (basic input/output System), and controlling whether the functions of the left and right keys of the mouse need to be exchanged or not, wherein the default is a function closing state;
step 2, reading the current value of the setup option in the initialization of the mouse driver of the BIOS, and recording the state;
and 3, checking the state recorded in the step 2 when the BIOS mouse driver finds that a mouse button occurs, if the BIOS mouse driver needs to exchange, recording mouse data in an opposite state, namely if the BIOS mouse driver finds that a left button is pressed down, recording the mouse data as that a right button is pressed down, if the BIOS mouse driver finds that the right button is pressed down, recording the mouse data as that a left button is pressed down, and if the BIOS mouse driver does not need to exchange, normally recording the mouse data.
And 4, if the upper application program supports mouse operation, reading the mouse state, wherein the mouse data received by the upper application program is adjusted according to the setup option in the step 1 and accords with the habit of a left-hand or right-hand mouse user.

Claims (2)

  1. The method for the BIOS to support the exchange of the left and right mouse buttons is characterized in that: the method comprises the following steps:
    step 1, creating a 'mouse left and right key exchange' option on a setup interface of a BIOS (basic input/output System) to control whether the functions of the left and right keys of a mouse need to be exchanged or not;
    step 2, reading the current value of the setup option in the initialization of the BIOS mouse driver, and recording the current value state;
    step 3, when the BIOS mouse driver finds that a mouse button occurs, checking the state recorded in the step 2, if left and right mouse buttons are required to be exchanged, recording mouse button data in the opposite state, and if the left and right mouse buttons are not required to be exchanged, normally recording the mouse button data;
    and 4, reading the mouse state by the upper application program, wherein the received mouse data is adjusted according to the setup option in the step 1.
  2. 2. The BIOS supported method for swapping mouse left and right keys of claim 1, wherein: and (3) the option of 'mouse left and right key exchange' in the step (1) is in a function closing state by default.
CN201810744489.1A 2018-07-09 2018-07-09 Method for supporting mouse left and right key exchange by BIOS Active CN108984218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810744489.1A CN108984218B (en) 2018-07-09 2018-07-09 Method for supporting mouse left and right key exchange by BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810744489.1A CN108984218B (en) 2018-07-09 2018-07-09 Method for supporting mouse left and right key exchange by BIOS

Publications (2)

Publication Number Publication Date
CN108984218A CN108984218A (en) 2018-12-11
CN108984218B true CN108984218B (en) 2021-05-18

Family

ID=64536446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810744489.1A Active CN108984218B (en) 2018-07-09 2018-07-09 Method for supporting mouse left and right key exchange by BIOS

Country Status (1)

Country Link
CN (1) CN108984218B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09288540A (en) * 1996-02-21 1997-11-04 雪生 ▲高▼橋 Coordinate input device with id recognition function
CN101498971A (en) * 2009-03-09 2009-08-05 江苏科技大学 Remote control network physical isolation apparatus and its control method
CN104461060A (en) * 2013-09-17 2015-03-25 天津赛思科技发展有限公司 Fatigue-preventing intelligent mouse control unit
CN204790906U (en) * 2015-07-03 2015-11-18 郑国书 Mouse of key function about interchangeable
CN206470715U (en) * 2017-02-20 2017-09-05 张思明 A kind of comfortable mouse
CN107168563A (en) * 2017-06-30 2017-09-15 联想(北京)有限公司 A kind of control method and device of mouse switching
CN107765902A (en) * 2017-11-27 2018-03-06 慈溪市嘉驰电器有限公司 A kind of high-effect mouse

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09288540A (en) * 1996-02-21 1997-11-04 雪生 ▲高▼橋 Coordinate input device with id recognition function
CN101498971A (en) * 2009-03-09 2009-08-05 江苏科技大学 Remote control network physical isolation apparatus and its control method
CN104461060A (en) * 2013-09-17 2015-03-25 天津赛思科技发展有限公司 Fatigue-preventing intelligent mouse control unit
CN204790906U (en) * 2015-07-03 2015-11-18 郑国书 Mouse of key function about interchangeable
CN206470715U (en) * 2017-02-20 2017-09-05 张思明 A kind of comfortable mouse
CN107168563A (en) * 2017-06-30 2017-09-15 联想(北京)有限公司 A kind of control method and device of mouse switching
CN107765902A (en) * 2017-11-27 2018-03-06 慈溪市嘉驰电器有限公司 A kind of high-effect mouse

Also Published As

Publication number Publication date
CN108984218A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
US20210365181A1 (en) Dynamic Command Presentation and Key Configuration for Keyboards
CN107219988B (en) Interface operation guiding method and mobile terminal
US8166244B2 (en) Emulating a computer system on a removable storage device
CN102804131B (en) The apparatus and method of access computer pre-boot routine
CN109491731B (en) Control method and device for suspension button and storage medium
KR102095912B1 (en) Operating Method of Secure Indicator and Electronic Device supporting the same
WO2018133615A1 (en) Method for operating application programs and mobile terminal
CN106997272A (en) The control method and control system of a kind of terminal installation
CN103914320A (en) Display method and electronic device
EP1712993A2 (en) Information processing apparatus
CN105094583B (en) Shortcut operation method and device for touch screen digital terminal
CN107111568B (en) System and method for presenting drive installation files when USB device is enabled
JP2003345483A (en) Information processing apparatus and window size control method used therein
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium
JP2002149338A (en) Information processor, information processing method, and program storage medium
CN106569708B (en) Method and terminal for realizing pressing simulation display
JP2006236079A (en) Computer and disk management method
CN108984218B (en) Method for supporting mouse left and right key exchange by BIOS
US20090070491A1 (en) Method for executing target programs with compound quick keys
JP2014119799A (en) Information processing apparatus, program, and control method
WO2023103901A1 (en) Application management method and apparatus, and electronic device
JP6528400B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, CONTROL METHOD OF INFORMATION PROCESSING APPARATUS, AND PROGRAM
US20130205201A1 (en) Touch Control Presentation System and the Method thereof
CN110908934A (en) Physical network platform module, physical network platform equipment and control instruction processing system
US11579869B2 (en) Method, system for editing a command set and device applying the method

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