CN112527132A - Method for improving DPI (deep Power injection) of mouse sensor - Google Patents

Method for improving DPI (deep Power injection) of mouse sensor Download PDF

Info

Publication number
CN112527132A
CN112527132A CN202011358172.8A CN202011358172A CN112527132A CN 112527132 A CN112527132 A CN 112527132A CN 202011358172 A CN202011358172 A CN 202011358172A CN 112527132 A CN112527132 A CN 112527132A
Authority
CN
China
Prior art keywords
mouse
dpi
decimal part
coordinate value
time point
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
CN202011358172.8A
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.)
Gtech Technology Ltd
Original Assignee
Gtech Technology 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 Gtech Technology Ltd filed Critical Gtech Technology Ltd
Priority to CN202011358172.8A priority Critical patent/CN112527132A/en
Publication of CN112527132A publication Critical patent/CN112527132A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03543Mice or pucks

Abstract

The invention aims to provide a method for improving the DPI of a mouse sensor, which has simple steps and good effect. The invention sets a multiplication value with a size limitation and a decimal part, multiplies the coordinate value with the multiplication value at a set time point, then accumulates the integral part of the obtained result, and accumulates the decimal part, when the integral part appears after the decimal part is accumulated, the integral part is immediately added into an accumulator, and the decimal part is kept to be accumulated with the decimal part in the multiplied coordinate value obtained at the next time point continuously until the mouse stops moving, and the integral coordinate value obtained after the statistics device is accumulated is output as an actual coordinate. The invention is applied to the field of mice.

Description

