Key structure adapting mechanical shaft and optical shaft and electronic device

CN224625425UActive Publication Date: 2026-08-11SHENZHEN MYSPACE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-09-11
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

然而,传统键盘的结构设计存在局限性,单个按键仅能采用机械轴或光轴中的一种进行触发,无法同时兼容两种轴体,难以满足用户在不同场景下的使用需求

Benefits of technology

[0018]本申请实施例提供的适配机械轴和光轴的按键结构中,开关位于按键结构的安装位上,开关为机械轴和光轴中的一种;PCB板安装有与机械轴配合的热插拔轴座,在机械轴位于安装位上时,机械轴的信号针脚与热插拔轴座插拔连接,以将机械轴产生的电信号传输至PCB板;PCB板还安装有与光轴配合的光导通组件,该光导通组件包括相对设置的一红外线发射元件与一光敏接收元件,在光轴位于安装位上时,光轴的遮光件能够下移,以遮挡红外线发射元件与光敏接收元件之间的光路,从而将光轴产生的电信号传输至PCB板;因光导通组件设置在靠近开关的一侧,能够有效减少外部因素对其的干扰,进而提升其抗干扰性能;本申请实施例提供的按键结构,能够兼容机械轴和光轴。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224625425U_ABST
    Figure CN224625425U_ABST
Patent Text Reader

Abstract

This application discloses a button structure and electronic device compatible with mechanical and optical axes. The button structure includes a mounting position; a switch located on the mounting position; the switch is either a mechanical axis or an optical axis; the mechanical axis includes a pair of signal pins; the optical axis includes a light-shielding element; a PCB board, on which a hot-swappable hinge and a light-conducting assembly are mounted; the light-conducting assembly is located on the side near the switch; the light-conducting assembly includes an infrared emitting element and a photosensitive receiving element disposed opposite to each other; the bottom of the switch is provided with a clearance groove that cooperates with the light-conducting assembly; wherein, when the mechanical axis is located on the mounting position, the signal pins of the mechanical axis are plugged and plugged into the hot-swappable hinge to transmit the electrical signal generated by the mechanical axis to the PCB board; when the optical axis is located on the mounting position, the light-shielding element of the optical axis can be moved down to transmit the electrical signal generated by the optical axis to the PCB board; the button structure provided by this application is compatible with both mechanical and optical axes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of button technology, specifically relating to a button structure and electronic device adapted to mechanical and optical axes. Background Technology

[0002] As a common input device, keyboards are generally classified into two types: mechanical keyboards and optical keyboards.

[0003] Mechanical keyboards typically consist of a circuit board and multiple keys mounted on the board. Each key is equipped with a mechanical switch. Pressing down the mechanical switch triggers an electrical signal transmitted to the circuit board, thus activating the key's function. Optical keyboards also include a circuit board and multiple keys mounted on it. Each key is equipped with an optical switch and optics. Pressing down the optical switch transmits an electrical signal to the circuit board, triggering the key.

[0004] With the continuous development of the electronics industry, users have placed higher demands on keyboard functionality. However, the structural design of traditional keyboards has limitations; a single key can only be triggered by either a mechanical switch or an optical switch, and cannot be compatible with both types of switches simultaneously, making it difficult to meet users' needs in different scenarios. Utility Model Content

[0005] To overcome the aforementioned technical deficiencies, this application provides a key structure and electronic device adapted to mechanical and optical axes, aiming to solve the above problems.

[0006] To solve the above-mentioned technical problems, this application adopts the following technical solution:

