1.1 Hardware Components
(1)Hardware requirements for this experiment's modifications.
<1>The hardware used in this instance is as follows:
Mouse Model: Logitech M100r Wired Mouse
Audio connector: 3.5mm audio cable, 3-pin female connector
Switch: K4 switch (6.5mm plug)
Audio switch adapter: 6.5mm female to 3.5mm male, dual channel
<2>The hardware images are shown below.
1>3-core audio cable with female connectors (as shown on the left side of the image)

2>Switches and connectors

(2)Instructions for connecting the mouse circuit board.
<1>Original mouse circuit board

<2>The wiring after modification is shown below.

2.2 Software: CW-Lakey
(1)Software Interface Introduction (Software Version: Lakey.v2.1)
<1>Software settings: After using the switch adapter, configure it to the default setting. The mouse should be positioned at the CW (clockwise) position.

<2>Connecting a mouse and a key-operated device
1>The connecting cable, USB mouse interface, is properly connected to the computer, and the 3.5mm audio cable is connected to the K4 connector.

2>Example operation
