1. Technical Field
The present disclosure relates to a keyboard and an electronic device with the keyboard, and more specifically to a keyboard having adjustable keystroke distance.
2. Description of Related Art
As common input devices, keyboards are widely used in various electronic devices, such as personal digital assistants, mobile phones, and computers. One such keyboard 1 is shown in
Therefore, what is needed is a keyboard to solve the problems described above.
Referring to
The button 22 extends through a through hole 200 and is movably received in the casing 20. A portion of the button 22 protrudes from the top of the casing 20 via the through hole 200, allowing the button 22 to be operated by a user. In an exemplary embodiment, the button 22 includes a flange 220 extending around the periphery of a bottom of the button 22. The flange 220 is wider than the through hole 200 and can abut against the inner surface of the top of the casing 20 surrounding the through hole 200, which can prevent the button 22 from disengaging from the through hole 200. In an alternative embodiment, the button 22 may be movably connected to the casing 20 some other way known in the art, such as what has been used in cell phones.
The circuit board 21 is located inside the casing 20 and includes a switch 23 under the button 22. When pushed, the button 22 moves and actuates the switch 23. The switch 23 then sends a signal to a processor 3 (shown in
The keyboard 2 further includes a first electromagnet 25 and a second electromagnet 26. In an exemplary embodiment, the first electromagnet 25 is arranged inside the button 22, and the second electromagnet 26 is coupled to the circuit board 21 and corresponding to the first electromagnet 25. The first and second electromagnets 25, 26 are cylindrical in shape and located near the switch 23. In an alternative embodiment, the first and second electromagnets 25, 26 may be annular in shape. In such case, the switch 23 may be arranged within the second electromagnet 26. In yet another alternative embodiment, the first electromagnet 25 may be coupled to the bottom of the button 22. It is notable that the configuration and arrangement of the first and second electromagnets 25, 26 are not limited thereto and may be varied according to need provided that the first and second electromagnets 25, 26 are configured to repel each other when energized.
When the first and second electromagnets 25, 26 are not energized, the button 22 is kept in the original position shown in
Energizing the first and second electromagnets 25, 26 is accomplished by either of two ways in the present embodiment. In one way, a power switch 27 is provided with the keyboard 2 as shown in
Although the present disclosure has been described in accordance with the embodiments shown, one of ordinary skill in the art will readily recognize that there could be variations to the embodiments and those variations would be within the spirit and scope of the present disclosure. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201110197533.X | Jul 2011 | CN | national |