Abstract: A shaft and a keyboard are provided. The shaft includes a shaft casing having a shaft cavity running theretrough, a shaft core and a first elastic part. A downward surface of the shaft casing is provided with a groove, a partition board is provided between the groove and the shaft cavity, and the partition board is provided with a channel in a direction of the shaft cavity. The shaft core slidably penetrates through the shaft cavity, a sliding protrusion corresponding to the channel in position is provided on a side surface of the shaft core, and the sliding protrusion has a first inclined surface and a second inclined surface which are arranged back to back; the first elastic part is mounted in the groove, and has a fixed end detachably connected with the shaft casing and an abutting end capable of abutting against the first inclined surface at the channel.
Abstract: A shaft and a keyboard are provided. The shaft includes a shaft casing having a shaft cavity running theretrough, a shaft core and a first elastic part. A downward surface of the shaft casing is provided with a groove, a partition board is provided between the groove and the shaft cavity, and the partition board is provided with a channel in a direction of the shaft cavity. The shaft core slidably penetrates through the shaft cavity, a sliding protrusion corresponding to the channel in position is provided on a side surface of the shaft core, and the sliding protrusion has a first inclined surface and a second inclined surface which are arranged back to back; the first elastic part is mounted in the groove, and has a fixed end detachably connected with the shaft casing and an abutting end capable of abutting against the first inclined surface at the channel.