Key cooperative control method and device, electronic equipment and storage medium

By detecting mouse button signals to generate keyboard release commands, and using operating system drivers or wireless communication protocols to achieve real-time collaborative control of the mouse and keyboard, the problem of response latency and operational complexity between traditional devices is solved, improving operational accuracy and response speed in scenarios such as games.

CN120949976BActive Publication Date: 2026-01-23BEIJING JIAOWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511489168.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-17
Publication Date
2026-01-23
Estimated Expiration
2045-10-17

AI Technical Summary

Technical Problem

Traditional mice and keyboards lack real-time collaborative control in high-precision operation scenarios, resulting in large response delays and high operational complexity, which has not been effectively resolved, especially after the widespread adoption of wireless devices.

Method used

By detecting mouse button signals to generate keyboard release commands, and utilizing operating system drivers or wireless communication protocols, the mouse can control the keyboard status in real time. This includes the combination of pressure sensors and wireless communication protocols, providing hierarchical triggering and intelligent release modes.

Benefits of technology

Significantly reduces operation latency, improves response speed and operation accuracy, eliminates the negative impact of movement inertia on aiming accuracy, avoids key conflicts, and provides zero-buffer period operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120949976B_ABST
    Figure CN120949976B_ABST
Patent Text Reader

Abstract

Embodiments of the present application relate to the technical field of human-computer interaction, and disclose a key cooperative control method and device, electronic equipment and a storage medium. In the present application, a pressing signal of a mouse key is detected, and a keyboard release instruction is generated according to the pressing signal; the keyboard release instruction is sent to the keyboard through an operating system driver or a wireless communication protocol; and the keyboard release instruction is used to instruct the keyboard to immediately perform a key release operation. The present application establishes a real-time control channel of the mouse to the keyboard state, solves the problem of large response delay and high operation complexity caused by the lack of cooperation between traditional input devices, and significantly improves the operation accuracy and response speed in a game scenario.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of human-computer interaction technology, and in particular to a button collaborative control method, device, electronic device and storage medium. Background Technology

[0002] In computer input device interaction technology, the mouse and keyboard typically function as independent input devices, lacking an effective collaborative control mechanism. Especially in applications requiring high precision and responsiveness, such as gaming and design, users often need to operate both the mouse and keyboard simultaneously, frequently switching between key presses. For example, in FPS games, users need to quickly stop moving and execute a shooting action. Traditionally, this requires releasing the movement key and then pressing the left mouse button, resulting in a significant physical delay (approximately 30-50ms). This leads to sluggish response, decreased precision, and a higher risk of misoperations and key conflicts.

[0003] While traditional solutions include various input optimization methods such as macro key settings and key mapping, these solutions still rely on manual user configuration or software-level simulation, failing to achieve real-time, hardware-level collaborative control between devices. This results in poor inter-device coordination, high response latency, and significant operational complexity. Especially with the increasing prevalence of wireless devices, achieving direct, low-latency collaborative control between the mouse and keyboard via wireless communication protocols such as 2.4G, Bluetooth, or Wi-Fi remains a technological gap. Summary of the Invention

[0004] The purpose of this invention is to provide a key coordination control method, device, electronic device, and storage medium, which enables real-time control of the keyboard state by the mouse by detecting mouse button press signals and generating keyboard release commands, significantly reducing operation latency and improving response speed and operation accuracy.

[0005] To address the aforementioned technical problems, embodiments of the present invention provide a key coordination control method, comprising: detecting a mouse button press signal; generating a keyboard release command based on the press signal; and sending the keyboard release command to a keyboard via an operating system driver or a wireless communication protocol; wherein the keyboard release command is used to instruct the keyboard to immediately perform a key release operation.

[0006] Embodiments of the present invention also provide a key coordination control device, comprising: a sensing detection module for detecting a mouse button press signal; an instruction generation module for generating a keyboard release instruction based on the press signal; and an instruction sending module for sending the keyboard release instruction to a keyboard via an operating system driver or a wireless communication protocol; wherein the keyboard release instruction is used to instruct the keyboard to immediately perform a key release operation.

[0007] Embodiments of the present invention also provide an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the above-described key coordination control method.

[0008] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described key coordination control method.