[0007] According to one aspect of the embodiments of this application, a button structure adaptable to mechanical axes and optical axes is provided. The button structure includes: a mounting position; a switch located in the mounting position; the switch is one of a mechanical axis and an optical axis; the mechanical axis includes a pair of signal pins; the optical axis includes a light-shielding element; a PCB board, on which a hot-swappable shaft seat and a light-conducting assembly are mounted; the light-conducting assembly is disposed on the side near the switch; the light-conducting assembly includes an infrared emitting element and a photosensitive receiving element disposed opposite to each other; the bottom of the switch is provided with a clearance groove that cooperates with the light-conducting assembly; wherein, when the mechanical axis is located in the mounting position, the signal pins of the mechanical axis are plugged and plugged into the hot-swappable shaft seat for transmitting the electrical signal generated by the mechanical axis to the PCB board; when the optical axis is located in the mounting position, the light-shielding element of the optical axis can be moved down to block the optical path between the infrared emitting element and the photosensitive receiving element for transmitting the electrical signal generated by the optical axis to the PCB board.

[0008] In some embodiments of this application, a base is also included; the mounting position is disposed on the base; the base has a central hole; and the switch has a flange that mates with the central hole.

[0009] In some embodiments of this application, the bottom of the base is provided with a buckle; the PCB board is provided with a connection hole that engages with the buckle.

[0010] In some embodiments of this application, the optical axis has a pressing part; the pressing part is fixedly connected to a light-shielding member; when the user triggers the pressing part, the light-shielding member moves downward.

[0011] In some embodiments of this application, the switch is a mechanical shaft; the clearance groove includes a first clearance groove and a second clearance groove; wherein, the first clearance groove is used to accommodate an infrared emitting element, and the second clearance groove is used to accommodate a photosensitive receiving element.

[0012] In some embodiments of this application, the switch is an optical axis; the clearance slot includes a third clearance slot and a fourth clearance slot; wherein, the third clearance slot is used to accommodate an infrared emitting element, and the fourth clearance slot is used to accommodate a photosensitive receiving element; the third clearance slot and the fourth clearance slot are connected to form a channel for infrared light to pass through.

[0013] In some embodiments of this application, the hot-swappable hub includes two guide sleeves; each signal pin is plugged into and plugged into each guide sleeve.

[0014] In some embodiments of this application, the hot-swappable hub further includes a connector fixedly connected to the PCB board; the connector is located on the side away from the switch.

[0015] In some embodiments of this application, the bottom of the switch is provided with a positioning post; the PCB board is provided with a positioning hole; and the positioning post is disposed in the positioning hole.

[0016] According to one aspect of the embodiments of this application, an electronic device is provided, including at least one button structure adapted to mechanical and optical axes as described above.

[0017] As can be seen from the above technical solution, this application has at least the following beneficial effects:

[0018] In the button structure adapted for both mechanical and optical axes provided in this application embodiment, the switch is located in the mounting position of the button structure, and the switch is either a mechanical axis or an optical axis. A hot-swappable hub that mates with the mechanical axis is mounted on the PCB board. When the mechanical axis is in the mounting position, the signal pins of the mechanical axis are plugged into and plugged into the hot-swappable hub to transmit the electrical signal generated by the mechanical axis to the PCB board. The PCB board also has a photoconductor assembly that mates with the optical axis. This photoconductor assembly includes an infrared emitting element and a photosensitive receiving element disposed opposite to each other. When the optical axis is in the mounting position, the light-shielding element of the optical axis can move downwards to block the light path between the infrared emitting element and the photosensitive receiving element, thereby transmitting the electrical signal generated by the optical axis to the PCB board. Because the photoconductor assembly is located on the side close to the switch, it can effectively reduce interference from external factors, thereby improving its anti-interference performance. The button structure provided in this application embodiment is compatible with both mechanical and optical axes. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a schematic diagram of the structure of a mechanical shaft in related technologies;

[0021] Figure 2 This is a schematic diagram of the optical axis structure in related technologies;

[0022] Figure 3 This is a schematic diagram of the structure for triggering the optical axis in related technologies;

[0023] Figure 4 A schematic diagram of a button structure adapted to mechanical and optical axes provided in an embodiment of this application;

[0024] Figure 5 An exploded view of the button structure when the switch is a mechanical shaft, as provided in the embodiments of this application;