Method for improving DPI (deep Power injection) of mouse sensor
Technical Field
The invention relates to the field of mice, in particular to a method for improving DPI of a mouse sensor.
Background
The DPI of a mouse refers to the number of pixels of the mouse that the pointer moves on the screen every inch of movement of the mouse, which characterizes the positioning accuracy of the mouse. Such as a 400DPI mouse, which moves one inch, the pointer on the screen can move 400 pixels.
When the mouse is required to move a fixed distance across the screen, the physical distance moved by a high DPI mouse will be shorter than a low DPI mouse, which can reflect smaller operations in the fastest time. For example, in a first person-named shooting game (FPS game), when a sudden sharp turn is needed, the 800DPI mouse will take twice less physical displacement than the 400DPI mouse, so that it is easier to catch the chance of killing the enemy in the first time. Perhaps one might say that for a low DPI mouse, accelerating the mouse up by a small amount could solve the above problem. However, this reduces the positioning accuracy of the mouse. If the physical point moved by the mouse corresponds to a logical point on the screen, and originally one physical point corresponds to one logical point, under the influence of starting acceleration, a pointer ignores a part of the logical points in order to keep up with the moving speed of the mouse. Thus, it becomes possible that one physical point corresponds to a plurality of logical points, and the accuracy naturally decreases. This is not the case with high DPI mice. High DPI mice can provide nearly perfect accuracy as well as momentary acceleration, which is not done with low DPI mice anyway. Therefore, the mouse with the high DPI can bring better experience effect to the mouse user with the requirement.
The DPI of the mouse is not constant, and the DPI index of the mouse cannot be kept high all the time. When the moving speed of the mouse is slower, the value of the DPI is very low; when the moving speed is increased, the DPI value is increased. That is, the DPI is proportional to the moving speed of the mouse. All of this requires an accurate determination of the speed of movement by means of an optical sensor in the mouse.
Although the DPI value of the mouse in the prior art can reach 4000 to 6000, with the development of technology, various industries have made higher demands on the DPI of the mouse. In order to solve this problem, it is necessary to develop a method for effectively improving the DPI of the mouse.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of the prior art and provide a method for improving the DPI of the mouse sensor, which has simple steps and good effect.
The technical scheme adopted by the invention is as follows: the method comprises the following steps:
(1) setting a multiplication value which is greater than 1 and has a decimal part;
(2) in the process of moving the mouse, multiplying the coordinate value of the mouse at the current time point by the multiplication value set in the step (1) to obtain a new coordinate value containing an integer part and a decimal part, and sending the integer part of the new coordinate value to a statistic device while the decimal part is reserved;
(3) multiplying the coordinate value of the mouse at the time point by the multiplication value set in the step (1) at the next set time point to obtain a new coordinate value containing an integer part and a decimal part, sending the integer part to a statistics device for accumulation, and accumulating the decimal part reserved and the decimal part reserved at the last set time point;
(4) repeating the step (3), when the integral part appears after the decimal part is accumulated, sending the integral part to a statistics device, and continuously retaining the decimal part;
(5) and outputting the integral part accumulated in the counter as an actual coordinate value until the mouse stops moving to obtain the coordinate output of the mouse optical sensor after the DPI is improved.
In the step (1), the range of the set multiplication value is 1.2-2.8.
The invention has the beneficial effects that: the invention sets a multiplier value with a decimal part and limited size, multiplies the coordinate value with the multiplier value at a set time point, then accumulates the integral part of the obtained result, and accumulates the decimal part, when the integral part appears after the decimal part is accumulated, the integral part is added into the accumulator immediately, and the decimal part is kept to be accumulated with the decimal part in the multiplied coordinate value at the next time point continuously until the mouse stops moving, the integral coordinate value obtained after the statistics device is accumulated is taken as the actual coordinate to be output, here, the multiplied decimal part is accumulated, the obtained integral part is also accumulated to the statistics device, thereby improving the final value of the statistics device and realizing the improvement of the DPI of the mouse sensor. Therefore, the method has simple steps and good DPI improvement effect.
Detailed Description
The method comprises the following steps:
(1) setting a multiplication value which is greater than 1 and has a decimal part;
(2) in the process of moving the mouse, multiplying the coordinate value of the mouse at the current time point by the multiplication value set in the step (1) to obtain a new coordinate value containing an integer part and a decimal part, and sending the integer part of the new coordinate value to a statistic device while the decimal part is reserved;
(3) multiplying the coordinate value of the mouse at the time point by the multiplication value set in the step (1) at the next set time point to obtain a new coordinate value containing an integer part and a decimal part, sending the integer part to a statistics device for accumulation, and accumulating the decimal part reserved and the decimal part reserved at the last set time point;
(4) repeating the step (3), when the integral part appears after the decimal part is accumulated, sending the integral part to a statistics device, and continuously retaining the decimal part;
(5) and outputting the integral part accumulated in the counter as an actual coordinate value until the mouse stops moving to obtain the coordinate output of the mouse optical sensor after the DPI is improved.
In the step (1), the range of the set multiplication value is 1.2-2.8, and through experiments, the multiplication value is set between the ranges, so that different multiplication values can be set according to the use effect requirements of different mouse optical sensors (sensors).
For example, as shown in the following table, which shows the multiplication process of the method of the present invention.
Figure DEST_PATH_IMAGE001
The first column in the table is a set time point (in this embodiment, 1ms is used as a time interval), the multiplication value is 1.2, the actual output of the optical sensor of the mouse is 56 in 16ms, and the integrated value after multiplication is 67.2. After the method of the invention, the actual cumulative output is 67, which is very close to the multiplied actual value.
For the mouse in the prior art, if the original DPI value is 5000, the multiplication value is 1.2, and the DPI value of 6000 can be obtained. If the multiplication value is 1.6, the final DPI is raised to 8000. Therefore, the DPI value of the mouse sensor can be effectively improved.

Claims (2)