[0009] In this embodiment of the invention, a keyboard release command is generated based on the mouse button press signal, and then sent to the keyboard via an operating system driver or wireless communication protocol. The keyboard release command instructs the keyboard to immediately execute a key release operation. This invention establishes a real-time control channel between the mouse and keyboard states, solving the problems of large response latency and high operational complexity caused by the lack of coordination between traditional input devices, and significantly improving operational accuracy and response speed in scenarios such as games. Attached Figure Description

[0010] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0011] Figure 1 This is a flowchart of a button collaborative control method according to an embodiment of the present invention;

[0012] Figure 2 This is a schematic diagram of a hierarchical triggering mechanism supported by a Hall sensor according to an embodiment of the present invention;

[0013] Figure 3 This is a schematic diagram of a simple release mode for operating system transmission according to an embodiment of the present invention;

[0014] Figure 4 This is a schematic diagram of the intelligent release mode of operating system transmission according to an embodiment of the present invention;

[0015] Figure 5 This is a schematic diagram of a simplified release mode for wireless protocol transmission according to an embodiment of the present invention;

[0016] Figure 6 This is a schematic diagram of a smart release mode for wireless protocol transmission according to an embodiment of the present invention;

[0017] Figure 7This is a schematic diagram of the structure of a button collaborative control device according to another embodiment of the present invention;

[0018] Figure 8 This is a schematic diagram of the structure of an electronic device according to another embodiment of the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details are presented in the various embodiments of the present invention to facilitate a better understanding of the invention. However, the technical solutions claimed in the present invention can be implemented even without these technical details and with various changes and modifications based on the following embodiments. The division of the various embodiments below is for ease of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with and referenced by each other without contradiction.

[0020] One embodiment of the present invention relates to a key coordination control method, which can be applied to electronic devices connected to computer equipment such as mice and gamepads, and can also be applied to operating systems composed of electronic components such as chips. For ease of description, this execution subject will be referred to as a key coordination control unit. In this embodiment, by detecting the pressing signal of the mouse button, a keyboard release command is generated based on the pressing signal; the keyboard release command is sent to the keyboard through the operating system driver or wireless communication protocol; the keyboard release command is used to instruct the keyboard to immediately execute the key release operation. The present invention solves the problems of large response delay and high operation complexity caused by the lack of coordination between traditional input devices by establishing a real-time control channel between the mouse and the keyboard state, and significantly improves the operation accuracy and response speed in scenarios such as games. The implementation details of the key coordination control method of this embodiment are described in detail below. The following content is only for the convenience of understanding and is not necessary for implementing this solution.

[0021] like Figure 1 As shown, in step 101, the key coordination control unit detects the pressing signal of the mouse button; in step 102, the key coordination control unit generates a keyboard release command based on the pressing signal; wherein, the keyboard release command is used to instruct the keyboard to immediately execute the key release operation. The keyboard device contains a signal receiving module and is a smart keyboard that supports external release commands.

[0022] In one example, a pressure sensor can be used to detect the depth of pressure applied, enabling more precise sensing of the button's state and enhancing control accuracy and user experience. Specifically, detecting the mouse button's press signal can be achieved by using a pressure sensor integrated into the mouse to detect the depth of the button press; when the detected press depth exceeds a preset value, it is considered a press signal has been detected. The pressure sensor can be an integrated Hall sensor, magnetoresistive sensor, or microswitch, etc.

[0023] In one example, the pressure sensor uses a standard microswitch, with trigger detection implemented at the software level. This is suitable for cost-sensitive products, emphasizes software compatibility, maintains a familiar operating feel for users, and ensures full compatibility with existing software.

[0024] The microswitch supports a single-stage triggering mechanism. It uses a binary triggering mechanism (only two states: pressed and released), and achieves coordinated control through software algorithms. Specifically, after detecting a pressed microswitch signal, the system executes two actions sequentially: 1. Immediately send a "keyboard release command" to the operating system. 2. After the keyboard release command has been executed, send a Human Interface Device (HID) message (formed by a standard left mouse button press) to the operating system. For example, after sending the keyboard release command, a preset time can be waited before triggering the corresponding mouse button press event. This preset delay mechanism ensures that the mouse press event is triggered only after the keyboard release command has been executed, avoiding command conflicts and improving system reliability. When used in game scenarios, such as shooting games where movement is controlled by the keyboard (W, A, S, D) and shooting is controlled by the left mouse button, the character's movement will instantly stop and the shooting action will be executed. Technical features include: no hierarchical control; multiple actions are triggered simultaneously upon pressing; suitable for applications requiring simplified operation; full compatibility with existing games; low implementation cost, suitable for mass production.