[0025] Figure 6 An exploded view from another perspective of the button structure when the switch provided in the embodiment of this application is a mechanical shaft;

[0026] Figure 7 An exploded view of the button structure when the switch is an optical axis, as provided in the embodiments of this application;

[0027] Figure 8 This is a schematic diagram of the PCB board structure provided in the embodiments of this application;

[0028] Figure 9A schematic diagram of the clearance groove when the switch is a mechanical shaft, as provided in an embodiment of this application;

[0029] Figure 10 This is a schematic diagram of the clearance groove when the switch is an optical axis, as provided in an embodiment of this application.

[0030] Figure label:

[0031] 1. Base; 11. Mounting position; 12. Clip;

[0032] 2. Switch; 21. Mechanical shaft; 211. Shaft core; 212. Signal pin; 213. First clearance groove; 214. Second clearance groove; 22. Optical shaft; 221. Light shield; 222. Pressing part; 223. Third clearance groove; 224. Fourth clearance groove; 225. Channel; 23. Positioning post;

[0033] 3. PCB board; 31. Hot-swappable shaft seat; 311. Guide sleeve; 312. Connector; 32. Optical conduction assembly; 321. Infrared emitting element; 322. Photosensitive receiving element; 33. Connecting hole; 34. Positioning hole. Detailed Implementation

[0034] The following specific embodiments illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Although the description of this application is presented in conjunction with preferred embodiments, this does not mean that the features of this application are limited to this embodiment. On the contrary, the purpose of describing the application in conjunction with embodiments is to cover other options or modifications that may be derived based on the claims of this application. To provide a thorough understanding of this application, many specific details will be included in the following description. This application may also be implemented without using these details. Furthermore, to avoid confusion or obscuring the focus of this application, some specific details will be omitted in the description. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this application can be combined with each other.

[0035] In this application, unless otherwise expressly specified and limited, the term "connection" shall be interpreted broadly, for example, "connection" can be a fixed connection, a detachable connection, or an integral part; it can be a direct connection or an indirect connection through an intermediate medium. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0036] In related technologies, electronic devices such as keyboards and game controllers include at least one button, which is used to input corresponding electrical signals. When a user presses any button, the button can transmit a specific signal to the corresponding electronic device, such as a switch command or control command, thereby enabling operations such as issuing commands or inputting data to the electronic device.

[0037] As an input device, keyboards commonly include mechanical keyboards and optical keyboards.

[0038] In related technologies, mechanical keyboards typically consist of a circuit board and multiple keys mounted on the circuit board. Each key is equipped with a mechanical switch. By pressing down on the mechanical switch, an electrical signal is transmitted to the circuit board to realize the key function.

[0039] Figure 1 This is a schematic diagram of the structure of a mechanical shaft in related technologies.

[0040] like Figure 1 As shown, the mechanical shaft 21 includes a shaft core 211 and two signal pins 212. The shaft core 211 can move up and down. When the shaft core 211 moves downward, it triggers internal conduction of the mechanical shaft 21, forming an electrical connection between the two signal pins 212.

[0041] Specifically, when the shaft core 211 is not pressed, the signal pins 212 are not conductive; however, when the user presses the shaft core 211, an electrical connection is formed between the signal pins 212, triggering the transmission of an electrical signal to the circuit board to realize the button function. It should be noted that the structure and principle of the mechanical shaft 21 are existing technologies, and will not be described in detail in this embodiment.

[0042] Figure 2 This is a schematic diagram of the optical axis structure in related technologies; Figure 3 This is a schematic diagram of the structure for triggering the optical axis in related technologies.

[0043] The optical keyboard includes a circuit board and multiple keys mounted on the circuit board. Each key is equipped with an optical axis 22 and an optical device. By pressing down the optical axis 22, the optical device transmits an electrical signal to the circuit board to complete the key triggering.