1. A method for improving DPI of a mouse sensor, which is characterized by comprising the following steps:
(1) setting a multiplication value which is greater than 1 and has a decimal part;
(2) in the process of moving the mouse, multiplying the coordinate value of the mouse at the current time point by the multiplication value set in the step (1) to obtain a new coordinate value containing an integer part and a decimal part, and sending the integer part of the new coordinate value to a statistic device while the decimal part is reserved;
(3) multiplying the coordinate value of the mouse at the time point by the multiplication value set in the step (1) at the next set time point to obtain a new coordinate value containing an integer part and a decimal part, sending the integer part to a statistics device for accumulation, and accumulating the decimal part reserved and the decimal part reserved at the last set time point;
(4) repeating the step (3), when the integral part appears after the decimal part is accumulated, sending the integral part to a statistics device, and continuously retaining the decimal part;
(5) and outputting the integral part accumulated in the counter as an actual coordinate value until the mouse stops moving to obtain the coordinate output of the mouse optical sensor after the DPI is improved.
2. A method for improving DPI of a mouse sensor is characterized by comprising the following steps: in the step (1), the range of the set multiplication value is 1.2-2.8.
CN202011358172.8A 2020-11-27 2020-11-27 Method for improving DPI (deep Power injection) of mouse sensor Pending CN112527132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011358172.8A CN112527132A (en) 2020-11-27 2020-11-27 Method for improving DPI (deep Power injection) of mouse sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011358172.8A CN112527132A (en) 2020-11-27 2020-11-27 Method for improving DPI (deep Power injection) of mouse sensor

Publications (1)

Publication Number Publication Date
CN112527132A true CN112527132A (en) 2021-03-19

Family

ID=74994572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011358172.8A Pending CN112527132A (en) 2020-11-27 2020-11-27 Method for improving DPI (deep Power injection) of mouse sensor

Country Status (1)

Country Link
CN (1) CN112527132A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050168443A1 (en) * 2004-01-29 2005-08-04 Ausbeck Paul J.Jr. Method and apparatus for producing one-dimensional signals with a two-dimensional pointing device
CN102622107A (en) * 2010-12-27 2012-08-01 申金坡 Method for seeking forward displacement when mouse is used in deflection attitude and mouse
KR101399001B1 (en) * 2013-03-14 2014-05-27 화인칩스 주식회사 Calculation method of touch point coordinates of pointing device having circular type touch pads and calculation method of displacement of pointing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050168443A1 (en) * 2004-01-29 2005-08-04 Ausbeck Paul J.Jr. Method and apparatus for producing one-dimensional signals with a two-dimensional pointing device
CN102622107A (en) * 2010-12-27 2012-08-01 申金坡 Method for seeking forward displacement when mouse is used in deflection attitude and mouse
KR101399001B1 (en) * 2013-03-14 2014-05-27 화인칩스 주식회사 Calculation method of touch point coordinates of pointing device having circular type touch pads and calculation method of displacement of pointing device

Similar Documents

Publication Publication Date Title
CN1381095B (en) Efficient implementation of proposed TURBO code interleavers for third generation code division multiple access
US20200342294A1 (en) Neural network accelerating apparatus and operating method thereof
CN110866862B (en) Data processing method and device based on buffer, storage medium and electronic equipment
CN110392306A (en) A kind of data processing method and equipment
CN112527132A (en) Method for improving DPI (deep Power injection) of mouse sensor
CN102547130A (en) Image shooting device and image shooting method thereof
CN102520908A (en) Pseudo-random number generator and pseudo-random number generating method
CN117310763B (en) Method and device for synchronizing pseudo code phase modulation-linear frequency modulation time division low-rail navigation signals
CN106707462B (en) A kind of method and device of auto-focusing
CN108369326B (en) Photographic device, focusing control method and focusing control program
CN109587104A (en) A kind of anomalous traffic detection method, device and equipment
CN105160006B (en) Content of pages transmission method
CN107483053A (en) Realize the method, apparatus and computer-readable recording medium of high-resolution sampling
CN111818390A (en) Video capturing method and device and electronic equipment
CN103384401A (en) Synchronization acquisition device and method based on first-in first-out structure
CN103699882A (en) Method and device for generating personalized input panel
CN106791274A (en) A kind of scene detection method and device
CN103473183A (en) Efficient cache preloading
CN110875743B (en) Data compression method based on sampling guess
CN112102434A (en) Handwriting drawing method, device and equipment
CN112948031A (en) Dynamic window adjusting method and device
CN107403087B (en) Touch feedback method and device and terminal
CN106777834A (en) A kind of high-precision transmission function method of sampling
CN115185389B (en) Method, device, storage medium and system for identifying state of pen in lifting and placing process
CN104503573A (en) Gesture operating method and gesture operating device

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