[0025] In one example, a Hall effect sensor or magnetoresistive sensor is used for magnetic field strength detection, providing higher accuracy in pressure depth recognition, supporting a tiered triggering mechanism, and further optimizing response time and operational reliability. In other words, pressure sensors include Hall effect sensors or other similar sensors such as Tunnel Magnetoresistance (TMR) sensors. These sensors are characterized by immediately sending a keyboard release command upon detecting a change in pressure depth; and / or triggering a mouse button press event when the detected pressure depth meets a preset depth threshold. Since magnetoresistive sensors and Hall effect sensors operate on similar principles and have similar application scenarios, this article will use a Hall effect sensor as an example to explain the magnetic field strength detection method. The method for using a magnetoresistive sensor for magnetic field strength detection is similar and will not be elaborated further.

[0026] For example, the hierarchical triggering mechanism supported by the aforementioned Hall sensor is as follows: Figure 2 As shown, upon detecting a change in press depth, the system enters the first stage (pre-trigger stage), immediately sending a keyboard release command. In the example shooting game scenario described above, this can achieve a "movement stop" function, instantly halting the game character's movement to prepare for precise aiming. The trigger condition, for example, could be a key travel change exceeding 0.01mm, or it can be set in the settings interface. When the press depth meets a preset depth threshold, the system enters the second stage (full trigger stage), executing the "mouse click" function. The preset depth threshold can be 2.0mm~4.0mm, or it can be set by the user in the settings interface according to their needs. The "mouse click" function sends a standard "left mouse button pressed" HID message, performing the actual shooting / click operation.

[0027] In one example, after sending a keyboard release command, a preset time can be waited before triggering the corresponding mouse button press event. This preset delay mechanism ensures that the keyboard release command completes before the mouse press event is triggered, avoiding command conflicts and improving system reliability.

[0028] In step 103, the key coordination control unit sends a keyboard release command to the keyboard via an operating system driver or a wireless communication protocol. There are two methods for transmitting the keyboard release command: one is via the operating system driver, and the other is via a wireless communication protocol. Wireless communication protocols include 2.4G, Bluetooth, and StarFlash, among others.

[0029] The communication path for transmission driven by the operating system is: mouse device → mouse driver → operating system input management service → keyboard driver → keyboard device; the communication path for transmission driven by the wireless communication protocol is: mouse device → 2.4G / Bluetooth wireless / Star Flash channel → keyboard device, enabling direct communication between devices.

[0030] Regardless of the keyboard release command transmission method, there are at least two keyboard release modes. One is a simple release mode, which is the key release operation in step 102 above, which can be: releasing all currently pressed keys on the keyboard, or releasing the currently pressed key corresponding to the mouse button. The other is a smart release mode, which is the key release operation in step 102 above, which can be: releasing the currently pressed key corresponding to the mouse button on the keyboard and pressing a preset replacement key. By providing multiple key release modes (all release, specified release, release and replacement), the method adapts to different application scenarios, enhancing its flexibility and practicality.

[0031] Simple release mode under the transmission method driven by the operating system, such as Figure 3As shown, only the currently pressed key is released. This is achieved by scanning the current key status register through the keyboard driver, detecting the current keyboard state, and then sending a release command to release all pressed keys. This is suitable for most game scenarios. The specific steps are as follows: ① Receive the release command triggered by the mouse; ② Scan the keyboard key status buffer; ③ Identify all pressed keys (such as W, A, S, D, and other movement keys); ④ Send key release HID messages sequentially; ⑤ Clear the key status buffer.

[0032] Smart release mode under the transmission method driven by the operating system, such as Figure 4 As shown, releasing the current key triggers a preset alternative key. This allows for intelligent key replacement based on game scenarios and user configurations, making it suitable for game scenarios requiring rapid changes in movement direction or reverse operations, enabling more complex game strategies such as sudden stops and retreats, and sharp turns.