[0044] like Figure 2-3 As shown, the optical axis 22 includes a light-shielding member 221. The upper surface of the optical axis 22 has a pressing part 222; the pressing part 222 is fixedly connected to the light-shielding member 221; when the user triggers the pressing part 222, the light-shielding member 221 moves downward.

[0045] Specifically, when the optical axis 22 is not pressed, the light-shielding member 221 will not move down; however, when the user presses the pressing part 222, the light-shielding member 221 moves down to the position of triggering the optical device, and the optical device transmits an electrical signal to the circuit board to complete the button triggering. It should be noted that the structure and principle of the optical axis 22 are existing technologies, and will not be described in detail in this embodiment.

[0046] With the continuous development of the electronics industry, users' demands for keyboard functionality are increasing. However, the structural design of traditional keyboards has limitations. Each key can only be triggered by either a mechanical switch (21) or an optical switch (22), and cannot be compatible with both types of switches simultaneously, making it difficult to adapt to users' needs in different scenarios. For example, for a mechanical switch (21) keyboard, each key is triggered only by a mechanical switch (21). When a user wants to replace all or some of the keys on the mechanical switch (21) keyboard with optical switches (22), the traditional structure cannot meet this requirement.

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0048] Figure 4 A schematic diagram of a button structure adapted to mechanical and optical axes provided in an embodiment of this application; Figure 5 An exploded view of the button structure when the switch is a mechanical shaft, as provided in the embodiments of this application; Figure 6 An exploded view from another perspective of the button structure when the switch provided in the embodiment of this application is a mechanical shaft; Figure 7 This is an exploded view of the button structure when the switch provided in this application is an optical axis.

[0049] like Figure 4-7 As shown, this application embodiment provides a button structure that adapts to mechanical axes and optical axes. The button structure includes: a mounting position, a switch 2, and a PCB board 3.

[0050] In one embodiment, the button structure further includes a base 1, and a mounting position 11 may be disposed on the base 1; the base 1 has a mounting position 11; the switch 2 is located on the mounting position 11; the switch 2 is one of a mechanical axis 21 and an optical axis 22.

[0051] In some embodiments of this application, the base 1 has a central hole; the switch 2 has a flange that mates with the central hole.

[0052] It is understood that the central hole in the base 1 is a mounting position 11, and both the mechanical shaft 21 and the optical shaft 22 are provided with flanges that mate with the central hole. Through the structural mating of the flanges and the central hole, the mechanical shaft 21 or the optical shaft 22 can be easily positioned on the base 1, making it convenient for users to replace the shafts.

[0053] In this embodiment, the mechanical axis 21 includes a pair of signal pins 212; the PCB board 3 is equipped with a hot-swappable axis holder 31, wherein when the mechanical axis 21 is located in the mounting position 11, the signal pins 212 of the mechanical axis 21 are plugged and plugged into the hot-swappable axis holder 31 to transmit the electrical signal generated by the mechanical axis 21 to the PCB board 3.

[0054] Specifically, the mechanical shaft 21 includes a pair of signal pins 212, one of which is connected to a moving plate (not shown) inside the mechanical shaft 21, and the other signal pin 212 is connected to a stationary plate (not shown) inside the mechanical shaft 21. The signal pins 212 can be made of a metal material with excellent conductivity, such as brass or phosphor bronze, and the signal pins 212 are fixed to the base 1 of the mechanical shaft 21.

[0055] When the mechanical shaft 21 is not pressed, the moving piece and the stationary piece are separated, and the mechanical shaft 21 is in an open circuit state; when the mechanical shaft 21 is pressed, the moving piece and the stationary piece are in contact, and the mechanical shaft 21 is in a closed conducting state. This electrical signal is transmitted to the PCB board 3 to trigger the button response.

[0056] In this embodiment, the PCB board 3 is equipped with a hot-swappable shaft seat 31 that mates with the signal pin 212; the hot-swappable shaft seat 31 is a connector that adapts to the signal pin 212 of the mechanical shaft 21.

