CN118244909B - Mouse input control circuit and method - Google Patents
Mouse input control circuit and method Download PDFInfo
- Publication number
- CN118244909B CN118244909B CN202410644418.XA CN202410644418A CN118244909B CN 118244909 B CN118244909 B CN 118244909B CN 202410644418 A CN202410644418 A CN 202410644418A CN 118244909 B CN118244909 B CN 118244909B
- Authority
- CN
- China
- Prior art keywords
- touch
- pressure
- information
- mouse
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000012545 processing Methods 0.000 claims abstract description 120
- 230000006698 induction Effects 0.000 claims abstract description 25
- 238000005096 rolling process Methods 0.000 claims description 40
- 238000004891 communication Methods 0.000 claims description 14
- 241000699666 Mus <mouse, genus> Species 0.000 description 219
- 230000006870 function Effects 0.000 description 22
- 238000003825 pressing Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000012905 input function Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/038—Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
- G06F3/0383—Signal control means within the pointing device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/033—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
- G06F3/0354—Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
- G06F3/03543—Mice or pucks
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
Abstract
The application relates to the technical field of mouse input control, and discloses a mouse input control circuit and a mouse input control method, wherein the circuit comprises an induction module, a control chip, an input processing module and a mouse output module, and the induction module comprises a pressure induction unit and a touch induction unit; the control chip is connected with the input processing module, the mouse output module and the pressure/touch sensing unit, the pressure/touch sensing unit is connected with the pulley, the key and the input processing module, and the input processing module is connected with the mouse output module; the pressure sensing unit is used for collecting first pressure information of the pulley and second pressure information of the key, the touch sensing unit is used for collecting first touch information of the pulley and second touch information of the key, the control chip is used for determining an input control instruction according to the first/pressure information and the first/second touch information, and the input processing module is used for inputting the input control instruction at the mouse output module so as to realize input control of the mouse. The application improves the functionality of mouse input control.
Description
Technical Field
The invention relates to the technical field of mouse input control, in particular to a mouse input control circuit and a mouse input control method.
Background
With the development of technology, mice are used more and more frequently in various fields, but pursuit of mouse input control functionality is accompanied.
The traditional mouse input control realizes the functions of up-and-down sliding, position selection, text selection and the like of a page by performing operations such as scrolling, clicking, moving and long pressing on a mouse, and the mouse input control can realize a single function only by performing the operations of scrolling, clicking, moving and long pressing on the mouse, so that the mouse input control has low functionality.
Disclosure of Invention
The invention mainly aims at providing a mouse input control circuit and a mouse input control method, aiming at solving the technical problem of how to improve the input control functionality of an optical mouse.
In order to achieve the above purpose, the invention provides a mouse input control circuit, which comprises an induction module, a control chip, an input processing module and a mouse output module, wherein the induction module comprises a pressure induction unit and a touch induction unit;
The control chip is connected with the input processing module, the mouse output module, the pressure sensing unit and the touch sensing unit, the pressure sensing unit is connected with the pulley, the key and the input processing module, the touch sensing unit is connected with the pulley, the key and the input processing module, and the input processing module is connected with the mouse output module;
The pressure sensing unit is used for collecting first pressure information of the pulley and second pressure information of the key, the touch sensing unit is used for collecting first touch information of the pulley and second touch information of the key, the control chip is used for determining an input control instruction according to the first pressure information, the second pressure information, the first touch information and the second touch information, and the input processing module is used for inputting the input control instruction at the mouse output module so as to realize input control of the mouse.
In an embodiment, the pressure sensing unit includes a first pressure sensing circuit connected to the key, the first pressure sensing circuit including a first timer and a first pressure sensor:
The first pressure sensor is mechanically connected with the key, the output end of the first pressure sensor is connected with the input end of the first timer, the control chip and the input processing module, and the output end of the first timer is connected with the control chip;
The pressure sensing unit further comprises a second pressure sensing circuit connected with the pulley, and the second pressure sensing circuit comprises a second pressure sensor:
The second pressure sensor is mechanically connected with the pulley, and the output end of the second pressure sensor is connected with the control chip.
In an embodiment, the touch sensing unit includes a first touch sensing circuit connected with the keys, the keys include a left key and a right key, and the first touch sensing circuit includes a first position sensor, a second position sensor, a third pressure sensor, and a second timer:
The first position sensor is mechanically connected with the left key, the second position sensor is mechanically connected with the right key, the output end of the first position sensor is connected with the control chip, and the output end of the second position sensor is connected with the control chip;
The third pressure sensor is mechanically connected with the left key, or the third pressure sensor is mechanically connected with the right key, the output end of the third pressure sensor is connected with the input end of the second timer, and the output end of the second timer is connected with the control chip;
The touch sensing unit further comprises a second touch sensing circuit connected with the pulley, and the second touch sensing circuit comprises a third position sensor:
The third position sensor is mechanically connected with the pulley, and the output end of the third position sensor is connected with the input processing module and the control chip.
In an embodiment, the control chip comprises a C51 series single-chip microcomputer, and the single-chip microcomputer is provided with a pressure acquisition port, a touch acquisition port, a timing acquisition port, an output control port, an information output port and a selection port:
The pressure acquisition port is connected with the output end of the first pressure sensor and the output end of the second pressure sensor, the touch acquisition port is connected with the output end of the first position sensor and the output end of the second position sensor, the timing acquisition port is connected with the output end of the first timer and the output end of the second timer, the output control port is connected with the input processing module, the information output port is connected with the input processing module, and the selection port is connected with the mouse output module.
In one embodiment, the input processing module includes a key pressure processing circuit including a key pressure signal source and a first selection switch:
the first end of the first selection switch is connected with the key pressure signal source, the second end of the first selection switch is suspended, the third end of the first selection switch is connected with the mouse output module, and the control end of the first selection switch is connected with the output control port;
the input processing module further comprises a key touch processing circuit, wherein the key touch processing circuit comprises a delay memory and a second selection switch:
The input end of the delay memory is connected with the information output port, the first end of the second selection switch is connected with the output end of the delay memory, the second end of the second selection switch is suspended, the third end of the second selection switch is connected with the mouse output module, and the control end of the second selection switch is connected with the output control port.
In one embodiment, the input processing module includes a pulley pressure processing circuit and a pulley touch processing circuit, the pulley pressure processing circuit including a pulley up-slip signal source, a pulley down-slip signal source, and a third selector switch:
The first end of the third selection switch is connected with the pulley upward sliding signal source, the second end of the third selection switch is connected with the pulley downward sliding signal source, the third end of the third selection switch is connected with the mouse output module, and the control end of the third selection switch is connected with the pulley touch processing circuit:
the pulley touch processing circuit includes a fourth selection switch:
The first end of the fourth selection switch is grounded, the second end of the fourth selection switch is connected with a system power supply, the third end of the fourth selection switch is connected with the control end of the third selection switch, the fourth end of the fourth selection switch is connected with the mouse output module, and the control end of the fourth selection switch is connected with the output control port.
In an embodiment, the mouse output module comprises an output circuit and a communication line, wherein the communication line is connected with the output circuit and a product host, and the communication line is also connected with the control chip and the output circuit;
The output circuit comprises a multiple-choice selector:
The output end of the multi-selector is connected with the product host, the control end of the multi-selector is connected with the selection port, the first input end of the multi-selector is connected with the output end of the first pressure sensor, the second input end of the multi-selector is connected with the output end of the third position sensor, and the third input end of the multi-selector is connected with the third end of the third selection switch, the fourth end of the fourth selection switch, the third end of the first selection switch and the third end of the second selection switch.
In addition, in order to achieve the above object, the present invention further provides a mouse input control method, where the mouse input control method is applied to the mouse input control circuit, and the steps of the mouse input control method include:
acquiring sensing information acquired by a sensing module, wherein the sensing information comprises touch information and pressure information;
And determining an input control instruction according to the touch information and the pressure information, and controlling the input of the mouse based on the input control instruction.
In an embodiment, the touch information includes first touch information, the pressure information includes first pressure information, and the step of determining the input control command according to the touch information and the pressure information includes:
If the touch information is the first touch information and the pressure information is the first pressure information, determining a rolling direction and a rolling speed in the first touch information, and after the first pressure information is determined, moving in the rolling direction at the rolling speed to serve as an input control instruction, or alternatively;
after the first pressure information is determined, determining a rolling direction in the first touch information, and moving towards the rolling direction to be used as an input control instruction;
if the touch information is the first touch information, determining a rolling direction in the first touch information, and taking the rolling direction as an input control instruction when the current moving state is a preset stopping state;
when the current moving state is a preset moving state, taking a preset moving stopping instruction as an input control instruction;
and if the pressure information is the first pressure information and the current moving state is the preset moving state, taking a preset stopping moving instruction as an input control instruction.
In an embodiment, the touch information includes second touch information, the pressure information includes second pressure information, and the step of determining the input control command according to the touch information and the pressure information further includes:
Determining the pressure duration in the second pressure information, and detecting whether the pressure duration is greater than a preset duration threshold;
If the pressure duration is smaller than or equal to a preset duration threshold, determining a pressure position in the second pressure information, and taking a key instruction of the pressure position as an input control instruction;
If the pressure time length is greater than a preset time length threshold, determining a touch moving direction of the second touch information, and taking the touch moving direction as an input control instruction;
The step of determining an input control command according to the touch information and the pressure information further comprises:
determining a touch moving direction, touch duration and pressure in the second touch information;
If the pressure is greater than a preset pressure threshold and the touch time is greater than a preset touch threshold, determining an input control instruction according to the touch movement direction;
If the pressure in the second pressure information is smaller than or equal to a preset threshold value, or the touch duration is smaller than or equal to a preset touch threshold value, executing the step of acquiring the sensing information acquired by the sensing module;
the touch movement direction comprises a left key touch movement direction and a right key touch movement direction, and the step of determining an input control instruction according to the touch movement direction comprises the following steps:
if the touch moving direction is the left key touch moving direction, determining a moving track formed by the left key touch moving direction, determining a target Chinese character matched with the moving track in a preset Chinese character table, and taking an input instruction of the target Chinese character as an input control instruction;
and if the touch moving direction is the right key touch moving direction, determining a moving track of the right key touch moving direction, and taking an instruction for moving a mouse towards the moving track as an input control instruction.
The invention provides a mouse input control circuit, which comprises an induction module, a control chip, an input processing module and a mouse output module, wherein the induction module comprises a pressure induction unit and a touch induction unit; the control chip is connected with the input processing module, the mouse output module, the pressure sensing unit and the touch sensing unit, the pressure sensing unit is connected with the pulley, the key and the input processing module, the touch sensing unit is connected with the pulley, the key and the input processing module, and the input processing module is connected with the mouse output module; the pressure sensing unit is used for collecting first pressure information of the pulley and second pressure information of the key, the touch sensing unit is used for collecting first touch information of the pulley and second touch information of the key, the control chip is used for determining an input control instruction according to the first pressure information, the second pressure information, the first touch information and the second touch information, and the input processing module is used for inputting the input control instruction at the mouse output module so as to realize input control of the mouse. Through the relation of connection between response module (including pressure sensing unit and touch sensing unit), control chip, input processing module and mouse output module, and then based on the first pressure information of pulley and the second pressure information of button that pressure sensing unit gathered, the first touch information of pulley and the second touch information of button that touch sensing unit gathered, and then realize confirming input control command according to first pressure information, second pressure information, first touch information and second touch information to input control command carries out input control to mouse based on the input control command. Therefore, the phenomenon that a single function can be realized only through scrolling, clicking, moving and long-pressing operations on a mouse in the prior art is avoided, and the mouse input control circuit determines an input control instruction according to first pressure information, second pressure information, first touch information and second touch information instead of simple scrolling, clicking, moving and long-pressing operations, so that the functionality of mouse input control can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a mouse input control circuit according to the present invention;
FIG. 2 is a schematic diagram showing a connection of a pressure sensing unit in the mouse input control circuit according to the present invention;
FIG. 3 is a schematic diagram showing a connection of a touch sensing unit in the mouse input control circuit of the present invention;
FIG. 4 is a schematic diagram showing another connection of the touch sensing unit in the mouse input control circuit according to the present invention;
FIG. 5 is a schematic diagram showing a connection of an input processing module in the mouse input control circuit according to the present invention;
FIG. 6 is a schematic diagram showing a connection of a mouse output module in the mouse input control circuit of the present invention;
fig. 7 is a flowchart of a first embodiment of a mouse input control method according to the present invention.
Reference numerals illustrate:
100. A pulley; 200. a key; 10. an induction module; 11. a pressure sensing unit; 12. a touch sensing unit; 20.a control chip; 30. an input processing module; 40.a mouse output module; 111. a first pressure sensor; 11A, a first pressure sensing circuit; 21. a pressure acquisition port; 112. a first timer; 23. a timing acquisition port; 113. a second pressure sensor; 11B, a second pressure sensing circuit; 121. a first position sensor; 122. a second position sensor; 123. a third pressure sensor; 124. a second timer; 12A, a first touch sensing circuit; 22. a touch acquisition port; 125. a third position sensor; 12B, a second touch sensing circuit; 311. a key pressure signal source; 312. a first selection switch; 31A, a key pressure processing circuit; 24. an output control port; 25. an information output port; 313. a delay memory; 314. a second selection switch; 31B, a key touch processing circuit; 321. a pulley up-slides a signal source; 322. a pulley downslide signal source; 32A, pulley pressure processing circuit; 323. a third selection switch; 400. a system power supply; 324. a fourth selection switch; 32B, a pulley touch processing circuit; 41. a communication line; 300. a product host; 42. an output circuit; 421. selecting a selector; 26. selecting a port; 210. a left key; 220. and (5) right button.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and rear … …) are included in the embodiments of the present invention, the directional indications are merely used to explain the relative positional relationship, movement conditions, etc. between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
For clarity and conciseness in the description of the following embodiments, a brief description of a mouse input control circuit is first provided:
The existing mouse input control mode only has the functions of selecting, moving, marking and the like through left and right keys and rollers, so that the mouse has single function, if a user needs to continuously lift the mouse to further realize movement of a mouse arrow at a far position, if the user needs to continuously slide a pulley to realize continuous page sliding, the input mode of a keyboard cannot be widely applied (especially, the user used for handwriting operation of middle-aged and elderly people). Based on the problems, the technical scheme of the application is provided to improve the functionality of the existing mouse input control.
The scheme provides a mouse input control circuit which comprises an induction module, a control chip, an input processing module and a mouse output module, wherein the induction module comprises a pressure induction unit and a touch induction unit; the control chip is connected with the input processing module, the mouse output module, the pressure sensing unit and the touch sensing unit, the pressure sensing unit is connected with the pulley, the key and the input processing module, the touch sensing unit is connected with the pulley, the key and the input processing module, and the input processing module is connected with the mouse output module; the pressure sensing unit is used for collecting first pressure information of the pulley and second pressure information of the key, the touch sensing unit is used for collecting first touch information of the pulley and second touch information of the key, the control chip is used for determining an input control instruction according to the first pressure information, the second pressure information, the first touch information and the second touch information, and the input processing module is used for inputting the input control instruction at the mouse output module so as to realize input control of the mouse. Through the relation of connection between response module (including pressure sensing unit and touch sensing unit), control chip, input processing module and mouse output module, and then based on the first pressure information of pulley and the second pressure information of button that pressure sensing unit gathered, the first touch information of pulley and the second touch information of button that touch sensing unit gathered, and then realize confirming input control command according to first pressure information, second pressure information, first touch information and second touch information to input control command carries out input control to mouse based on the input control command. Therefore, the phenomenon that a single function can be realized only through scrolling, clicking, moving and long-pressing operations on a mouse in the prior art is avoided, and the mouse input control circuit determines an input control instruction according to first pressure information, second pressure information, first touch information and second touch information instead of simple scrolling, clicking, moving and long-pressing operations, so that the functionality of mouse input control can be improved.
The invention provides a mouse input control circuit.
In an embodiment of the present invention, as shown in fig. 1, fig. 1 is a schematic structural diagram of a mouse input control circuit, where the mouse input control circuit includes a sensing module 10, a control chip 20, an input processing module 30, and a mouse output module 40, and the sensing module 10 includes a pressure sensing unit 11 and a touch sensing unit 12;
The control chip 20 is connected with the input processing module 30, the mouse output module 40, the pressure sensing unit 11 and the touch sensing unit 12, the pressure sensing unit 11 is connected with the pulley 100, the key 200 and the input processing module 30, the touch sensing unit 12 is connected with the pulley 100, the key 200 and the input processing module 30, and the input processing module 30 is connected with the mouse output module 40;
The pressure sensing unit 11 is configured to collect first pressure information of the pulley 100 and second pressure information of the key 200, the touch sensing unit 12 is configured to collect first touch information of the pulley 100 and second touch information of the key 200, the control chip 20 is configured to determine an input control instruction according to the first pressure information, the second pressure information, the first touch information and the second touch information, and the input processing module 30 is configured to input the input control instruction at the mouse output module 40, so as to implement input control of the mouse.
In this embodiment, the mouse input control circuit includes an induction module 10, a control chip 20, an input processing module 30 and a mouse output module 40, at this time, the induction module 10 is used to induce the mouse operation of the user, so as to transmit the information corresponding to the mouse operation back to the control chip 20, the control chip 20 processes the information to obtain a control instruction to control the input processing module 30 and the mouse output module 40, so that different functional inputs of the mouse can be realized based on different mouse operations, and the mouse operations at least include long key press, key touch, roller press, roller touch and the like.
In one embodiment, the sensing module 10 includes various sensors, such as a position sensor, a pressure sensor, etc., the control chip 20 includes various chips, such as a single chip microcomputer, a system level control chip, etc., and the input processing module 30 and the mouse output module 40 may include modules composed of different circuit devices. Because the sensing module 10 includes the pressure sensing unit 11 and the touch sensing unit 12, the first pressure information of the pulley 100 and the second pressure information of the key 200 are collected through the pressure sensing unit 11, and the first touch information of the pulley 100 and the second touch information of the key 200 are collected through the touch sensing unit 12, wherein the first pressure information refers to the pressure information of the pulley 100 collected by the pressure sensing unit 11, the second pressure information refers to the pressure information of the key 200 collected by the pressure sensing unit 11, the first touch information refers to the touch information of the pulley 100 collected by the touch sensing unit 12, and the second touch information refers to the touch information of the key 200 collected by the touch sensing unit 12. The above information is further input to the control chip 20, so as to realize that the control chip 20 processes the information to obtain an input control instruction, wherein the input control instruction is an instruction for controlling the input processing module 30 and the mouse output module 40, and the input control instruction is input to the mouse output module 40 through the input processing module 30, so as to realize the input control of the mouse. Further, control instructions may be determined based on the pressure and touch information of the buttons 200 and the wheel 100 to control based on the control instructions to improve the functionality of the mouse.
In an embodiment, the first pressure information, the second pressure information, the first touch information and the second touch information may be combined to determine the input control command, or may be combined to determine the input control command, which is not limited herein.
Further, in still another embodiment of the mouse input control circuit according to the present application, referring to fig. 2, fig. 2 is a schematic connection diagram of a pressure sensing unit in the mouse input control circuit according to the present application, the pressure sensing unit 11 includes a first pressure sensing circuit 11A connected to the key 200, and the first pressure sensing circuit 11A includes a first timer 112 and a first pressure sensor 111:
The first pressure sensor 111 is mechanically connected with the key 200, an output end of the first pressure sensor 111 is connected with an input end of the first timer 112, the control chip 20 and the input processing module 30, and an output end of the first timer 112 is connected with the control chip 20;
The pressure sensing unit 11 further includes a second pressure sensing circuit 11B connected to the pulley 100, and the second pressure sensing circuit 11B includes a second pressure sensor 113:
the second pressure sensor 113 is mechanically connected with the pulley 100, and an output end of the second pressure sensor 113 is connected with the control chip 20.
In this embodiment, the pressure sensing unit 11 includes a first pressure sensing circuit 11A connected to the key 200, where the first pressure sensing circuit 11A includes a first timer 112 and a first pressure sensor 111, and the first pressure sensor 111 is mechanically connected to the key 200 (i.e. a dashed box in a solid line box in the figure indicates that the first pressure sensor is mechanically connected, and is disposed below the key 200), and after the first pressure sensor 111 collects the pressure information of the key 200, the pressure information is returned to the control chip 20 through the first timer 112 and is used as the second pressure information. The first timer 112 can determine the key requirement of the user, if the user presses the key for a long time, the user requirement is determined to be that the large area content needs to be selected, and the mouse input control is performed based on the intention at the moment, so that the user does not need to press for a long time and move to realize the selection, and the functionality of the mouse can be greatly improved. Because the first pressure sensor 111 is directly connected with the input processing module 30, when the user directly clicks a single key, the user intention is directly determined to be the conventional mouse operation, and then the control requirement is directly output to the product for control through the input processing module 30, and further the user experience can be improved through the expansion of functionality.
In an embodiment, the pressure sensing unit 11 further includes a second pressure sensing circuit 11B connected to the pulley 100, where the second pressure sensing circuit 11B includes a second pressure sensor 113, and the second pressure sensor 113 is mechanically connected to the pulley 100 (i.e. a dashed box in a solid line box in the figure indicates that the mechanical connection is disposed below the pulley 100), and after the second pressure sensor 113 collects the pressure information of the pulley 100, the pressure information is returned to the control chip 20 and used as the first pressure information. The analysis of the user requirement can be directly realized, if the operation of sliding the roller for multiple times is needed, the design of the second pressure sensor 113 has the following advantages: considering the difference between the long-time sliding operation and the single sliding operation, if the contact position of the finger and the pulley is not changed in the single sliding operation, the long-time sliding operation has the actions of lifting one finger and finding the position again for sliding, so that a pressure value can be found when the finger is lifted and put down, and the requirement of the user is determined to be continuous sliding down or sliding up at the moment based on the pressure value. It should be noted that, at this time, the user may also know the mouse function, further directly press the pulley 100, and slide up and down, further know that the user needs to slide up or down continuously. At this time, after the up-down sliding operation is finished, if the up-down sliding operation or the pressing operation is detected again, it is determined that the user needs to stop sliding, and then the sliding operation input by the mouse is stopped, so that the up-down sliding operation can be intelligently realized, and the functionality of the mouse is greatly improved.
In an embodiment, referring to fig. 3, fig. 3 is a schematic diagram showing a connection of a touch sensing unit in the mouse input control circuit according to the present invention, the touch sensing unit 12 includes a first touch sensing circuit 12A connected to the key 200, the key 200 includes a left key 210 and a right key 220, and the first touch sensing circuit 12A includes a first position sensor 121, a second position sensor 122, a third pressure sensor 123 and a second timer 124:
The first position sensor 121 is mechanically connected with the left button 210, the second position sensor 122 is mechanically connected with the right button 220, the output end of the first position sensor 121 is connected with the control chip 20, and the output end of the second position sensor 122 is connected with the control chip 20;
the third pressure sensor 123 is mechanically connected to the left button 210, or the third pressure sensor 123 is mechanically connected to the right button 220, the output end of the third pressure sensor 123 is connected to the input end of the second timer 124, and the output end of the second timer 124 is connected to the control chip 20;
The touch sensing unit 12 further includes a second touch sensing circuit 12B connected to the pulley 100, the second touch sensing circuit 12B including a third position sensor 125:
The third position sensor 125 is mechanically connected to the pulley 100, and an output end of the third position sensor 125 is connected to the input processing module 30 and the control chip 20.
Specifically, the control chip 20 includes a C51 series single-chip microcomputer, and a pressure acquisition port 21, a touch acquisition port 22, a timing acquisition port 23, an output control port 24, an information output port 25 and a selection port 26 are set on the single-chip microcomputer:
The pressure acquisition port 21 is connected with the output end of the first pressure sensor 111 and the output end of the second pressure sensor 113, the touch acquisition port 22 is connected with the output end of the first position sensor 121 and the output end of the second position sensor 122, the timing acquisition port 23 is connected with the output end of the first timer 112 and the output end of the second timer 124, the output control port 24 is connected with the input processing module 30, the information output port 25 is connected with the input processing module 30, and the selection port 26 is connected with the mouse output module 40.
In this embodiment, the touch sensing unit 12 is used to detect the key 200 and the pulley 100 in addition to the key 200 and the pulley 100 detected by the pressure sensing unit 11. The touch sensing unit 12 includes a first touch sensing circuit 12A connected to the key 200, where the key 200 includes a left key 210 and a right key 220, and the first touch sensing circuit 12A includes a first position sensor 121, a second position sensor 122, a third pressure sensor 123, and a second timer 124, where the first position sensor 121 is mechanically connected to the left key 210, and the second position sensor 122 is mechanically connected to the right key 220 (i.e. a dashed box in a solid line box in the figure, that is, indicates a mechanical connection, and is disposed below the right key 220), and at this time, touch change information on the key at this time is collected by the second position sensor 122, so as to be transmitted back to the control chip 20 as second touch information. The left and right buttons may use a position sensor, or may use an induction mode such as a touch screen, which is not limited herein. The position sensor needs to be used in combination with a high-sensitivity pressure sensor, so that the touch position of the user on the mouse can be clearly known, and the position sensor can be directly arranged on the whole surface of the mouse and is not limited herein. And further, different control on the touch of the mouse buttons can be realized, at least comprising handwriting operation, sliding operation and the like, and the whole mouse does not need to be moved all the time to move the mouse arrow, so that the functionality of the mouse can be greatly improved.
In an embodiment, the third pressure sensor 123 is mechanically connected to the left button 210, or, the third pressure sensor 123 is mechanically connected to the right button 220 (i.e. the dashed line box in the solid line box in the figure represents a mechanical connection, and is disposed below the right button 220), the output end of the third pressure sensor 123 is connected to the input end of the second timer 124, and the output end of the second timer 124 is connected to the control chip 20. And further, misoperation can be avoided, handwriting, movement and other control can be realized only when a user places a hand on a mouse to slide, and further misoperation caused by external environment can be avoided. Further, referring to fig. 4, fig. 4 is a schematic diagram of another connection of the touch sensing unit in the mouse input control circuit according to the present invention, and at this time, another schematic diagram of the third pressure sensor 123 is provided, which is worth noting that the third pressure sensor 123 may also be provided at other positions of the mouse, so that only when there is pressure at the position and the pressure time is counted by the second timer 124 for a certain period of time, the touch information at this time is determined to be valid, further, the subsequent control is performed, and if there is no pressure or the pressure time does not reach for a certain period of time, it is determined that the touch information at this time is invalid, and the control accuracy can be ensured.
In one embodiment, the touch sensing unit 12 includes a second touch sensing circuit 12B connected to the pulley 100, the second touch sensing circuit 12B including a third position sensor 125: the third position sensor 125 is mechanically connected to the pulley 100 (i.e., the dashed line box in the solid line box in the figure, i.e., indicates a mechanical connection, is disposed below the pulley 100), and at this time, the touch change information on the pulley at this time is collected by the third position sensor 125 to be transmitted back to the control chip 20 as the first touch information. Further, the up-and-down sliding information of the pulley 100 can be collected as a control command for stopping continuous sliding or short sliding, so that the intelligence of mouse control can be improved.
In an embodiment, the control chip 20 includes a C51 series of single-chip microcomputer, on which a pressure acquisition port 21, a touch acquisition port 22, a timing acquisition port 23, an output control port 24, an information output port 25, and a selection port 26 are disposed, which may also be a system level control chip. At this time, the ports set on the singlechip may be input/output ports on the chip, such as an output control port 24 and a selection port 26, or may be information transmission ports, such as a pressure acquisition port 21, a touch acquisition port 22, a timing acquisition port 23 and an information output port 25, so that information is input/output through the pressure acquisition port 21, the touch acquisition port 22, the timing acquisition port 23 and the information output port 25, and a control command, such as 01 level, is output controlled through the output control port 24 and the selection port 26. And further, the pressure acquisition port 21 is connected with the output end of the first pressure sensor 111 and the output end of the second pressure sensor 113, so that pressure information acquisition is realized; the touch acquisition port 22 is connected with the output end of the first position sensor 121 and the output end of the second position sensor 122, so that acquisition of touch information is realized; the timing acquisition port 23 is connected with the output end of the first timer 112 and the output end of the second timer 124, so as to acquire timing information; the output control port 24 is connected with the input processing module 30 to realize control of the input processing module 30; the information output port 25 is connected with the input processing module 30 to realize information input to the input processing module 30; the selection port 26 is connected with the mouse output module 40, and control of the mouse output module 40 is achieved. And the whole mouse input control circuit can be controlled by the singlechip.
Further, in still another embodiment of the mouse input control circuit according to the present application, referring to fig. 5, fig. 5 is a schematic connection diagram of an input processing module in the mouse input control circuit according to the present application, the input processing module 30 includes a key pressure processing circuit 31A, and the key pressure processing circuit 31A includes a key pressure signal source 311 and a first selection switch 312:
A first end of the first selection switch 312 is connected with the key pressure signal source 311, a second end of the first selection switch 312 is suspended, a third end of the first selection switch 312 is connected with the mouse output module 40, and a control end of the first selection switch 312 is connected with the output control port 24;
The input processing module 30 further includes a key touch processing circuit 31B, and the key touch processing circuit 31B includes a delay memory 313 and a second selection switch 314:
The input end of the delay memory 313 is connected to the information output port 25, the first end of the second selection switch 314 is connected to the output end of the delay memory 313, the second end of the second selection switch 314 is suspended, the third end of the second selection switch 314 is connected to the mouse output module 40, and the control end of the second selection switch 314 is connected to the output control port 24.
Specifically, the input processing module 30 includes a pulley pressure processing circuit 32A and a pulley touch processing circuit 32B, and the pulley pressure processing circuit 32A includes a pulley up-slip signal source 321, a pulley down-slip signal source 322, and a third selection switch 323:
The first end of the third selection switch 323 is connected with the pulley up signal source 321, the second end of the third selection switch 323 is connected with the pulley down signal source 322, the third end of the third selection switch 323 is connected with the mouse output module 40, and the control end of the third selection switch 323 is connected with the pulley touch processing circuit 32B:
The pulley touch processing circuit 32B includes a fourth selection switch 324:
The first end of the fourth selection switch 324 is grounded, the second end of the fourth selection switch 324 is connected to the system power 400, the third end of the fourth selection switch 324 is connected to the control end of the third selection switch 323, the fourth end of the fourth selection switch 324 is connected to the mouse output module 40, and the control end of the fourth selection switch 324 is connected to the output control port 24.
In this embodiment, the input processing module 30 includes a key pressure processing circuit 31A, where the key pressure processing circuit 31A includes a key pressure signal source 311 and a first selection switch 312, and in order to ensure that a key can be continuously pressed (a virtual signal does not need to be pressed all the time in practice), the first selection switch 312 is respectively connected to the key pressure signal source 311, the mouse output module 40 and the suspension end, so that when a continuous pressing is required, a control signal a is output through the output control port 24, the first selection switch 312 is continuously connected to the key pressure signal source 311, and at this time, the key pressure signal source 311 continuously outputs a virtual signal, such as a high level, for example, a function of pressing the key is further realized through mouse control; when there is no need to continuously press, the control signal B is output through the output control port 24, so that the first selection switch 312 turns off the key pressure signal source 311, and there is no continuous input condition or a single input condition. It should be noted that, the first selector switch 312 is a selector with a single input terminal connected to a single output terminal, and may be any other selector, but it is required to design the function of connecting a single input terminal to a single output terminal at the same time.
In an embodiment, the input processing module 30 further includes a key touch processing circuit 31B, where the key touch processing circuit 31B includes a delay memory 313 and a second selection switch 314, and the input end of the delay memory 313 is connected to the information output port 25, and at this time, whether the product connected to the mouse needs to output the information in the information output port 25 can be selected through the second selection switch 314. The functional requirements of the second selection switch 314 are the same as those of the first selection switch 312, and the execution process thereof is not limited again. At this time, handwritten Chinese characters and the like may be stored in the delay memory 313, and by judging the information of the delay memory 313, it is further determined when the second selection switch 314 needs to be turned on to input the information, so that the input of different functional information of the mouse can be realized, and the functionality of the mouse is improved.
In one embodiment, the input processing module 30 includes a pulley pressure processing circuit 32A and a pulley touch processing circuit 32B, the pulley pressure processing circuit 32A including a pulley up signal source 321, a pulley down signal source 322, and a third selection switch 323. At this time, the pulley up-sliding signal source 321 and the pulley down-sliding signal source 322 are connected to the third selection switch 323, so as to select whether to continuously slide up and down or to singly slide up and down, and when the continuous up-down sliding is required, the fourth selection switch 324 in the pulley touch processing circuit 32B outputs a control signal A1, so that the third selection switch 323 is continuously connected with the pulley up-sliding signal source 321 or the pulley down-sliding signal source 322, and at this time, the pulley up-sliding signal source 321 or the pulley down-sliding signal source 322 continuously outputs a virtual signal of up-down sliding of the roller, such as a high level, so that a function of pressing a key is realized through mouse control; when there is no need to perform continuous up-and-down sliding, the fourth selection switch 324 in the pulley touch processing circuit 32B outputs the control signal B1, so that the third selection switch 323 turns off the pulley up-sliding signal source 321 and the pulley down-sliding signal source 322, and at this time, there is no continuous input condition or a single input condition. At this time, the control end of the third selection switch 323 is connected with the fourth selection switch 324 in the pulley touch processing circuit 32B, so that contact control of the two circuits can be realized, for example, continuous control operation can be performed after the pulley is touched and pressed, or the third selection switch 323 can be connected with a control chip for independent control, so that continuous up-and-down sliding function can be realized. Further, the pulley touch processing circuit 32B includes a fourth selection switch 324, where the fourth selection switch 324 (the same or similar to the functional requirement of the first selection switch 312) is connected to the system power supply 400 to further implement input/output control, and at this time, single up/down sliding control can be implemented singly, or continuous up/down sliding cut-off and start can be controlled in a combined manner, so that the functionality of mouse input can be improved.
Further, in still another embodiment of the mouse input control circuit of the present application, referring to fig. 6, fig. 6 is a schematic diagram showing a connection of a mouse output module in the mouse input control circuit of the present application, the mouse output module 40 includes an output circuit 42 and a communication line 41, the communication line 41 connects the output circuit 42 and the product host 300, and the communication line 41 also connects the control chip 20 and the output circuit 42;
the output circuit 42 includes a one-out-of-multiple selector 421:
The output end of the one-out-of-multiple selector 421 is connected to the product host 300, the control end of the one-out-of-multiple selector 421 is connected to the selection port 26, the first input end of the one-out-of-multiple selector 421 is connected to the output end of the first pressure sensor 111, the second input end of the one-out-of-multiple selector 421 is connected to the output end of the third position sensor 125, and the third input end of the one-out-of-multiple selector 421 is connected to the third end of the third selection switch 323, the fourth end of the fourth selection switch 324, the third end of the first selection switch 312, and the third end of the second selection switch 314.
In this embodiment, the mouse output module 40 includes an output circuit 42 and a communication line 41, where the communication line 41 connects the output circuit 42 and the product host 300 (e.g. a computer), and the communication line 41 also connects the control chip 20 and the output circuit 42, so as to realize communication control between the output circuit 42 and the product host 300 and between the control chip 20 and the output circuit 42. The output circuit 42 includes a multiple-choice selector 421, and an output end of the multiple-choice selector 421 is connected with the product host 300 to realize control instruction output; the control end of the multi-selector 421 is connected with the selection port 26 to realize the selection control of the multi-selector 421; the first input end of the one-out-of-multiple selector 421 is connected with the output end of the first pressure sensor 111, so that the input of a single key instruction is realized; the second input end of the one-out-of-multiple selector 421 is connected with the output end of the third position sensor 125, so as to realize the input of a single up-and-down sliding instruction; the third input end of the multiple-choice selector 421 is connected with the third end of the third selection switch 323, the fourth end of the fourth selection switch 324, the third end of the first selection switch 312 and the third end of the second selection switch 314, so as to realize the input of instructions after different processes, such as instructions generated by touching keys, instructions of continuous up-and-down sliding, instructions of continuous selection, and the like. Furthermore, the input of different controls can be realized based on the multiple selector 421 (which can be a chip with one input and one output, or can be a multiple input and one output chip, which is not limited herein), so that the functionality of the mouse is improved.
Further, referring to fig. 7, a flowchart of a first embodiment of the mouse input control method according to the present invention is provided based on an embodiment of the mouse input control circuit, where the steps of the mouse input control method include:
Step S10, acquiring sensing information acquired by a sensing module, wherein the sensing information comprises touch information and pressure information;
In this embodiment, when the mouse is input controlled, the sensing information collected by the sensing module is obtained, where the sensing information includes touch information and pressure information, that is, touch information of a pulley and a key, and pressure information of the pulley and the key, the touch information refers to information of touch movement, such as up-down movement, etc., the pressure information refers to a pressure value, etc., and different thresholds may be set for different pressure information, so that only after the pressure value reaches the threshold, the information may be collected, or a sensor with different sensitivities or collection intervals may be directly set. At the moment, the mouse input control can be analyzed and controlled based on touch and pressure, so that the control singleness of directly pressing a key and rolling a pulley can be avoided, and the functionality of the mouse is improved.
And step S20, determining an input control instruction according to the touch information and the pressure information, and controlling the input of the mouse based on the input control instruction.
In this embodiment, after the touch information and the pressure information are determined, an input control instruction is determined based on the touch information and the pressure information, and then input control of the mouse is performed based on the input control instruction, that is, an input processing module and a mouse output module which are set in the mouse are controlled based on the input control instruction, so as to further realize different mouse input function control, where the input control instruction refers to an instruction for controlling the input processing module and the mouse output module. It should be noted that, the process of determining the input control instruction based on the touch information and the pressure information may determine the input control instruction based on all the touch information and the pressure information, or may determine the input control instruction based on part of the touch information and the pressure information, and further control based on the input control instruction, so as to realize different control instructions, so that different control modes may be realized, and further, the functionality of mouse control is improved.
Further, a second embodiment of the present invention is directed to a method for controlling a mouse input, where the touch information includes first touch information, the pressure information includes first pressure information, and the step of determining an input control command according to the touch information and the pressure information includes:
a, if the touch information is the first touch information and the pressure information is the first pressure information, determining a rolling direction and a rolling speed in the first touch information, and after the first pressure information is determined, moving in the rolling direction at the rolling speed to serve as an input control instruction, or alternatively;
Step b, after the first pressure information is determined, determining a rolling direction in the first touch information, and moving towards the rolling direction to be used as an input control instruction;
In this embodiment, the mouse control includes function expansion control of the wheel, and by determining that the touch information is first touch information and the pressure information is first pressure information, the first touch information and the first pressure information refer to pressure and touch information of the wheel, respectively. That is, the touch information includes the touch information of the pulley, the pressure information includes the pressure of the pulley, the control is performed based on the pressure of the pulley and the touch information, the rolling direction and the rolling speed in the first touch information are determined, after the first pressure information is determined, the movement is performed in the rolling direction with the rolling speed as an input control command, the rolling direction refers to the rolling direction of the roller, the upward sliding and the downward sliding are included, and the rolling speed refers to the rolling speed of the roller. The control chip collects pressure information and touch information of the roller, and controls the roller based on the pressure information and the touch information, and the pressure is collected after the touch information is collected, so that continuous up-and-down sliding operation is determined. The virtual signal is controlled to move in the rolling direction at the rolling speed as an input control command, and the magnitude and positive and negative values (corresponding to different signal sources in the circuit of the embodiment) of the virtual signal can be controlled to determine the speed and direction, so that continuous up-and-down sliding control is realized. At this time, the pressure can be collected first, then if the touch information is collected again after the pressure is collected, the instruction is determined based on the rolling direction in the touch information, then the movement is performed towards the rolling direction to serve as an input control instruction, and the movement instructions at this time are all instructions of continuous movement, so that the continuous movement instructions can be determined in different modes, and the intelligence of mouse control is improved.
In an embodiment, the touch information may generate touch information only when the touch related information is determined to be valid, such as non-faulty touch, and the like, and the pressure information is also determined to include information if the pressure value is detected to be greater than a preset threshold value, otherwise, no information exists.
C, if the touch information is the first touch information, determining a rolling direction in the first touch information, and taking the rolling direction as an input control instruction when the current moving state is a preset stopping state;
Step d, when the current moving state is a preset moving state, taking a preset moving stopping instruction as an input control instruction;
and e, if the pressure information is the first pressure information and the current moving state is the preset moving state, taking a preset stopping moving instruction as an input control instruction.
In this embodiment, when the touch information is the first touch information and the pressure information is not present, the scrolling direction in the first touch information is determined, and then when the current moving state is the preset stopping state, the scrolling direction is used as the input control command, otherwise, when the current moving state is the preset moving state, the preset stopping moving command is used as the input control command. The current moving state refers to a moving state of mouse control, including continuous up-down sliding, up-down sliding and stopping, the preset stopping state is that the roller does not control movement, the preset moving state is that the roller controls movement (at the moment, the roller does not move, a virtual signal is output to a mouse, and the movement is controlled to be realized), and the preset stopping moving instruction refers to an instruction for stopping the mouse control movement. That is, when the touch information is not moved, only the touch information is moved in the touch movement direction, and when the touch information is detected again while the touch information is continuously moved up and down at this time, the user is determined to need to stop the movement. And then the whole control flow is finished, and the control integrity is ensured.
In an embodiment, when there is no information in the touch information, there is only information in the pressure information, and when the current movement state is the preset movement state, a preset stop movement instruction is used as an input control instruction. Namely, the roller is directly pressed to control the continuous movement, so that the multifunctional input of the roller can be realized through different controls, and the functionality of the mouse is improved. It should be noted that other triggering or blocking conditions may be set for the control method in this case, and are not limited thereto.
Further, the touch information includes second touch information, the pressure information includes second pressure information, and the step of determining the input control command according to the touch information and the pressure information further includes:
step S21, determining the pressure duration in the second pressure information, and detecting whether the pressure duration is greater than a preset duration threshold;
step S22, if the pressure duration is less than or equal to a preset duration threshold, determining a pressure position in the second pressure information, and taking a key instruction of the pressure position as an input control instruction;
Step S23, if the pressure time period is greater than a preset time period threshold, determining a touch moving direction of the second touch information, and taking the touch moving direction as an input control instruction.
In this embodiment, the mouse control includes function expansion control of the key, by determining a pressure duration in the second pressure information, and detecting whether the pressure duration is greater than a preset duration threshold, that is, judging whether there is a requirement for long pressing of the mouse key at this time, where the pressure duration is a duration of time that the pressure exceeds a certain value, and the duration threshold is a user-defined duration threshold. And when the pressure duration is smaller than or equal to a preset duration threshold value, determining a pressure position in the second pressure information, taking a key instruction of the pressure position as an input control instruction, namely, only a single key function at the moment, further determining a position selected by the key as an instruction for inputting, wherein the pressure position refers to the pressure position of a left key and a right key, and further realizing function control input of the left key and the right key. And when the pressure time length is greater than a preset time length threshold, the touch moving direction of the second touch information is determined, the touch moving direction is used as an input control instruction, and the touch moving direction is the touch direction on the key, so that the full-selection function based on the upward, downward, leftward and rightward directions after long pressing can be realized, and the control functionality of the mouse is greatly improved.
In an embodiment, after long pressing, the function expansion control of the pulley can be combined to further singly realize the functions of moving up and down singly and continuously, so that the functionality of the mouse can be greatly improved.
The step of determining an input control command according to the touch information and the pressure information further comprises:
step S24, determining the touch moving direction, the touch duration and the pressure in the second touch information;
step S25, if the pressure is greater than a preset pressure threshold and the touch time is greater than a preset touch threshold, determining an input control instruction according to the touch movement direction;
And step S26, if the pressure in the second pressure information is smaller than or equal to a preset threshold value, or the touch duration is smaller than or equal to a preset touch threshold value, executing the step of acquiring the sensing information acquired by the sensing module.
In this embodiment, in addition to the function expansion of continuous selection of the key, there may be an expansion function of touch input control (in this case, there is no need to consider the pressure problem, that is, only the control operation performed by touching is considered), and by determining the touch movement direction, the touch duration, and the pressure in the second touch information, where the touch duration and the pressure refer to the touch duration and the pressure of the mouse, and by using a third pressure sensor and a second timer that are installed in the mouse, it is further possible to determine whether the user is in a scenario where the user is using the mouse, and erroneous determination may be avoided. When the pressure is greater than a preset pressure threshold and the touch time is greater than a preset touch threshold, determining to input a control instruction according to the touch movement direction, namely determining to control the mouse by a user at the moment, and further determining to input the control instruction based on real-time touch position change. The touch duration refers to the duration of touching the mouse, the pressure is obtained through counting by a counter, the pressure generated by a user by using the mouse is obtained through a pressure sensor, the preset threshold value refers to a defined pressure threshold value, and the touch threshold value refers to a defined touch duration threshold value. Further, it is determined that the determination at this time is not an erroneous operation, and it is necessary to determine an input control instruction based on a change in the touch position. Otherwise, if the above information is not satisfied, it is determined that the operation is a misoperation or the control is not performed, and the step of acquiring the sensing information acquired by the sensing module is performed again. And further, misoperation can be avoided, a mode of controlling mouse input in a touch mode is realized, and the functionality of the mouse is improved.
The touch movement direction comprises a left key touch movement direction and a right key touch movement direction, and the step of determining an input control instruction according to the touch movement direction comprises the following steps:
step S251, if the touch moving direction is the left key touch moving direction, determining a moving track formed by the left key touch moving direction, determining a target Chinese character matched with the moving track in a preset Chinese character table, and taking an input instruction of the target Chinese character as an input control instruction;
In step S252, if the touch movement direction is the right key touch movement direction, determining a movement track of the right key touch movement direction, and taking an instruction of performing mouse movement towards the movement track as an input control instruction.
In this embodiment, when the input control is performed by touching, the targeted control may be performed based on the key touch positions of different positions. When the touch moving direction (the touch direction on the mouse) is the left key touch moving direction, namely, the left key of the mouse is touched, the handwriting input function is determined, the moving track formed by the left key touch moving direction is determined, the target Chinese character matched with the moving track is determined in the preset Chinese character table, and the input instruction of the target Chinese character is used as the input control instruction. The movement track refers to a movement track touched on the mouse, the preset Chinese character table refers to a pre-stored Chinese character table, chinese characters with the same track are matched as target Chinese characters, chinese character input can be realized by directly touching the mouse, and the functionality of the mouse is improved. When the touch moving direction is the right key touch moving direction, namely, the left key of the mouse is touched, the moving operation of the arrow of the mouse is determined, the moving track of the right key touch moving direction is further determined, and an instruction for moving the mouse towards the moving track is used as an input control instruction, wherein the moving track refers to the touch track, and the arrow movement of the mouse is further realized. It should be noted that the control manner of the left and right member keys may be other manners or trigger other functions, such as the interchange of the left and right member keys, which is not limited herein.
The invention also provides a mouse.
The mouse of the present invention comprises: the computer-readable storage medium comprises a memory, a processor and a mouse input control program stored in the memory and capable of running on the processor, wherein the mouse input control program realizes the steps of the mouse input control method when being executed by the processor.
The invention also provides a storage medium.
The storage medium of the present invention may be a computer-readable storage medium, on which a mouse input control program is stored, which when executed by a processor implements the steps of the mouse input control method as described above.
The method implemented when the mouse input control program running on the processor is executed may refer to various embodiments of the mouse input control method of the present invention, which are not described herein again.
The invention also provides a mouse.
The mouse is used for loading a mouse input control circuit, and the mouse input control interface at least comprises a built-in circuit board and a mouse shell, wherein the built-in circuit board is provided with the mouse input control circuit, and the built-in circuit board is packaged in the mouse shell.
In one embodiment of the present invention, a mouse housing is provided as a means for packaging and fixing an internal circuit board and providing an external interface, and a mouse input control circuit in the built-in circuit board is connected to the outside through the interface on the mouse housing to realize a mouse input control function.
In one embodiment of the present invention, all or part of the mouse input control circuit is disposed on the mouse housing and/or the built-in circuit board, and the method comprises the following steps:
in the first embodiment, all or part of the mouse input control circuit is arranged on the built-in circuit board. The built-in circuit board is provided with an input sensing module, a control chip and an input processing module in the mouse input control circuit, a pulley, a key and a mouse output module are arranged on the mouse shell, and the built-in circuit board is packaged in the mouse shell;
In a second embodiment, a control chip and an input processing module in the mouse input control circuit are arranged on the built-in circuit board, an input sensing module is arranged on the mouse shell at the position corresponding to the key and the pulley, a key and a mouse output module are arranged at the interface position of the mouse shell, and the built-in circuit board is packaged in the mouse shell;
In a third embodiment, a control chip in the mouse input control circuit is arranged on the built-in circuit board, an induction module is arranged on the mouse shell at the position corresponding to the key and the pulley, a key and a mouse output module are arranged at the interface position of the mouse shell, an input processing module is arranged at the output position of the mouse shell, and the built-in circuit board is packaged in the mouse shell;
In a fourth embodiment, all the mouse input control circuits are disposed on the built-in circuit board, a pulley, a key and a mouse output module are disposed on the mouse housing, and the mouse output module is connected with an output line port of the mouse housing and encapsulates the built-in circuit board in the mouse housing.
The built-in circuit board may be packaged transversely with the housing or longitudinally, and is not limited herein. The above setting manner of the mouse input control interface may be set according to practical situations, or more or fewer devices may be used to package the mouse input control in a housing or other devices, which is not limited herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The foregoing description is only of the optional embodiments of the present invention, and is not intended to limit the scope of the invention, and all the equivalent structural changes made by the description of the present invention and the accompanying drawings or the direct/indirect application in other related technical fields are included in the scope of the invention.
Claims (6)
1. The mouse input control circuit is characterized by comprising an induction module, a control chip, an input processing module and a mouse output module, wherein the induction module comprises a pressure induction unit and a touch induction unit;
The control chip is connected with the input processing module, the mouse output module, the pressure sensing unit and the touch sensing unit, the pressure sensing unit is connected with the pulley, the key and the input processing module, the touch sensing unit is connected with the pulley, the key and the input processing module, the input processing module is connected with the mouse output module, wherein the pressure sensing unit comprises a first pressure sensing circuit connected with the key, and the first pressure sensing circuit comprises a first timer and a first pressure sensor; the first pressure sensor is mechanically connected with the key, the output end of the first pressure sensor is connected with the input end of the first timer, the control chip and the input processing module, and the output end of the first timer is connected with the control chip; the pressure sensing unit further comprises a second pressure sensing circuit connected with the pulley, and the second pressure sensing circuit comprises a second pressure sensor; the second pressure sensor is mechanically connected with the pulley, the output end of the second pressure sensor is connected with the control chip, the touch sensing unit comprises a first touch sensing circuit connected with the keys, the keys comprise a left key and a right key, and the first touch sensing circuit comprises a first position sensor, a second position sensor, a third pressure sensor and a second timer; the first position sensor is mechanically connected with the left key, the second position sensor is mechanically connected with the right key, the output end of the first position sensor is connected with the control chip, and the output end of the second position sensor is connected with the control chip; the third pressure sensor is mechanically connected with the left key, or the third pressure sensor is mechanically connected with the right key, the output end of the third pressure sensor is connected with the input end of the second timer, and the output end of the second timer is connected with the control chip; the touch sensing unit further comprises a second touch sensing circuit connected with the pulley, and the second touch sensing circuit comprises a third position sensor; the third position sensor is mechanically connected with the pulley, and the output end of the third position sensor is connected with the input processing module and the control chip;
The pressure sensing unit is used for collecting first pressure information of the pulley and second pressure information of the key, the touch sensing unit is used for collecting first touch information of the pulley and second touch information of the key, the control chip is used for determining an input control instruction according to the first pressure information, the second pressure information, the first touch information and the second touch information, the input processing module is used for inputting the input control instruction at the mouse output module so as to realize input control of the mouse, wherein the input control instruction comprises an instruction for moving in a rolling direction at a rolling speed, an instruction for moving in the rolling direction, a preset movement stopping instruction, an instruction for moving in a moving track, a key instruction of a pressure position, an instruction for moving in the touch direction and an input instruction of a target Chinese character, and the moving track is a moving track touched on the mouse.
2. The mouse input control circuit of claim 1, wherein the control chip comprises a C51 series single-chip microcomputer, and a pressure acquisition port, a touch acquisition port, a timing acquisition port, an output control port, an information output port and a selection port are arranged on the single-chip microcomputer;
The pressure acquisition port is connected with the output end of the first pressure sensor and the output end of the second pressure sensor, the touch acquisition port is connected with the output end of the first position sensor and the output end of the second position sensor, the timing acquisition port is connected with the output end of the first timer and the output end of the second timer, the output control port is connected with the input processing module, the information output port is connected with the input processing module, and the selection port is connected with the mouse output module.
3. The mouse input control circuit of claim 2, wherein the input processing module comprises a key pressure processing circuit comprising a key pressure signal source and a first selection switch;
the first end of the first selection switch is connected with the key pressure signal source, the second end of the first selection switch is suspended, the third end of the first selection switch is connected with the mouse output module, and the control end of the first selection switch is connected with the output control port;
The input processing module further comprises a key touch processing circuit, wherein the key touch processing circuit comprises a delay memory and a second selection switch;
The input end of the delay memory is connected with the information output port, the first end of the second selection switch is connected with the output end of the delay memory, the second end of the second selection switch is suspended, the third end of the second selection switch is connected with the mouse output module, and the control end of the second selection switch is connected with the output control port.
4. The mouse input control circuit of claim 3, wherein the input processing module comprises a pulley pressure processing circuit and a pulley touch processing circuit, the pulley pressure processing circuit comprising a pulley up-slide signal source, a pulley down-slide signal source, and a third selector switch;
The first end of the third selection switch is connected with the pulley upward sliding signal source, the second end of the third selection switch is connected with the pulley downward sliding signal source, the third end of the third selection switch is connected with the mouse output module, and the control end of the third selection switch is connected with the pulley touch processing circuit;
The pulley touch processing circuit comprises a fourth selection switch;
The first end of the fourth selection switch is grounded, the second end of the fourth selection switch is connected with a system power supply, the third end of the fourth selection switch is connected with the control end of the third selection switch, the fourth end of the fourth selection switch is connected with the mouse output module, and the control end of the fourth selection switch is connected with the output control port.
5. The mouse input control circuit of claim 4, wherein the mouse output module comprises an output circuit and a communication line, the communication line connecting the output circuit and a product host, the communication line also connecting the control chip and the output circuit;
the output circuit comprises a multiple-choice selector;
The output end of the multi-selector is connected with the product host, the control end of the multi-selector is connected with the selection port, the first input end of the multi-selector is connected with the output end of the first pressure sensor, the second input end of the multi-selector is connected with the output end of the third position sensor, and the third input end of the multi-selector is connected with the third end of the third selection switch, the fourth end of the fourth selection switch, the third end of the first selection switch and the third end of the second selection switch.
6. A mouse input control method, characterized in that the mouse input control method is applied to the mouse input control circuit of any one of claims 1 to 5, the steps of the mouse input control method comprising:
acquiring sensing information acquired by a sensing module, wherein the sensing information comprises touch information and pressure information;
determining an input control instruction according to the touch information and the pressure information, and controlling the input of the mouse based on the input control instruction, wherein the touch information comprises first touch information, the pressure information comprises first pressure information, and the step of determining the input control instruction according to the touch information and the pressure information comprises the following steps: if the touch information is the first touch information and the pressure information is the first pressure information, determining a rolling direction and a rolling speed in the first touch information, and after the first pressure information is determined, moving in the rolling direction at the rolling speed to serve as an input control instruction, or alternatively; after the first pressure information is determined, determining a rolling direction in the first touch information, and moving towards the rolling direction to be used as an input control instruction; if the touch information is the first touch information, determining a rolling direction in the first touch information, and when the current moving state is a preset stopping state, moving towards the rolling direction to serve as an input control instruction; when the current moving state is a preset moving state, taking a preset moving stopping instruction as an input control instruction; if the pressure information is the first pressure information and the current movement state is the preset movement state, taking a preset movement stopping instruction as an input control instruction, wherein the touch information comprises second touch information, the pressure information comprises second pressure information, and the step of determining the input control instruction according to the touch information and the pressure information further comprises the following steps:
Determining the pressure duration in the second pressure information, and detecting whether the pressure duration is greater than a preset duration threshold; if the pressure duration is smaller than or equal to a preset duration threshold, determining a pressure position in the second pressure information, and taking a key instruction of the pressure position as an input control instruction; if the pressure time length is greater than a preset time length threshold, determining a touch moving direction of the second touch information, and taking the touch moving direction as an input control instruction; the step of determining an input control command according to the touch information and the pressure information further comprises: determining a touch moving direction, touch duration and pressure in the second touch information; if the pressure is greater than a preset pressure threshold and the touch time is greater than a preset touch threshold, determining an input control instruction according to the touch movement direction; if the pressure in the second pressure information is smaller than or equal to a preset threshold value, or the touch duration is smaller than or equal to a preset touch threshold value, executing the step of acquiring the sensing information acquired by the sensing module; the touch movement direction comprises a left key touch movement direction and a right key touch movement direction, and the step of determining an input control instruction according to the touch movement direction comprises the following steps: if the touch moving direction is the left key touch moving direction, determining a moving track formed by the left key touch moving direction, determining a target Chinese character matched with the moving track in a preset Chinese character table, and taking an input instruction of the target Chinese character as an input control instruction; and if the touch moving direction is the right key touch moving direction, determining a moving track of the right key touch moving direction, and taking an instruction for moving a mouse towards the moving track as an input control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410644418.XA CN118244909B (en) | 2024-05-23 | 2024-05-23 | Mouse input control circuit and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410644418.XA CN118244909B (en) | 2024-05-23 | 2024-05-23 | Mouse input control circuit and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118244909A CN118244909A (en) | 2024-06-25 |
CN118244909B true CN118244909B (en) | 2024-10-11 |
Family
ID=91553341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410644418.XA Active CN118244909B (en) | 2024-05-23 | 2024-05-23 | Mouse input control circuit and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118244909B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20230094261A (en) * | 2021-12-21 | 2023-06-28 | 임현우 | Computer mouse with buttons which have force sensors or capacitive sensors |
CN117008739A (en) * | 2023-07-12 | 2023-11-07 | 北华大学 | Non-hand-held touch mouse |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038522B (en) * | 2006-03-17 | 2010-05-26 | 鸿富锦精密工业(深圳)有限公司 | Mouse capable of automatically adapting left-right hand |
US8982051B2 (en) * | 2009-03-30 | 2015-03-17 | Microsoft Technology Licensing, Llc | Detecting touch on a surface |
US8970528B2 (en) * | 2010-06-03 | 2015-03-03 | Panasonic Intellectual Property Corporation Of America | Information input device, information input method, and program |
US20130154933A1 (en) * | 2011-12-20 | 2013-06-20 | Synaptics Incorporated | Force touch mouse |
KR20170130989A (en) * | 2016-05-20 | 2017-11-29 | 김현철 | Eye ball mouse |
CN113778246A (en) * | 2021-09-27 | 2021-12-10 | 杭州晶一智能科技有限公司 | Novel silent mouse |
CN116880716B (en) * | 2023-09-06 | 2023-12-29 | 深圳市英菲克电子有限公司 | Product input control circuit and method |
-
2024
- 2024-05-23 CN CN202410644418.XA patent/CN118244909B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20230094261A (en) * | 2021-12-21 | 2023-06-28 | 임현우 | Computer mouse with buttons which have force sensors or capacitive sensors |
CN117008739A (en) * | 2023-07-12 | 2023-11-07 | 北华大学 | Non-hand-held touch mouse |
Also Published As
Publication number | Publication date |
---|---|
CN118244909A (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100920252B1 (en) | The mouse controlled by movements of finger | |
US20090091536A1 (en) | Dial Pad Data Entry | |
CN106775084A (en) | A kind of false-touch prevention method of touch-screen, device and mobile terminal | |
KR20080032901A (en) | Apparatus and method for multi-touch decision | |
WO2007108853A2 (en) | Proximity sensor and method for indicating extended interface results | |
KR20100054274A (en) | Touch-input device for acquiring location and intensity of force and method thereof | |
KR101984737B1 (en) | Touch system comprising optical touch panel and touch pen, and method of controlling interference optical signal in touch system | |
CN105022561A (en) | Touch screen control apparatus and method and mobile terminal | |
WO2011088793A1 (en) | Terminal and input method thereof | |
CN100383713C (en) | Information input device of portable electronic device and control method thereof | |
JP2022530084A (en) | Touch key assembly, control circuits and electronics | |
JPWO2012111227A1 (en) | Touch-type input device, electronic apparatus, and input method | |
CN118244909B (en) | Mouse input control circuit and method | |
CN110192170A (en) | Touch controller, device, terminal and touch control method | |
CN106339124A (en) | Touch display equipment and touch response method | |
CN210466360U (en) | Page control device | |
KR20120103420A (en) | Touch screen apparatus based touch pattern and control method thereof | |
KR20120051274A (en) | Areas in the touch input device shaped image sensing area chiyong | |
CN115237271A (en) | Touch sensor, touch pad, method for identifying unexpected touch and computer | |
TWI709891B (en) | Touch device and operation method thereof | |
CN100374998C (en) | Touch control type information input device and method | |
CN210072549U (en) | Cursor control keyboard | |
KR20230010734A (en) | Operating unit with touch-sensitive operating surface | |
CN215932596U (en) | Touch sensing device and electronic equipment | |
CN221225455U (en) | Portable touch interactive keyboard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |