Skip to content

tests: keyboard: add ErrRollOver kernel test

See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/hid/hid-core.c?h=v5.15#n1555 for the kernel implementation.

The behavior of it is defined in the Device Class Definition for Human Interface Devices (HID) Version 1.11, Apendix C (page 62 of https://www.usb.org/sites/default/files/hid1_11.pdf)

The keyboard must report a phantom state indexing Usage(ErrorRollOver) in all array fields whenever the number of keys pressed exceeds the Report Count.

Signed-off-by: Benjamin Tissoires benjamin.tissoires@gmail.com

Merge request reports