[0057] Specifically, in some embodiments of this application, the hot-swappable hub 31 includes two guide sleeves 311; each signal pin 212 is plugged into and plugged into each guide sleeve 311. It is understood that the guide sleeve 311 has a conductive slot inside that corresponds one-to-one with the signal pin 212, and the conductive sheet (not shown) in the conductive slot is soldered to the circuit trace on the PCB board for conduction.

[0058] In some embodiments of this application, the hot-swappable shaft seat 31 further includes a connector 312 fixedly connected to the PCB board 3; the connector 312 is located on the side away from the switch 2.

[0059] In this embodiment, the mechanical axis 21 is plugged into and plugged into the hot-swappable shaft seat 31 to achieve a detachable electrical connection between the mechanical axis 21 and the PCB board, while ensuring the stability of signal transmission.

[0060] In this embodiment, the optical axis 22 includes a light-shielding member 221; the PCB board 3 is equipped with a light-conducting component 32; the light-conducting component 32 includes an infrared emitting element 321 and a photosensitive receiving element 322 disposed opposite to each other; when the optical axis 22 is located at the mounting position 11, the light-shielding member 221 of the optical axis 22 can be moved down to block the optical path between the infrared emitting element 321 and the photosensitive receiving element 322, so as to transmit the electrical signal generated by the optical axis 22 to the PCB board 3.

[0061] In some embodiments of this application, the optical axis 22 has a pressing part 222; the pressing part 222 is fixedly connected to the light-shielding member 221; when the user triggers the pressing part 222, the light-shielding member 221 moves downward.

[0062] It is understandable that the light-shielding member 221 of the optical axis 22 is an opaque structure that can move synchronously with the pressing part 222, and its size and shape can be adapted to the optical path range of the light-conducting component 32. When the light-shielding member 221 moves down, it blocks the optical path between the infrared emitting element 321 and the photosensitive receiving element 322.

[0063] The optical conduction component 32 includes an infrared emitting element 321 and a photosensitive receiving element 322 disposed opposite to each other. The infrared emitting element 321 can be an infrared LED, and the photosensitive receiving element 322 can be a phototransistor. The infrared emitting element 321 emits infrared light to the photosensitive receiving element 322 disposed opposite to it, forming an optical path; when the photosensitive receiving element 322 receives the infrared light, the generated electrical signal is transmitted to the PCB board 3.

[0064] When the optical axis 22 is pressed, the pressing part 222 moves downward, simultaneously driving the light-shielding part 221 to move downward. When the light-shielding part 221 moves downward, it blocks the optical path between the infrared emitting element 321 and the photosensitive receiving element 322. Since the photosensitive receiving element 322 cannot receive infrared light, the electrical signal it generates is transmitted to the PCB board 3.

[0065] In this embodiment, the light-conducting component 32 is disposed on the side near the switch 2. Specifically, the light-conducting component 32 is disposed on the upper surface of the PCB board 3, which can effectively reduce interference from external factors and thus improve its anti-interference performance. For example, external factors can be ambient light sources, such as some illuminated buttons, which have LED beads disposed on the bottom of the PCB board 3. If the light-conducting component 32 is disposed on the bottom surface of the PCB board 3, the light source emitted by the LED beads may directly illuminate the photosensitive receiving element 322, causing the photosensitive receiving element 322 to misjudge the signal. For example, strong light may saturate the photosensitive receiving element 322, and a weak current may still be generated even when the light-shielding member 221 is not activated, causing false triggering. In this application, the position of the light-conducting component 32 is arranged to form a physical light-shielding barrier using the PCB board structure, reducing the risk of ambient light directly hitting the photosensitive receiving element 322.

[0066] Figure 8 This is a schematic diagram of the PCB board structure provided in an embodiment of this application.