[0033] In one example, releasing the currently pressed key on the keyboard corresponding to the mouse button and pressing a preset replacement key can be achieved by: identifying the currently pressed key on the keyboard corresponding to the mouse button according to a user-configured key mapping table, and pressing the replacement key in the key mapping table corresponding to the currently pressed key on the keyboard. This intelligent replacement function, implemented through a user-configurable key mapping table, supports complex operation strategies and further improves operational efficiency and tactical execution capabilities. For example, replacing the forward key (W) with the back key (S) enables an emergency stop in the game; replacing the left strafe key (A) with the right strafe key (D) enables an emergency stop in the game. The specific steps are as follows: ① Receive the release command triggered by the mouse; ② Identify the currently pressed key combination; ③ Query the user-configured key replacement mapping table; ④ Execute the release operation of the current key; ⑤ Execute the press operation of the replacement key after a delay of 1-2ms; ⑥ Update the keyboard state buffer.

[0034] The following example, using a Hall sensor solution, illustrates a complete technical process for the transmission method sent by the operating system driver:

[0035] Step 1: Signal Detection and Encoding, including: ① The left mouse button Hall sensor detects the first-stage press event (pre-trigger); ② The mouse firmware determines the trigger stage and generates the corresponding control command; ③ The device driver encodes the pre-trigger event into a custom HID message. Step 2: System-level Signal Processing, including: ① The operating system input management service intercepts the HID message; ② The message content is parsed and identified as a device collaborative control command; ③ The legality and reliability of the command's source are verified. Step 3: Cross-Device Communication Execution, including: ① The control signal is forwarded to the keyboard driver through the inter-device communication channel implemented via the Advanced Configuration and Power Interface (ACPI) namespace; ② The keyboard driver receives and verifies the control command; ③ The keyboard firmware executes the corresponding keyboard release command according to the configuration mode.

[0036] In one example, the wireless communication protocol could be 2.4G, Bluetooth, or Starlink. This enables direct communication between devices, reduces system dependencies, and improves response speed and system stability, making it particularly suitable for wireless peripheral scenarios.

[0037] Simple release mode under the transmission method of wireless communication protocol, such as Figure 5 As shown, the smart release mode under the transmission method transmitted by the wireless communication protocol is as follows: Figure 6 As shown, it is not difficult to see that, Figure 5 In the example shown, from the perspective of the keyboard's release command, the transmission methods sent by the operating system driver and the wireless communication protocol are redundant in the simple release mode described above, and will not be elaborated further here. However, the communication path changes to: mouse device → 2.4G / Bluetooth / StarFlash wireless channel → keyboard device; similarly, in Figure 6 In the example shown, from the perspective of the keyboard's release command, the transmission methods sent by the operating system driver and the wireless communication protocol are redundant in the aforementioned smart release mode process. However, the communication path changes to: mouse device → 2.4G / Bluetooth / StarFlash wireless channel → keyboard device.

[0038] To more clearly illustrate the impact of changes in the communication path, the following example, using a Hall effect sensor solution, will demonstrate a complete technical process for explaining the transmission method of the wireless communication protocol:

[0039] Step 1: Signal Detection and Encoding, including: ① The mouse Hall sensor detects the first-stage press event (pre-trigger); ② The mouse firmware determines the trigger stage and generates the corresponding control command; ③ The device encodes the pre-trigger event into a wireless communication data packet. Step 2: Wireless Communication Transmission, including: ① The mouse sends control data packets via a 2.4G / Bluetooth / StarFlash module; ② The keyboard device receives and verifies the integrity of the data packets. Step 3: Command Execution, including: ① The keyboard firmware parses the control command; ② Verifies the legality and reliability of the command's source; ③ Executes the corresponding keyboard state control command. Step 4: State Management and Recovery, including: ① The keyboard records the current key state to a local buffer; ② Executes the corresponding operation mode according to the user configuration; ③ Monitors the mouse trigger state and detects whether it has been completely released and returned to the initial position; ④ Executes the key state recovery logic.

[0040] In one example, users can configure various parameters of the invention themselves in the user configuration interface. The user configuration interface may include: a mode selection switch option, allowing users to switch between simple release mode and intelligent release mode; a key mapping configuration option, enabling user-configurable key mapping tables and allowing users to define custom key replacement rules; a delay time adjustment option, allowing users to adjust the time interval between release and press (recommended to be between 0-10ms); and a game scene preset option, used to provide preset key mapping schemes for different applications (including various games).

[0041] Testing has shown that this invention significantly optimizes response speed and improves operational accuracy. In terms of response speed, traditional operation latency is 30-50ms (finger physical lift time), while the pre-trigger latency of this invention is <1ms (2.4G / Bluetooth / StarFlash hardware-level transmission), resulting in a 30-50 times improvement in response speed. Regarding operational accuracy, it eliminates the negative impact of movement inertia on aiming accuracy, achieves true zero-buffering operation, and avoids command queuing caused by key conflicts. It solves the technical problem of poor coordination in traditional input devices, providing users with a more efficient operation method through direct inter-device collaboration. This technology has broad application prospects and significant economic value in multiple fields such as gaming, design, and office work.

[0042] In this embodiment, a keyboard release command is generated based on the mouse button press signal. This command is then sent to the keyboard via an operating system driver or wireless communication protocol. The keyboard release command instructs the keyboard to immediately release the key. This invention establishes a real-time control channel between the mouse and keyboard, solving the problems of high response latency and operational complexity caused by the lack of coordination between traditional input devices. This significantly improves operational accuracy and response speed in scenarios such as games.

[0043] The steps described above are for clarity only. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the protection scope of this invention. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, without changing the core design of the algorithm and process, are also within the protection scope of this application.

[0044] Another embodiment of the present invention relates to a button-based collaborative control device, such as... Figure 7 As shown, it includes: a sensor detection module 401 for detecting mouse button press signals; an instruction generation module 402 for generating a keyboard release instruction based on the press signals; and an instruction sending module 403 for sending the keyboard release instruction to the keyboard via an operating system driver or a wireless communication protocol; wherein the keyboard release instruction is used to instruct the keyboard to immediately perform a key release operation.

[0045] In one example, detecting a mouse button press signal includes: detecting the press depth of the mouse button using a pressure sensor integrated in the mouse; when the press depth is detected to increase beyond a preset value, it is considered that a press signal has been detected.

[0046] In one example, the pressure sensor is a Hall sensor or a magnetoresistive sensor. The Hall sensor or magnetoresistive sensor is used to detect the intensity of changes in the magnetic field in real time. The intensity of changes in the magnetic field is used to calculate the pressing depth. The aforementioned key coordination control device also includes: a graded detection module, used to immediately send a keyboard release command when a change in pressing depth is detected; and / or, when the pressing depth is detected to meet a preset depth threshold, triggering the corresponding mouse button press event.

[0047] In one example, the wireless communication protocol is 2.4G, Bluetooth, or Starflash.

[0048] In one example, the device further includes a delay response module, used to wait a preset time after sending a keyboard release command before triggering the corresponding mouse button press event. The pressure sensor is a microswitch, and the microswitch has a binary trigger structure.

[0049] In one example, a key release operation includes: releasing all currently pressed keys on the keyboard; or, releasing the currently pressed key on the keyboard corresponding to the mouse button; or, releasing the currently pressed key on the keyboard corresponding to the mouse button and pressing a preset alternative key.

[0050] In one example, releasing the currently pressed key on the keyboard corresponding to the mouse button and pressing a preset alternative key includes: identifying the currently pressed key on the keyboard corresponding to the mouse button according to a user-configured key mapping table, and pressing the alternative key in the key mapping table corresponding to the currently pressed key on the keyboard.

[0051] In this embodiment, a keyboard release command is generated based on the mouse button press signal. This command is then sent to the keyboard via an operating system driver or wireless communication protocol. The keyboard release command instructs the keyboard to immediately release the key. This invention establishes a real-time control channel between the mouse and keyboard, solving the problems of high response latency and operational complexity caused by the lack of coordination between traditional input devices. This significantly improves operational accuracy and response speed in scenarios such as games.

[0052] It is not difficult to see that this embodiment is a device embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details mentioned in the above method embodiment are still valid in this embodiment, and will not be repeated here to reduce repetition. Accordingly, the relevant technical details mentioned in this embodiment can also be applied to the above method embodiment.

[0053] It is worth mentioning that all modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of this invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by this invention; however, this does not mean that other units are absent from this embodiment.

