1. Technical Field
The present disclosure relates to keyboards and input methods and, particularly, to a keyboard with mouse function and an input method thereof.
2. Description of Related Art
Conventionally, a keyboard and a mouse are separate components, and it is often inconvenient for users to switch back and forth between them.
Therefore, it is desirable to provide a new keyboard with mouse function, which can overcome the above-mentioned limitations.
Many aspects of the present disclosure should be better understood with reference to the following drawings. The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout several views.
Embodiments of the present disclosure will now be described in detail below, with reference to the accompanying drawings.
Referring to
For better understanding the present disclosure, the buttons labeled c, v, g, h, j, and p are used to provide an example, and the button p is the special button. If the user applies a sliding touch on the buttons labeled c, v, g, h, and j sequentially, the keyboard 1 determines the sliding track and generates signals corresponding to the sliding track to control the movement of the displayed cursor. The p button can be used to activate any one of three functions. Which function is performed is determined by how long a user presses the p button. If the user presses the p button less than time t then the ordinary function of entering the letter p is performed. If the button is pressed for at least time t but less than time t1, a left click control signal identical to the left click control signal of a standard mouse would generate is sent to the computer to execute the left click function. If the user presses the button p for at least time t1, a right click control signal identical to the right click control signal of a standard mouse would generate is sent to the computer to execute the right click function. In this embodiment t is less than t1. Values for t and t1 may be set as desired and associated with functions as desired in embodiments.
Referring to
A top surface 210 of the main body 21 is exposed to the keyboard 1 for users to operate. A bottom surface 211 opposite to the top surface 210 defines a recessed portion 212. A protrusion 22 protrudes from the bottom surface of the recessed portion 212. In this embodiment, the recessed portion 212 is substantially circular, and the protrusion 22 is in the middle of the recessed portion 212.
The movable member 23 defines a slot 231 extending through the movable member 23. The slot 231 is substantially cross shaped and the arms of the cross are four sub-slots 2310 communicating with each other. In this embodiment, the movable member 23 is substantially circular. The diameter of the moveable member 23 is less than that of the recessed portion 212, and the moveable member 23 is moveably received in the recessed portion 212. The protrusion 22 is moveably received in the center of the slot 231.
The first electrode member 24 is substantially annular. The diameter of the first electrode member 24 is the same as that of the movable member 23, and the first electrode member 24 is securely arranged over the sidewall of the movable member 23.
In this embodiment, four springs 25 are deployed and each is mounted in one sub-slot 2310 with opposite ends respectively resisting a sidewall of the sub-slot 2310 and the protrusion 22.
Referring to
Each base 31 defines a recessed portion 311 to receive the second electrode member 32 and a portion of the moveable member 23. In this embodiment, the second electrode member 32 is substantially annular, and the recessed portion 311 is substantially circular. The first electrode member 24 of one button 2 and the second electrode 32 received in the base 31 supporting the button 2 are concentric and cooperatively form a capacitor.
Referring to
Referring to
Referring to
In step S701, the processing unit 4 determines that a sliding operation is exerted on the keyboard 1 upon detecting change in capacitance value of at least two adjacent capacitors.
In step S702, the processing unit 4 determines the sliding track corresponding to the sliding operation and generates signals corresponding to the sliding track to control movement of the displayed cursor.
In step S703, the processing unit 4 generates signals to control the computer to execute letter input function, left click function, or right click function upon detection of the special button being pressed and according to the duration of the pressing action.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being exemplary embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201010236507.9 | Jul 2010 | CN | national |