The utility model discloses a magnetic shaft with an awakening function, which comprises a base, an upper cover, a guide core, a reset spring, a permanent
magnet, a
Hall element, a moving plate which is arranged on the side edge of the guide core and is integrally downwards and elastically bent, and a static plate arranged below the moving plate, at least one protruding edge is formed on the side edge of the guide core, the movable piece comprises at least one movable piece supporting arm transversely extending in the direction of the protruding edge, the movable piece supporting arm is driven by the protruding edge to make contact with or be separated from the static piece under the acting force that the guide core is pressed by external force, and the movable piece and the static piece are electrically connected with an
external circuit board. According to the
wireless keyboard, the mechanical switch is triggered to wake up the
Hall element to realize
signal transmission when a user presses the
wireless keyboard, the mechanical switch and the
Hall element do not interfere with each other when the
wireless keyboard is not pressed, and the Hall element is dormant, so that the aims of saving
electric power and prolonging the service life of the wireless keyboard are fulfilled; and in addition, the mute arm is arranged for buffering the downward pressing
impact force, so that the mute function is achieved.