[0054] Another embodiment of the present invention relates to an electronic device, such as... Figure 8 As shown, it includes at least one processor 501; and a memory 502 communicatively connected to the at least one processor; wherein the memory 502 stores instructions that can be executed by the at least one processor 501, the instructions being executed by the at least one processor 501 to enable the at least one processor 501 to perform the key coordination control method as described above.

[0055] The memory 502 and processor 501 are connected via a bus, which can include any number of interconnecting buses and bridges. The bus connects various circuits of one or more processors 501 and memory 502 together. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 501 is transmitted over a wireless medium via an antenna, which further receives data and transmits it to processor 501.

[0056] Processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory 502 can be used to store data used by processor 501 during operation.

[0057] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the method embodiments described above.

[0058] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0059] Those skilled in the art will understand that the above embodiments are specific examples of implementing the present invention, and in practical applications, various changes in form and detail may be made without departing from the spirit and scope of the present invention.

Claims

1. A button-based collaborative control method, characterized in that, include: Detect mouse button press signals; A keyboard release command is generated based on the press signal; The keyboard release command is sent to the keyboard via the operating system driver or wireless communication protocol; The keyboard release command is used to instruct the keyboard to immediately perform a key release operation; The detection of mouse button press signals includes: detecting the press depth of the mouse button using a pressure sensor integrated in the mouse; When the press depth is detected to increase beyond a preset value, it is considered that the press signal has been detected. The method further includes: after sending the keyboard release command, waiting for a preset time before triggering the mouse button press event; The method further includes: Upon detecting the change in the pressing depth, the keyboard release command is immediately sent; When the pressing depth is detected to meet the preset depth threshold, the press event corresponding to the mouse button is triggered; The pressure sensor is either a Hall sensor or a magnetoresistive sensor. The Hall sensor or magnetoresistive sensor is used to detect the intensity of changes in the magnetic field in real time. The intensity of changes in the magnetic field is used to calculate the pressing depth.

2. The button collaborative control method according to claim 1, characterized in that, The wireless communication protocol includes: 2.4G or Bluetooth protocol or StarFlash.

3. The button collaborative control method according to claim 1, characterized in that, The button release operation includes: Release all currently pressed keys on the keyboard; or, Release the currently pressed key on the keyboard corresponding to the mouse button; or, Release the currently pressed key on the keyboard corresponding to the mouse button and press the preset alternative key.

4. The button collaborative control method according to claim 3, characterized in that, The step of releasing the currently pressed key on the keyboard corresponding to the mouse button and pressing a preset alternative key includes: Based on the user-configured key mapping table, identify the key currently pressed on the keyboard that corresponds to the mouse button, and press the substitute key in the key mapping table that corresponds to the currently pressed key on the keyboard.

5. A button-based collaborative control device, characterized in that, include: The sensor detection module is used to detect the press signal of the mouse button; The instruction generation module is used to generate a keyboard release instruction based on the press signal; The instruction sending module is used to send the keyboard release instruction to the keyboard via an operating system driver or a wireless communication protocol. The keyboard release command is used to instruct the keyboard to immediately perform a key release operation; The detection of mouse button press signals includes: detecting the press depth of the mouse button using a pressure sensor integrated in the mouse; When the press depth is detected to increase beyond a preset value, it is considered that the press signal has been detected. The device further includes a delay response module, which waits a preset time after sending the keyboard release command before triggering the mouse button press event; The instruction sending module is further configured to: Upon detecting the change in the pressing depth, the keyboard release command is immediately sent; When the pressing depth is detected to meet the preset depth threshold, the press event corresponding to the mouse button is triggered; The pressure sensor is either a Hall sensor or a magnetoresistive sensor. The Hall sensor or magnetoresistive sensor is used to detect the intensity of changes in the magnetic field in real time. The intensity of changes in the magnetic field is used to calculate the pressing depth.

6. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the key coordination control method as described in any one of claims 1 to 4.

7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the key coordination control method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Unified communication of computer peripherals

    CN106970887A

  • Input system for mouse of computer, has interpreter to access control command and interpret command, when release key is pressed, where interpreted command is transferred to computer through interface, such that computer executes command

    DE102005041323A1

  • Architecture for Variable Pressure Mouse

    US20140176441A1