摘要 |
A USB keyboard includes a plurality of keys and a USB controller. The USB controller includes at least a firmware, wherein the USB controller is for executing the firmware. The firmware includes at least two endpoint descriptors, wherein each of the endpoint descriptors operate according to a USB-HID communication standard, and report descriptors of the same amount as the endpoint descriptors, wherein each of the report descriptors is respectively corresponding to one of the endpoint descriptors, and the report descriptors all operate according to the USB-HID communication standard. When at least one of the keys is pressed simultaneously, the USB controller stores key codes corresponding to the simultaneously pressed keys in endpoints defined by the endpoint descriptors, and transmits the key codes stored in the endpoints by executing the firmware.
|