Ubuntu - Keyboard - Get list of input devices

This shows all input devices, not just keyboards.

This includes special keys, power buttons, touch-pads and touch-screens.

xinput list

This shows a numbered list of input devices.


To check a specific device from the list:

xinput --list-props 8

where 8 is the device from the previous command.