The utility model discloses a
control circuit for realizing keyboard rocker
macro definition, which comprises a main control module, a storage module, a
USB (Universal Serial
Bus) interface circuit, a rocker module and a key module, the main control module adopts a main control
chip K201, the storage module adopts an
EPROM (Electrically
Programmable Read Only Memory) memory, and the memory is connected with the main control
chip; the key module comprises at least five on-off switches, a rocker adopted by the rocker module at least comprises actions in the forward direction, the backward direction, the leftward direction, the rightward direction and the downward pressing direction, and the number of the on-off switches is larger than that of the rocker in the action direction. An instruction is written in and stored in the
EPROM through the
USB interface circuit, when
macro definition is carried out on the rocker, the rocker is shaken or pressed in the needed direction, then a
signal is transmitted to the master control through the corresponding on-off switch, the corresponding instruction is called from the
EPROM through the master control,
macro definition of the corresponding action of the rocker is achieved, operation and use are convenient, and operation is easy. The circuit is simple in structure, easy to implement and lower in cost.