Mouse having inertial scrolling function, and method and apparatus for controlling inertial scrolling of mouse
By detecting the scrolling information of the mouse wheel using a sensing component, calculating the initial angular velocity, and simulating inertial scrolling, the problem of cumbersome operation of existing mouse wheel scrolling methods is solved, achieving a natural and smooth inertial scrolling effect and improving the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- CHEERDOTS CO LTD
- Filing Date
- 2025-11-14
- Publication Date
- 2026-05-21
AI Technical Summary
Existing mouse wheels lack inertial scrolling functionality, resulting in cumbersome operation and poor ergonomics. Furthermore, the complex structure of infinite scroll wheels makes precise scrolling difficult to achieve.
By detecting the user's contact with and cessation of the mouse wheel using a sensing component, the initial angular velocity is calculated and combined with a decay factor to simulate inertial scrolling, thus achieving the inertial scrolling function.
It provides a natural and smooth scrolling experience, improving the smoothness of mouse operation and user experience.
Smart Images

Figure CN2025135188_21052026_PF_FP_ABST
Abstract
Description
A mouse with inertial scrolling function, and a control method and device for mouse inertial scrolling.
[0001] Cross-references
[0002] This application claims priority to Chinese Patent Application No. CN2024116356128, filed November 15, 2024, entitled “A Control Method and Device for Mouse Inertial Scrolling”, and Chinese Patent Application No. CN2024227919432, filed November 15, 2024, entitled “A Mouse with Inertial Scrolling Function”, the entire disclosure of which is incorporated herein by reference. Technical Field
[0003] This application relates to the field of communication technology, and in particular to a mouse with inertial scrolling function and a control method and device for mouse inertial scrolling. Background Technology
[0004] In existing technology, mouse scrolling is generally divided into ordinary scroll wheel and infinite scroll wheel.
[0005] A standard scroll wheel achieves scrolling through a physical mechanical structure, typically consisting of a roller and an encoder. The roller and encoder interact via cams or gears to measure the direction and number of rotations of the roller. Standard scroll wheels usually have a fixed step size, meaning the unit distance of each rotation is fixed. Users need to continuously scroll the mouse wheel to complete long-distance scrolling operations, which is cumbersome and not very ergonomic.
[0006] A scroll wheel enables smooth mouse scrolling. A scroll wheel mouse includes a normal scroll wheel mode and a scroll-free mode. In normal scroll wheel mode, the scroll wheel stops quickly when the finger leaves the wheel, and the page scrolling also stops quickly. In scroll-free mode, the scroll wheel continues to scroll due to inertia when the finger leaves the wheel, and the page continues to scroll until the finger touches the wheel and stops it. There is no intermediate mode between these two. The mechanical and electromagnetic structure of the scroll wheel is relatively complex. In scroll-free mode, users may find it difficult to achieve precise scrolling because the inertia of the wheel results in a longer scrolling distance, making it unsuitable for operations requiring fine adjustments. Furthermore, since the scroll wheel switches between normal and scroll-free modes mechanically, the resistance cannot be adjusted.
[0007] Given the current lack of inertial scrolling functionality in most mice, a feature already widely used in touchscreen devices to provide a more natural and fluid scrolling experience, achieving touchscreen-like inertial scrolling remains a technical challenge due to the physical limitations of mouse wheels. Summary of the Invention
[0008] To address the technical problems existing in the background art, this application proposes a mouse with inertial scrolling function, as well as a control method and device for mouse inertial scrolling.
[0009] This application proposes a method for controlling the inertial scrolling of a mouse, wherein the mouse includes a mouse wheel, the mouse wheel being electrically connected to a sensing component, and the method includes:
[0010] The system receives scrolling information in real time when the user touches the mouse wheel, which is detected by the sensing component. The scrolling information includes the scrolling value and scrolling direction corresponding to each timestamp.
[0011] When the sensing component detects that the user stops touching the mouse wheel, it calculates the initial angular velocity ω of the mouse wheel's inertial scrolling based on the preset collection time period T and the scrolling values corresponding to each timestamp t.
[0012] Obtain the attenuation factor, and use the initial angular velocity ω in combination with the attenuation factor to simulate the inertial scrolling of the mouse on the display.
[0013] Preferably, during the inertial scrolling phase, when the sensing component detects that the user touches the mouse wheel again, it generates an inertial scrolling stop signal to end the mouse inertial scrolling.
[0014] Preferably, the mouse further includes a photoelectric sensor, and the method further includes:
[0015] During the inertial scrolling phase, when the photoelectric sensor detects that the mouse position has moved beyond a preset movement threshold, it generates an inertial scrolling stop signal, thus ending the mouse inertial scrolling.
[0016] Preferably, the real-time receiving and sensing component detects scrolling information input by the user when touching the mouse wheel, specifically including:
[0017] When the sensor detects the direction of the mouse wheel, clockwise is considered positive and counterclockwise is considered negative. When the wheel is scrolling clockwise, the scroll value corresponding to the timestamp is positive, and when the wheel is scrolling counterclockwise, the scroll value corresponding to the timestamp is negative.
[0018] Real-time collection of scrolling values corresponding to each timestamp.
[0019] Preferably, the calculation of the initial angular velocity ω of the mouse wheel's inertial scrolling based on the preset acquisition time period T and the scrolling values corresponding to each timestamp t specifically includes:
[0020] Sum the scrolling values corresponding to each timestamp within the collection time period T before the user stops interacting with the device, to obtain the sum of the scrolling value and the scrolling direction S.
[0021] The initial angular velocity ω of the mouse wheel's inertial scrolling is calculated based on the total scrolling value S and the preset acquisition time period T.
[0022] The calculation process for the initial angular velocity ω of the mouse wheel's inertial scrolling is as follows:
[0023] Where T is the preset collection time period; S is the sum of the rolling values within the collection time period T.
[0024] Preferably, obtaining the attenuation factor, and simulating the inertial scrolling of the mouse on the display end by combining the initial angular velocity ω with the attenuation factor, specifically includes:
[0025] Obtain the attenuation factor, and attenuate the initial angular velocity ω based on the attenuation factor to obtain the first angular velocity ω at time t during the inertial rolling phase. t ;
[0026] First angular velocity ω t The calculation process for ω is as follows: t =ω-at;
[0027] Where, ω t ω is the first angular velocity at time t; ω is the initial angular velocity; a is the decay factor.
[0028] The first angular velocity will be calculated one by one at each moment during the inertial scrolling phase, and the inertial scrolling of the mouse will be simulated on the display end according to the first angular velocity calculated at each moment.
[0029] Preferably, the first angular velocity calculated at each moment is used to simulate the inertial scrolling of the mouse on the display end, specifically including:
[0030] Arrange the first angular velocities calculated at each moment in chronological order to obtain the set of angular velocities C during the inertial rolling phase;
[0031] The mouse's inertial scrolling is controlled based on the scrolling direction when the user stops touching the screen, the initial angular velocity ω, and the set of angular velocities C during the inertial scrolling phase.
[0032] Preferably, the step of controlling mouse inertial scrolling based on the scrolling direction corresponding to when the user stops contacting the mouse, the initial angular velocity ω, and the set of angular velocities C during the inertial scrolling phase specifically includes:
[0033] The mouse scrolls inertially according to the scrolling direction corresponding to when the user stops touching the screen;
[0034] During the inertial rolling phase, starting with the initial angular velocity ω, the angular velocity decays according to the arrangement order of the angular velocity set C, and the rolling angle is calculated step by step in time sequence and accumulated.
[0035] When the accumulated rolling angle reaches the preset rolling angle A value, the corresponding inertial rolling command is generated, and the rolling angle after subtracting the preset rolling angle A value is retained. The rolling angle is accumulated again until the first angular velocity decays to zero, and the inertial rolling calculation process stops.
[0036] Preferably, the attenuation factor is generated by setting the mouse attenuation factor through the terminal.
[0037] Preferably, when the value of the mouse's attenuation factor is 0, the mouse simulates uniform inertial scrolling at a preset scrolling speed until the sensing component detects that the user touches the mouse wheel again or the simulated uniform inertial scrolling reaches a preset simulation cycle, and then stops.
[0038] Preferably, the mouse further includes a damping setting component, through which the mouse's attenuation factor is set;
[0039] The damping setting component includes a trigger switch, a damping sensing module, and a mouse signal control switch. The output terminal of the trigger switch is electrically connected to the input terminal of the mouse signal control switch, the output terminal of the trigger switch is electrically connected to the input terminal of the damping sensing module, the output terminal of the mouse signal control switch is electrically connected to the mouse signal input terminal, and the input terminal of the damping sensing module is electrically connected to the rotation axis of the mouse scroll wheel. The output terminal of the damping sensing module is communicatively connected to the mouse controller.
[0040] Preferably, the process for generating the attenuation factor is as follows:
[0041] When the trigger switch is activated, the mouse signal control switch is turned on, cutting off the mouse signal output. The attenuation factor can be adjusted by rotating the mouse wheel.
[0042] Based on the mouse wheel state at the time of triggering, the attenuation factor gradually increases as the mouse wheel rotates clockwise; the attenuation factor reaches its maximum value when the mouse wheel rotates clockwise to the preset rotation angle.
[0043] Once the attenuation factor is set, restart the trigger switch. The trigger switch will control the mouse signal to turn off the switch, and the mouse will return to normal operation.
[0044] Preferably, the sensing component is a capacitive contact sensor;
[0045] The mouse wheel is conductive, and the acquisition end adapted to the capacitive contact sensor is a ring-shaped closed structure and sleeved on the outer periphery of the mouse wheel; or, the mouse wheel is not conductive, and the acquisition end adapted to the capacitive contact sensor is a ring-shaped conductive sensing structure and sleeved on the outer periphery of the mouse wheel.
[0046] The method includes:
[0047] When a finger touches the mouse wheel, the sensor component determines that a contact state has been reached;
[0048] When a finger leaves the mouse wheel, the sensor determines that contact has stopped.
[0049] This application discloses a control device for mouse inertial scrolling, wherein the mouse includes a mouse wheel, and the mouse wheel is electrically connected to a sensing component, including:
[0050] The data acquisition module is used to receive scrolling information input by the user when touching the mouse wheel, which is detected by the sensing component in real time. The scrolling information includes the scrolling value and scrolling direction corresponding to each timestamp.
[0051] The data processing module is used to calculate the initial angular velocity ω of the mouse wheel's inertial scrolling based on the preset collection time period T and the scrolling values corresponding to each timestamp t when the sensing component detects that the user has stopped touching the mouse wheel.
[0052] The output module is used to obtain the attenuation factor and combine the initial angular velocity ω with the attenuation factor to simulate the inertial scrolling of the mouse on the display end.
[0053] Preferably, the output module specifically includes:
[0054] The first output unit is used to obtain the attenuation factor and attenuate the initial angular velocity ω based on the attenuation factor to obtain the first angular velocity ω at time t during the inertial rolling phase. t ;
[0055] The second output unit is used to calculate the corresponding first angular velocity at each moment during the inertial scrolling phase, and simulate the inertial scrolling of the mouse on the display end according to the first angular velocity calculated at each moment.
[0056] This application discloses a mouse with inertial scrolling function. The mouse has a mouse body and a mouse wheel, and further includes a sensing component, a data acquisition terminal, an encoder module, and a controller. The sensing component is adapted to the data acquisition terminal, which is disposed on the outer periphery of the mouse wheel. The encoder module is electrically connected to the sensing component, and the controller is electrically connected to the encoder module.
[0057] Preferably, the sensing components are distributed circumferentially along the outer periphery of the mouse wheel, and the detection surface of the sensing components is provided with a preset interval from the outer periphery of the mouse wheel.
[0058] Preferably, the mouse wheel is not conductive, and the sensing end is a ring-shaped conductive induction structure disposed on the outer periphery of the mouse wheel.
[0059] Preferably, the acquisition end is a ring-shaped closed metal coating distributed around the outer periphery of the mouse scroll wheel; or, the acquisition end is a plurality of coating blocks arranged in a ring at intervals around the outer periphery of the mouse scroll wheel.
[0060] Preferably, the mouse wheel is conductive, and the data acquisition end is a closed annular structure fitted around the outer periphery of the mouse wheel.
[0061] Preferably, the sensing component is a single-button touch detection chip, the output of which is electrically connected to the input of the encoder module, and the output of the encoder module is electrically connected to the input of the controller.
[0062] Alternatively, the sensing component may specifically include a single-button touch detection chip and a touch processing control unit, wherein the output of the single-button touch detection chip is electrically connected to the input of the encoder module, the output of the encoder module is electrically connected to the input of the touch processing control unit, and the output of the touch processing control unit is electrically connected to the input of the controller.
[0063] Preferably, the mouse body also includes a damping setting component, which comprises a trigger switch, a damping sensing module, and a mouse signal control switch. The output terminal of the trigger switch is electrically connected to the input terminal of the mouse signal control switch, and the output terminal of the trigger switch is electrically connected to the input terminal of the damping sensing module. The output terminal of the mouse signal control switch is electrically connected to the mouse signal input terminal, and the input terminal of the damping sensing module is electrically connected to the axis of the mouse scroll wheel. The output terminal of the damping sensing module is communicatively connected to the controller.
[0064] The proposed mouse inertial scrolling control method and device receive scrolling information input by the user when touching the mouse wheel detected by the sensing component, calculate the initial angular velocity of the mouse wheel inertial scrolling based on this information, and then control the mouse inertial scrolling after stopping contact based on the initial angular velocity, thereby achieving a natural and smooth inertial scrolling effect, improving the smoothness of mouse operation and user experience. Attached Figure Description
[0065] Figure 1 is a schematic diagram of the workflow of a mouse inertial scrolling control method proposed in this application;
[0066] Figure 2 is a schematic diagram of the system architecture of a mouse inertial scrolling control device proposed in this application.
[0067] Figure 3 is a partial three-dimensional structural diagram of a mouse with inertial scrolling function proposed in this application;
[0068] Figure 4 is a top view of Figure 3 of a mouse with inertial scrolling function proposed in this application;
[0069] Figure 5 is a side view of Figure 3 of a mouse with inertial scrolling function proposed in this application. Detailed Implementation
[0070] The technical solution of this application will be described in detail below through specific embodiments. However, it should be clearly stated that these embodiments are for illustrative purposes only and are not intended to limit the scope of this application.
[0071] Referring to Figure 1, this application proposes a method for controlling mouse inertial scrolling. The mouse includes a mouse wheel, which is electrically connected to a sensing component. The method includes the following steps:
[0072] S1. Receive scrolling information input by the user when touching the mouse wheel, detected by the sensing component in real time. The scrolling information includes the scrolling value and scrolling direction corresponding to each timestamp.
[0073] In this embodiment, step S1 specifically includes:
[0074] When the sensor detects the direction of the mouse wheel, clockwise is considered positive and counterclockwise is considered negative. When the wheel is scrolling clockwise, the scroll value corresponding to the timestamp is positive, and when the wheel is scrolling counterclockwise, the scroll value corresponding to the timestamp is negative. The scroll value corresponding to each timestamp is collected in real time.
[0075] It should be noted that when a finger touches and scrolls the wheel, the sensing component sends the scrolling value and the corresponding timestamp based on the direction of the wheel.
[0076] In one specific embodiment, the mouse wheel of this application can be made of a conductive metal material, such as aluminum alloy or stainless steel. The sensing component can be a capacitive contact sensor with a sensitivity of up to 0.1 mm. The mouse main control chip can be an ARM Cortex-M4 series processor, whose computing power is sufficient to implement complex inertial scrolling algorithms.
[0077] The mouse wheel is a conductive metal wheel. The contact sensor's sensing end is a closed ring structure, fixed to the outer circumference of the wheel. When a finger touches the wheel, the contact is triggered. During scrolling, the encoder sends scrolling data to the mouse's interior, and when the finger leaves, inertial scrolling is triggered.
[0078] In another specific embodiment, the sensing component is a pressure sensor, which is located below the mouse wheel. The pressure sensor detects the pressure of a finger contacting the mouse wheel. When the detected pressure is within a preset range, it indicates that the finger is in contact with the mouse wheel; when the detected pressure is outside the preset range, it indicates that the finger is released. For example, the preset range is a pressure value greater than or equal to 100. When the sampled pressure value reaches 300, it is determined that the finger is in contact; when the pressure value decreases to less than 100, it is determined that the finger is released. In practical applications, a percentage-based setting or an adaptive threshold can also be used.
[0079] S2. When the sensing component detects that the user stops touching the mouse wheel, it calculates the initial angular velocity ω of the mouse wheel's inertial scrolling based on the preset collection time period T and the scrolling values corresponding to each timestamp t.
[0080] In this embodiment, step S2 specifically includes:
[0081] The scrolling values corresponding to each timestamp within the collection time period T before the user stops interacting are summed to obtain the total scrolling value and scroll wheel direction S; the initial angular velocity ω of the mouse wheel's inertial scrolling is calculated based on the total scrolling value S and the preset collection time period T.
[0082] In this embodiment, the calculation process for the initial angular velocity ω of the mouse wheel's inertial scrolling is as follows:
[0083] Where T is the preset collection time period; S is the sum of the rolling values within the collection time period T.
[0084] In this embodiment, when the finger leaves the scroll wheel, the total scroll value S is calculated within a certain period of time T before the finger leaves. For example, if T = 200ms, the total scroll value S is the sum of the absolute values of the scroll values corresponding to each timestamp within 200ms before the finger leaves.
[0085] It should be understood that the initial angular velocity ω is an equivalent representation of the scrolling speed calculated based on the scrolling values and time period provided by the encoder module. The encoder module can be a mechanical encoder, optical encoder, Hall encoder, etc., which outputs scrolling values (such as pulse counts or digital values). These values, combined with timestamps, are used to reflect the scrolling speed of the mouse wheel. Therefore, the angular velocity ω is essentially a quantification of scrolling speed, and is not limited to directly measuring angular velocity, but is derived from encoder values.
[0086] S3. Obtain the attenuation factor and use the initial angular velocity ω combined with the attenuation factor to simulate the inertial scrolling of the mouse on the display.
[0087] In this embodiment, the attenuation factor is obtained, and the inertial scrolling of the mouse is simulated on the display end using the initial angular velocity ω combined with the attenuation factor. Specifically, this includes:
[0088] Obtain the attenuation factor, and attenuate the initial angular velocity ω based on the attenuation factor to obtain the first angular velocity ω at time t during the inertial rolling phase. t ;
[0089] First angular velocity ω t The calculation process for ω is as follows: t =ω-at;
[0090] Where, ω t ω is the first angular velocity at time t; ω is the initial angular velocity; a is the decay factor.
[0091] The first angular velocity will be calculated one by one at each moment during the inertial scrolling phase, and the inertial scrolling of the mouse will be simulated on the display end according to the first angular velocity calculated at each moment.
[0092] In this embodiment, the decay factor is a parameter used to control the decrease in inertial rolling speed over time. It is typically a value between 0 and 1, representing the percentage decrease in speed after each time step. For example, if V1 = V - at, a = 0.001, then this indicates linear decay.
[0093] If V1 = V × a, a = 0.95, this means that each calculation will be 0.95 as in the previous one; different attenuation factors can achieve different inertial rolling effects.
[0094] In this embodiment, the inertial scrolling of the mouse is simulated on the display end based on the first angular velocity calculated at each moment, specifically including:
[0095] Arrange the first angular velocities calculated at each moment in chronological order to obtain the set of angular velocities C during the inertial rolling phase;
[0096] The mouse's inertial scrolling is controlled based on the scrolling direction when the user stops touching the screen, the initial angular velocity ω, and the set of angular velocities C during the inertial scrolling phase.
[0097] In this embodiment, the process of obtaining the angular velocity set C is as follows:
[0098] The initial angular velocity ω is attenuated using an attenuation factor to obtain the first angular velocity ω at time t during the inertial rolling phase. t ;
[0099] First angular velocity ω t The calculation process for ω is as follows: t =ω-at;
[0100] Where, ω t ω is the first angular velocity at time t; ω is the initial angular velocity; a is the decay factor.
[0101] The first angular velocity will be calculated one by one at each moment during the inertial rolling phase, and the calculated first angular velocities will be arranged in chronological order to obtain the set of angular velocities C during the inertial rolling phase.
[0102] In this embodiment, controlling the mouse's inertial scrolling based on the scrolling direction when the user stops touching the screen, the initial angular velocity ω, and the set of angular velocities C during the inertial scrolling phase specifically includes:
[0103] The mouse scrolls inertially according to the scrolling direction corresponding to when the user stops touching the screen;
[0104] During the inertial rolling phase, starting with the initial angular velocity ω, the angular velocity decays according to the arrangement order of the angular velocity set C, and the rolling angle is calculated step by step in time sequence and accumulated.
[0105] When the accumulated rolling angle reaches the preset rolling angle A value, the corresponding inertial rolling command is generated, the accumulated rolling angle is cleared to zero, and the rolling angle is accumulated again until the first angular velocity decays to zero and the inertial rolling stops.
[0106] In this embodiment, when the accumulated rolling angle is greater than the preset rolling angle A, a corresponding inertial rolling command is generated. At the same time, the remaining accumulated rolling angle after subtracting the preset rolling angle A is re-accumulated to ensure that the corresponding inertial rolling command is generated in a timely manner when the accumulated rolling angle reaches the preset rolling angle A.
[0107] In this embodiment, the mouse further includes a photoelectric sensor, and the method further includes:
[0108] During the inertial scrolling phase, when the photoelectric sensor detects that the mouse position has moved beyond a preset movement threshold, it generates an inertial scrolling stop signal, thus ending the mouse inertial scrolling.
[0109] In this embodiment, the method further includes: during the inertial scrolling phase, when the sensing component detects that the user touches the mouse wheel again, it generates an inertial scrolling stop signal to end the mouse inertial scrolling.
[0110] Example 1: Setting the mouse's attenuation factor through the terminal.
[0111] In this embodiment, when the value of the mouse's attenuation factor is specifically 0, the mouse simulates uniform inertial scrolling at a preset scrolling speed until the sensing component detects that the user touches the mouse wheel again or the simulated uniform inertial scrolling reaches a preset simulation period, at which point it stops.
[0112] In this embodiment, different damping levels can be set via the host computer to control the inertial rolling time, and the inertial rolling can also be turned on and off via the host computer.
[0113] Example 2: Generation process of attenuation factor
[0114] The mouse also includes a damping setting component, which sets the mouse's attenuation factor. The damping setting component includes a trigger switch, a damping sensing module, and a mouse signal control switch. The output of the trigger switch is electrically connected to the input of the mouse signal control switch, and the output of the trigger switch is electrically connected to the input of the damping sensing module. The output of the mouse signal control switch is electrically connected to the mouse signal input, and the input of the damping sensing module is electrically connected to the mouse wheel's axis. The output of the damping sensing module is communicatively connected to the mouse's controller. The attenuation factor is generated as follows:
[0115] When it is necessary to set the attenuation factor, the damping setting is triggered by the trigger switch.
[0116] When the trigger switch is activated, the mouse signal control switch is turned on, cutting off the mouse signal output. The attenuation factor can be adjusted by rotating the mouse wheel.
[0117] Based on the mouse wheel state at the time of triggering, the attenuation factor gradually increases as the mouse wheel rotates clockwise.
[0118] When the mouse wheel rotates clockwise to the preset angle, the attenuation factor reaches its maximum value.
[0119] Once the attenuation factor is set, restart the trigger switch. At this time, the trigger switch controls the mouse signal to turn off the switch, and the mouse will resume normal use.
[0120] In this embodiment, the trigger switch for the attenuation factor can share the same button as the DPI switch. It can be set to adjust DPI with a short press, and to enter damping adjustment mode when the indicator light is on with a long press. Scrolling the wheel in both directions makes the indicator light brighter or dimmer.
[0121] In this embodiment, the attenuation factor is adjusted by scrolling the mouse wheel back and forth. The display terminal can be an indicator light or an LCD screen, so the magnitude of the attenuation factor can be indicated by the intensity of the indicator light on the mouse or the LCD screen. This allows for visual adjustment of the attenuation factor, facilitating real-time adjustment and improving the user experience.
[0122] In this embodiment, the mouse wheel can be configured to collect data only, while the algorithm processing for inertial scrolling is handled by the host computer. After collecting data, the mouse wheel sends feedback to the host computer promptly. The host computer then receives the processed results and completes the inertial scrolling operation based on these results. This configuration makes the interface more intuitive and increases user engagement with the host computer.
[0123] In this embodiment, a natural and smooth scrolling effect is achieved at the software level by simulating the inertia and damping effects in the physical world. By accurately calculating the initial angular velocity and updating the angular velocity in real time, the effect of inertial scrolling is made closer to real physical phenomena, improving the user experience.
[0124] Referring to Figure 2, this application proposes a control device for mouse inertial scrolling. The mouse includes a mouse wheel, and the mouse wheel is electrically connected to a sensing component, including:
[0125] The data acquisition module is used to receive scrolling information input by the user when touching the mouse wheel, which is detected by the sensing component in real time. The scrolling information includes the scrolling value and scrolling direction corresponding to each timestamp.
[0126] The data processing module is used to calculate the initial angular velocity ω of the mouse wheel's inertial scrolling based on the preset collection time period T and the scrolling values corresponding to each timestamp t when the sensing component detects that the user has stopped touching the mouse wheel.
[0127] The output module is used to obtain the attenuation factor and combine the initial angular velocity ω with the attenuation factor to simulate the inertial scrolling of the mouse on the display end.
[0128] The output module specifically includes:
[0129] The first output unit is used to obtain the attenuation factor and attenuate the initial angular velocity ω based on the attenuation factor to obtain the first angular velocity ω at time t during the inertial rolling phase. t ;
[0130] The second output unit is used to calculate the corresponding first angular velocity at each moment during the inertial scrolling phase, and simulate the inertial scrolling of the mouse on the display end according to the first angular velocity calculated at each moment.
[0131] Referring to Figures 3-5, this application proposes a mouse with inertial scrolling function. The mouse includes a mouse body and a mouse wheel 2, as well as a sensing component 1, a data acquisition terminal 3, an encoder module, and a controller. The sensing component 1 is adapted to the data acquisition terminal 3, which is disposed on the outer periphery of the mouse wheel 2. The encoder module is electrically connected to the sensing component 1, and the controller is electrically connected to the encoder module.
[0132] It should be noted that the ring-shaped conductive sensing structure is used to sense and conduct human body capacitance signals. It can be made of metal or by spraying a conductive layer onto the surface of a non-conductive substrate. The conductive layer can be used directly or covered with an insulating protective layer to improve the feel of the scroll wheel touch. This ring-shaped conductive sensing structure conducts the human body capacitance signal to the touch sensing device.
[0133] In this embodiment, the sensing component 1 detects the touch information input by the user through the acquisition terminal 3 in real time. The touch information includes the scrolling value and scroll wheel direction corresponding to each timestamp. When the sensing component 1 detects that the user stops touching the mouse scroll wheel 2, the encoder module calculates the initial angular velocity ω of the mouse scroll wheel 2 inertial scrolling based on the preset acquisition time period T and the scrolling value corresponding to each timestamp t. The controller obtains the attenuation factor a and uses the initial angular velocity ω in combination with the attenuation factor a to simulate the inertial scrolling of the mouse on the display terminal.
[0134] In this embodiment, when a finger touches and scrolls the wheel, the sensing component sends a scrolling value and a corresponding timestamp based on the direction of the wheel.
[0135] In this embodiment, the sensing component 1 is specifically a single-button touch detection chip. The output terminal of the single-button touch detection chip is electrically connected to the input terminal of the encoder module, and the output terminal of the encoder module is electrically connected to the input terminal of the controller. The sensing component 1 includes a single-button touch detection chip TTP233D-BA6. This touch detection chip has a built-in voltage regulator circuit, providing a stable voltage to the touch sensing circuit. The stable touch detection effect can widely meet the needs of different applications. This touch detection chip is specifically designed to replace traditional buttons. The size of the touch detection PAD can be designed within a reasonable range according to different sensitivities. Low power consumption and wide operating voltage are characteristics of this touch chip in DC or AC applications. Alternatively, the sensing component 1 may specifically include a single-button touch detection chip and a touch processing control unit. The output terminal of the single-button touch detection chip is electrically connected to the input terminal of the encoder module, the output terminal of the encoder module is electrically connected to the input terminal of the touch processing control unit, and the output terminal of the touch processing control unit is electrically connected to the input terminal of the controller.
[0136] In this embodiment, the encoder module can be a mechanical encoder, an optical encoder, a Hall encoder, etc.
[0137] In this embodiment, the encoder module sums the scroll values corresponding to each timestamp within the acquisition time period T before the user stops touching, so as to obtain the total scroll value and the scroll wheel direction S; the controller calculates the initial angular velocity ω of the mouse scroll wheel 2 inertial scrolling based on the total scroll value S and the preset acquisition time period T.
[0138] In this embodiment, the calculation process of the initial angular velocity ω of the mouse wheel 2's inertial scrolling is as follows:
[0139] Where T is the preset collection time period; S is the sum of the rolling values within the collection time period T.
[0140] In this embodiment, when the finger leaves the scroll wheel, the total scroll value S is calculated within a certain period of time T before the finger leaves. For example, if T = 200ms, the total scroll value S is the sum of the absolute values of the scroll values corresponding to each timestamp within 200ms before the finger leaves.
[0141] In this embodiment, the controller obtains an attenuation factor a, and attenuates the initial angular velocity ω based on the attenuation factor a to obtain the first angular velocity ω at time t during the inertial rolling phase. t ;
[0142] First angular velocity ω t The calculation process for ω is as follows: t =ω-at;
[0143] Where, ω t ω is the first angular velocity at time t; ω is the initial angular velocity; a is the decay factor.
[0144] The first angular velocity will be calculated one by one at each moment during the inertial scrolling phase, and the inertial scrolling of the mouse will be simulated on the display end according to the first angular velocity calculated at each moment.
[0145] In this embodiment, the mouse also includes a photoelectric sensor. During the inertial scrolling phase, when the photoelectric sensor detects that the mouse position has moved beyond a preset movement threshold, it generates an inertial scrolling stop signal to end the mouse's inertial scrolling.
[0146] Specifically, as shown in Figures 3-5, the sensing component 1 is distributed circumferentially along the outer periphery of the mouse wheel 2, and the detection surface of the sensing component 1 is set with a preset interval between the outer periphery of the mouse wheel 2; the preset interval is specifically 0.1mm-10mm.
[0147] Specifically, the mouse scroll wheel does not have conductive properties, and the sensing end 3 is a ring-shaped conductive sensing structure disposed on the outer periphery of the mouse scroll wheel 2. The sensing end 3 is specifically a ring-shaped closed metal coating distributed on the outer periphery of the mouse scroll wheel 2; or, the sensing end 3 is specifically multiple coating blocks arranged in a ring at intervals on the outer periphery of the mouse scroll wheel 2.
[0148] In this embodiment, the annular conductive sensing structure includes multiple coating blocks, which are arranged in a ring-shaped distribution on the outer periphery of the mouse scroll wheel 2. Alternatively, the annular conductive sensing structure is a closed-ring metal coating, which is distributed on the outer periphery of the mouse scroll wheel 2 and arranged coaxially with the mouse scroll wheel 2.
[0149] Specifically, the mouse wheel is conductive, and the acquisition end adapted to the capacitive contact sensor is a ring-shaped closed structure and is sleeved on the outer periphery of the mouse wheel.
[0150] In this embodiment, the mouse scroll wheel 2 can be made of plastic. A conductive metal coating can be sprayed onto the outside, followed by a color layer, to allow the scroll wheel to maintain different color patterns. Alternatively, a conductive ring can be embedded inside the plastic, near the outermost edge of the mouse scroll wheel 2. This ensures both finger responsiveness and the diversity of scroll wheel patterns. Serrated protrusions can also be provided on the surface of the sensor 3 to facilitate rotation.
[0151] In this embodiment, the outer ring of the scroll wheel can be semi-circular, which allows for stable touch detection even when the middle scroll button is pressed or the scroll wheel is moved left or right. This design significantly reduces the weight of the mouse.
[0152] Specifically, the mouse body also has a damping setting component inside, which includes a trigger switch, a damping sensing module, and a mouse signal control switch. The output of the trigger switch is electrically connected to the input of the mouse signal control switch, the output of the trigger switch is electrically connected to the input of the damping sensing module, the output of the mouse signal control switch is electrically connected to the mouse signal input, and the input of the damping sensing module is electrically connected to the axis of the mouse scroll wheel 2. The output of the damping sensing module is communicatively connected to the controller.
[0153] In this embodiment, the attenuation factor a is generated as follows:
[0154] When the attenuation factor 'a' needs to be set, the damping setting is triggered by the trigger switch. When the trigger switch is triggered, the mouse signal control switch is turned on, cutting off the mouse signal output. The attenuation factor 'a' is adjusted by rotating the mouse wheel 2. Based on the state of the mouse wheel at the time of triggering, the attenuation factor 'a' gradually increases as the mouse wheel 2 rotates clockwise. When the mouse wheel 2 rotates clockwise to the preset angle, the attenuation factor 'a' reaches its maximum value. After the attenuation factor 'a' is set, the trigger switch is activated again. At this time, the trigger switch controls the mouse signal control switch to turn off, and the mouse returns to normal use.
[0155] In this embodiment, the trigger switch for the attenuation factor can share the same button as the DPI switch. It can be set to adjust DPI with a short press, and to enter damping adjustment mode when the indicator light is on with a long press. Scrolling the wheel in both directions makes the indicator light brighter or dimmer.
[0156] In this embodiment, the switch circuit is shown in Figure 9 to realize the setting of the trigger switch and the setting of the basic mouse buttons. The number of switches can be adjusted according to the needs.
[0157] In this embodiment, the attenuation factor 'a' is adjusted by scrolling the mouse wheel 2 back and forth. The display terminal can be an indicator light or an LCD screen, so the magnitude of the attenuation factor 'a' can be indicated by the intensity of the indicator light on the mouse or the LCD screen. This allows for visual adjustment of the attenuation factor 'a', facilitating real-time adjustment and improving the user experience.
[0158] In this embodiment, the mouse wheel 2 can be configured to collect data only, while the inertial scrolling algorithm is processed on the host computer. After collecting data, the mouse wheel 2 promptly sends feedback to the host computer, then receives the processed results from the host computer and completes the inertial scrolling operation based on those results. This configuration makes the interface more intuitive and increases user engagement with the host computer.
[0159] In this embodiment, by adjusting the circuit, a traditional mouse can achieve inertial scrolling without needing to re-mold it.
[0160] In this embodiment, the controller is specifically an ARM Cortex-M series processor or an MCU series processor.
[0161] In this embodiment, the controller can be an ARM Cortex-M series processor, an 8051 microcontroller, a PIC, an AVR series microcontroller, or a RISC-V architecture MCU.
[0162] In this embodiment, a power supply circuit is also included to supply power to the mouse so that the mouse can be used normally and is easy to adapt to different interfaces.
[0163] In this embodiment, a photosensor, an LED module, and a Bluetooth switching module are also included, and the magnitude of the attenuation factor 'a' is indicated by the intensity of the indicator light on the mouse.
[0164] It should be noted that when the mouse is scrolling inertially, the scrolling status can be indicated by LED lights, vibration feedback, or other means.
[0165] In the specific operation of the mouse with inertial scrolling function in this embodiment, the sensing component 1 detects the touch information input by the user through the acquisition terminal 3 in real time. The touch information includes the scrolling value and scrolling direction corresponding to each timestamp. When the sensing component 1 detects that the user stops touching the mouse scroll wheel 2, the controller calculates the initial angular velocity ω of the mouse scroll wheel 2 for inertial scrolling based on the preset acquisition time period T and the scrolling values acquired by the encoder module for each timestamp t. The controller obtains the attenuation factor a and uses the initial angular velocity ω in combination with the attenuation factor a to simulate the inertial scrolling of the mouse on the display terminal.
[0166] The above description is merely a preferred embodiment of this application, but the scope of protection of this application is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in this application, based on the technical solution and application concept of this application, should be included within the scope of protection of this application.
Claims
1. A method for controlling the inertial scrolling of a mouse, the mouse including a mouse wheel, the mouse wheel being electrically connected to a sensing component, the method comprising: The system receives scrolling information in real time when the user touches the mouse wheel, which is detected by the sensing component. The scrolling information includes the scrolling value and scrolling direction corresponding to each timestamp. When the sensing component detects that the user stops touching the mouse wheel, it calculates the initial angular velocity ω of the mouse wheel's inertial scrolling based on the preset collection time period T and the scrolling values corresponding to each timestamp t. Obtain the attenuation factor, and use the initial angular velocity ω in combination with the attenuation factor to simulate the inertial scrolling of the mouse on the display.
2. The control method of mouse inertia scrolling according to claim 1, wherein, During the inertial scrolling phase, when the sensing component detects that the user touches the mouse wheel again, it generates an inertial scrolling stop signal, ending the mouse inertial scrolling.
3. The control method of the mouse inertia scrolling according to claim 1, wherein, The mouse also includes a photoelectric sensor, and the method further includes: During the inertial scrolling phase, when the photoelectric sensor detects that the mouse position has moved beyond a preset movement threshold, it generates an inertial scrolling stop signal, thus ending the mouse inertial scrolling.
4. The control method of mouse inertia scrolling according to claim 1, wherein, The real-time receiving and sensing component detects scrolling information input by the user when touching the mouse wheel, specifically including: When the sensor detects the direction of the mouse wheel, clockwise is considered positive and counterclockwise is considered negative. When the wheel is scrolling clockwise, the scroll value corresponding to the timestamp is positive, and when the wheel is scrolling counterclockwise, the scroll value corresponding to the timestamp is negative. Real-time collection of scrolling values corresponding to each timestamp.
5. The control method of mouse inertia scrolling according to claim 1, wherein, The initial angular velocity ω of the mouse wheel's inertial scrolling is calculated based on the preset acquisition time period T and the scrolling values corresponding to each timestamp t, specifically including: Sum the scrolling values corresponding to each timestamp within the collection time period T before the user stops interacting with the device, to obtain the sum of the scrolling value and the scrolling direction S. The initial angular velocity ω of the mouse wheel's inertial scrolling is calculated based on the total scrolling value S and the preset acquisition time period T. The calculation process of the initial angular velocity ω of the mouse wheel inertia scrolling is as follows: Where T is the preset collection time period; S is the sum of the rolling values within the collection time period T.
6. The control method of mouse inertia scrolling according to claim 1, wherein, The process of obtaining the attenuation factor, and simulating mouse inertial scrolling on the display using the initial angular velocity ω and the attenuation factor, specifically includes: An attenuation factor is acquired, and an initial angular velocity ω is attenuated based on the attenuation factor to obtain a first angular velocity ω corresponding to a time t in the inertial rolling stage t ; First angular velocity ω t The calculation process is as follows: ω t = ω - at; where ω t is the first angular velocity corresponding to time t; ω is the initial angular velocity; a is the attenuation factor; The first angular velocity will be calculated one by one at each moment during the inertial scrolling phase, and the inertial scrolling of the mouse will be simulated on the display end according to the first angular velocity calculated at each moment.
7. The control method of mouse inertia scrolling according to claim 6, wherein, The first angular velocity calculated at each moment is used to simulate the inertial scrolling of the mouse on the display, specifically including: Arrange the first angular velocities calculated at each moment in chronological order to obtain the set of angular velocities C during the inertial rolling phase; The mouse's inertial scrolling is controlled based on the scrolling direction when the user stops touching the screen, the initial angular velocity ω, and the set of angular velocities C during the inertial scrolling phase.
8. The control method of mouse inertia scrolling according to claim 7, wherein, The control of mouse inertial scrolling based on the scrolling direction when the user stops touching the screen, the initial angular velocity ω, and the set of angular velocities C during the inertial scrolling phase specifically includes: The mouse scrolls inertially according to the scrolling direction corresponding to when the user stops touching the screen; During the inertial rolling phase, starting with the initial angular velocity ω, the angular velocity decays according to the arrangement order of the angular velocity set C, and the rolling angle is calculated step by step in time sequence and accumulated. When the accumulated rolling angle reaches the preset rolling angle A value, the corresponding inertial rolling command is generated, and the rolling angle after subtracting the preset rolling angle A value is retained. The rolling angle is accumulated again until the first angular velocity decays to zero, and the inertial rolling calculation process stops.
9. The control method of mouse inertia scrolling according to claim 1, wherein, The process of generating the attenuation factor is as follows: the mouse attenuation factor is set through the terminal.
10. The control method of the mouse inertia scrolling according to claim 9, wherein, When the mouse's attenuation factor is 0, the mouse simulates uniform inertial scrolling at a preset scrolling speed until the sensing component detects that the user touches the mouse wheel again or the simulated uniform inertial scrolling reaches the preset simulation cycle, at which point it stops.
11. The control method of the mouse inertia scrolling according to claim 1, wherein, The mouse also includes a damping setting component, through which the mouse's attenuation factor is set; The damping setting component includes a trigger switch, a damping sensing module, and a mouse signal control switch. The output terminal of the trigger switch is electrically connected to the input terminal of the mouse signal control switch, the output terminal of the trigger switch is electrically connected to the input terminal of the damping sensing module, the output terminal of the mouse signal control switch is electrically connected to the mouse signal input terminal, and the input terminal of the damping sensing module is electrically connected to the rotation axis of the mouse scroll wheel. The output terminal of the damping sensing module is communicatively connected to the mouse controller.
12. The control method of mouse inertia scrolling according to claim 11, wherein, The process of generating the attenuation factor is as follows: When the trigger switch is activated, the mouse signal control switch is turned on, cutting off the mouse signal output. The attenuation factor can be adjusted by rotating the mouse wheel. Based on the mouse wheel state at the time of triggering, the attenuation factor gradually increases as the mouse wheel rotates clockwise; the attenuation factor reaches its maximum value when the mouse wheel rotates clockwise to the preset rotation angle. Once the attenuation factor is set, restart the trigger switch. The trigger switch will control the mouse signal to turn off the switch, and the mouse will return to normal operation.
13. The control method of mouse inertia scrolling according to claim 1, wherein, The sensing component is specifically a capacitive contact sensor; The mouse wheel is conductive, and the acquisition end adapted to the capacitive contact sensor is a ring-shaped closed structure and sleeved on the outer periphery of the mouse wheel; or, the mouse wheel is not conductive, and the acquisition end adapted to the capacitive contact sensor is a ring-shaped conductive sensing structure and sleeved on the outer periphery of the mouse wheel. The method includes: When a finger touches the mouse wheel, the sensor component determines that a contact state has been reached; When a finger leaves the mouse wheel, the sensor determines that contact has stopped.
14. A control device for mouse inertial scrolling, the mouse including a mouse wheel, the mouse wheel being electrically connected to a sensing component, comprising: The data acquisition module is used to receive scrolling information input by the user when touching the mouse wheel, which is detected by the sensing component in real time. The scrolling information includes the scrolling value and scrolling direction corresponding to each timestamp. The data processing module is used to calculate the initial angular velocity ω of the mouse wheel's inertial scrolling based on the preset collection time period T and the scrolling values corresponding to each timestamp t when the sensing component detects that the user has stopped touching the mouse wheel. The output module is used to obtain the attenuation factor and combine the initial angular velocity ω with the attenuation factor to simulate the inertial scrolling of the mouse on the display end.
15. The control device for mouse inertia scrolling according to claim 14, wherein, The output module specifically includes: The first output unit is configured to obtain an attenuation factor, and perform attenuation processing on the initial angular velocity ω based on the attenuation factor to obtain a first angular velocity ω corresponding to the time t in the inertial rolling phase t ; The second output unit is used to calculate the corresponding first angular velocity at each moment during the inertial scrolling phase, and simulate the inertial scrolling of the mouse on the display end according to the first angular velocity calculated at each moment.
16. A mouse having an inertial scrolling function, the mouse having a mouse body and a mouse wheel (2), wherein, It also includes a sensing component (1), a data acquisition terminal (3), an encoder module, and a controller; the sensing component (1) is adapted to the data acquisition terminal (3), the data acquisition terminal (3) is set on the outer periphery of the mouse scroll wheel (2), the encoder module is electrically connected to the sensing component (1), and the controller is electrically connected to the encoder module.
17. The mouse having an inertial scrolling function according to claim 16, wherein, The sensing component (1) is distributed circumferentially along the outer periphery of the mouse wheel (2), and the detection surface of the sensing component (1) and the outer periphery of the mouse wheel (2) are provided with a preset interval.
18. The mouse having an inertia scroll function according to claim 16, wherein, The mouse wheel does not have a conductive function, and the acquisition end (3) is a ring-shaped conductive induction structure set on the outer periphery of the mouse wheel (2).
19. The mouse having an inertial scrolling function according to claim 18, wherein, The acquisition end (3) is specifically a ring-shaped closed metal coating distributed around the mouse scroll wheel (2); or, the acquisition end (3) is specifically a plurality of coating blocks arranged in a ring at intervals around the mouse scroll wheel (2).
20. The mouse having an inertia scroll function according to claim 16, wherein, The mouse wheel has a conductive function, and the acquisition end (3) is a ring-shaped closed structure and is sleeved on the outer periphery of the mouse wheel.
21. The mouse having an inertial scrolling function according to claim 16, wherein, The sensing component (1) is specifically a single-button touch detection chip. The output of the single-button touch detection chip is electrically connected to the input of the encoder module, and the output of the encoder module is electrically connected to the input of the controller. Alternatively, the sensing component (1) specifically includes a single-button touch detection chip and a touch processing control unit. The output of the single-button touch detection chip is electrically connected to the input of the encoder module, and the output of the encoder module is electrically connected to the input of the touch processing control unit. The output of the touch processing control unit is electrically connected to the input of the controller.
22. The mouse having an inertia scroll function according to claim 16, wherein, The mouse body is also equipped with a damping setting component, which includes a trigger switch, a damping sensing module, and a mouse signal control switch. The output end of the trigger switch is electrically connected to the input end of the mouse signal control switch, and the output end of the trigger switch is electrically connected to the input end of the damping sensing module. The output end of the mouse signal control switch is electrically connected to the mouse signal input end, and the input end of the damping sensing module is electrically connected to the shaft of the mouse scroll wheel (2). The output end of the damping sensing module is communicatively connected to the controller.