[0067] like Figure 8 As shown, the PCB board 3 is equipped with a hot-swappable hinge 31 and an optical conduction component 32. When the mechanical axis 21 or the optical axis 22 is located in the mounting position 11, the electrical signal generated by the corresponding switch axis 2 is transmitted to the PCB board 3. The button structure provided in this embodiment is compatible with both the mechanical axis 21 and the optical axis 22.

[0068] To avoid structural interference between the bottom of switch 2 and the light-conducting component 32, a clearance groove is provided at the bottom of switch 2 to cooperate with the light-conducting component 32. The clearance groove can accommodate the light-shielding component 221, ensuring that when switch 2 is in the mounting position 11, it does not cause structural interference with the light-conducting component 32. Furthermore, when the optical axis 22 is in the mounting position 11, it does not affect the optical path between the infrared emitting element 321 and the photosensitive receiving element 322.

[0069] In addition, the optical conduction component 32 is located in the clearance slot, which can effectively reduce the interference of external factors on the optical conduction component 32 and improve its anti-interference performance.

[0070] Figure 9 This is a schematic diagram of the clearance groove when the switch provided in this application is a mechanical shaft.

[0071] like Figure 9 As shown, in some embodiments of this application, the switch 2 is a mechanical shaft 21; the clearance groove includes a first clearance groove 213 and a second clearance groove 214; wherein, the first clearance groove 213 is used to accommodate the infrared emitting element 321, and the second clearance groove 214 is used to accommodate the photosensitive receiving element 322.

[0072] Figure 10 This is a schematic diagram of the clearance groove when the switch is an optical axis, as provided in an embodiment of this application.

[0073] like Figure 10 As shown, in some embodiments of this application, switch 2 is optical axis 22; the clearance slot includes a third clearance slot 223 and a fourth clearance slot 224; wherein, the third clearance slot 223 is used to accommodate infrared emitting element 321, and the fourth clearance slot 224 is used to accommodate photosensitive receiving element 322; the third clearance slot 223 and the fourth clearance slot 224 are connected to form a channel 225 for infrared light to pass through. The arrangement of the channel 225 ensures that the optical path between infrared emitting element 321 and photosensitive receiving element 322 is not blocked.

[0074] In some embodiments of this application, the bottom of the base 1 is provided with a buckle 12; the PCB board 3 is provided with a connection hole 33 that mates with the buckle 12.

[0075] When the clip 12 is engaged in the connection hole 33, the PCB board and the base 1 are securely connected, thereby ensuring the connection stability between the switch 2 on the base 1 and the PCB board and ensuring stable signal transmission.

[0076] In some embodiments of this application, the bottom of the switch 2 is provided with a positioning post 23; the PCB board 3 is provided with a positioning hole 34; and the positioning post 23 is disposed in the positioning hole 34.

[0077] When the mechanical axis 21 or optical axis 22 is placed in the mounting position 11, the positioning post 23 at the bottom of the mechanical axis 21 or optical axis 22 cooperates with the positioning hole 34 of the PCB board 3 to improve the stability of the connection between the switch 2 and the PCB board 3.

[0078] As can be seen from the above technical solution, this application has at least the following beneficial effects:

[0079] In the button structure adapted for mechanical and optical axes provided in this application embodiment, switch 2 is located on mounting position 11, and switch 2 is one of mechanical axis 21 and optical axis 22; PCB board 3 is equipped with a hot-swappable hub 31 that mates with mechanical axis 21. When mechanical axis 21 is located on mounting position 11, signal pins 212 of mechanical axis 21 are plugged and plugged into the hot-swappable hub 31 to transmit the electrical signal generated by mechanical axis 21 to PCB board; PCB board 3 is also equipped with a light-conducting component 32 that mates with optical axis 22. The light-conducting component 32 includes a relative... An infrared emitting element 321 and a photosensitive receiving element 322 are provided. When the optical axis 22 is located on the mounting position 11, the light-shielding member 221 of the optical axis 22 can move down to block the optical path between the infrared emitting element 321 and the photosensitive receiving element 322, thereby transmitting the electrical signal generated by the optical axis 22 to the PCB board 3. Since the light-conducting component 32 is located on the side close to the switch 2, it can effectively reduce the interference of external factors, thereby improving its anti-interference performance. The button structure provided in this embodiment of the application is compatible with mechanical axes and optical axes.

