最終更新:2025-03-23 (日) 06:18:02 (29d)  

xinput list
Top / xinput list

xinput list [--short || --long || --name-only || --id-only] [<device name>...]
       --list [--short || --long || --name-only || --id-only] [device]
               If  no argument is given list all the input devices. If an argument is given, show all the fea‐
               tures of device.  If --long is provided, the output includes detailed information about the ca‐
               pabilities  of  each  devices.  Otherwise, or if --short is provided, only the device names and
               some minimal information is listed.  If --name-only is provided, the output is limited  to  the
               device names. One device name is listed per line. Note that the order the devices are listed is
               undefined.  If --id-only is provided, the output is limited to the device IDs. One device ID is
               listed per line. Note that the order the devices are listed is undefined.
  • user@ubuntu:~$ xinput list
    ⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
    ⎜   ↳ VMware VMware Virtual USB Mouse         	id=7	[slave  pointer  (2)]
    ⎜   ↳ ImPS/2 Generic Wheel Mouse              	id=9	[slave  pointer  (2)]
    ⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
        ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
        ↳ Power Button                            	id=6	[slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard            	id=8	[slave  keyboard (3)]