[0080] According to one aspect of the embodiments of this application, an electronic device is provided, including at least one button structure adapted to mechanical and optical axes as described above.

[0081] Electronic devices such as keyboards and game controllers rely on keys for input. By adopting the aforementioned key structure adapted to both mechanical switches 21 and optical switches 22, the keys can flexibly accommodate both triggering methods. Specifically, users can freely change the switches of one or more keys on the electronic device according to their usage scenarios, such as preferring the tactile feedback of mechanical switches 21 or the faster response of optical switches 22, or according to personal preference, without replacing the entire device or modifying its main structure. This enhances the customizability and flexibility of electronic devices, meeting users' needs in different scenarios.

[0082] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A key structure adaptable to mechanical and optical axes, characterized in that, The button structure includes: One installation position; A switch is located in a mounting position; the switch is one of a mechanical axis and an optical axis; the mechanical axis includes a pair of signal pins; the optical axis includes a light-shielding element. The PCB board is equipped with a hot-swappable hub and an optical conduction assembly; the optical conduction assembly is located on the side near the switch; the optical conduction assembly includes an infrared emitting element and a photosensitive receiving element arranged opposite each other; the bottom of the switch is provided with a clearance groove that cooperates with the optical conduction assembly; When the mechanical axis is in the mounting position, the signal pins of the mechanical axis are plugged into and plugged into the hot-swappable axis seat to transmit the electrical signal generated by the mechanical axis to the PCB board; when the optical axis is in the mounting position, the light shield of the optical axis can be moved down to block the optical path between the infrared emitting element and the photosensitive receiving element to transmit the electrical signal generated by the optical axis to the PCB board.

2. The key structure adapted to mechanical and optical axes according to claim 1, characterized in that, It also includes a base; the mounting position is located on the base; the base has a central hole; the switch has a flange that mates with the central hole.

3. The key structure adapted to mechanical and optical axes according to claim 2, characterized in that, The base has a buckle at the bottom; the PCB board has a connection hole that engages with the buckle.

4. The key structure adapted to mechanical and optical axes according to claim 1, characterized in that, The optical axis has a pressing part; the pressing part is fixedly connected to the light-shielding member; when the user triggers the pressing part, the light-shielding member moves down.

5. The button structure adapted to mechanical and optical axes according to claim 1, characterized in that, The switch is a mechanical shaft; the clearance groove includes a first clearance groove and a second clearance groove; wherein, the first clearance groove is used to accommodate an infrared emitting element, and the second clearance groove is used to accommodate a photosensitive receiving element.

6. The key structure adapted to mechanical and optical axes according to claim 1, characterized in that, The switch is an optical axis; the clearance slot includes a third clearance slot and a fourth clearance slot; wherein, the third clearance slot is used to accommodate an infrared emitting element, and the fourth clearance slot is used to accommodate a photosensitive receiving element; the third clearance slot and the fourth clearance slot are connected to form a channel for infrared light to pass through.

7. The button structure adapted to mechanical and optical axes according to claim 1, characterized in that, The hot-swappable hub includes two guide sleeves; each signal pin is plugged into and plugged into each guide sleeve.

8. The key structure adapted to mechanical and optical axes according to claim 7, characterized in that, The hot-swappable hub also includes a connector that is fixedly connected to the PCB board; the connector is located on the side away from the switch.

9. The key structure adapted to mechanical and optical axes according to any one of claims 1-8, characterized in that, The switch has a positioning post at its bottom; the PCB board has a positioning hole; and the positioning post is located inside the positioning hole.

10. An electronic device, characterized in that, It includes at least one key structure adapted to mechanical and optical axes as described in any one of claims 1-9.