Keyboard events

What program under X to look at the info on the keyboard? In sway there is a command:
$ swaymsg -t get_inputs
And under X?
dmesg outputs very poorly...
 
Thank you! I wanted to ask, why, for example, does https://www.freshports.org/sysutils/sysinfo/
not display information on the keyboard? What program in X displays detailed information on input devices?
$ swaymsg -t get_inputs
Code:
Input device: Telink Wireless Receiver, class 0/0, rev 1.10/1.00, addr 4
  Type: Mouse
  Identifier: 218:34064:Telink_Wireless_Receiver,_class_0/0,_rev_1.10/1.00,_addr_4
  Product ID: 34064
  Vendor ID: 218
  Libinput Send Events: enabled

Input device: HS6209 A4tech 2.4G Wireless Device, class 0/0, rev 2.00/2.00, addr 3
  Type: Mouse
  Identifier: 2522:37:HS6209_A4tech_2.4G_Wireless_Device,_class_0/0,_rev_2.00/2.00,_addr_3
  Product ID: 37
  Vendor ID: 2522
  Libinput Send Events: enabled

Input device: Telink Wireless Receiver, class 0/0, rev 1.10/1.00, addr 4
  Type: Keyboard
  Identifier: 218:34064:Telink_Wireless_Receiver,_class_0/0,_rev_1.10/1.00,_addr_4
  Product ID: 34064
  Vendor ID: 218
  Active Keyboard Layout: English (US)
  Libinput Send Events: enabled

Input device: HS6209 A4tech 2.4G Wireless Device, class 0/0, rev 2.00/2.00, addr 3
  Type: Keyboard
  Identifier: 2522:37:HS6209_A4tech_2.4G_Wireless_Device,_class_0/0,_rev_2.00/2.00,_addr_3
  Product ID: 37
  Vendor ID: 2522
  Active Keyboard Layout: English (US)
  Libinput Send Events: enabled

Input device: Power Button
  Type: Keyboard
  Identifier: 0:0:Power_Button
  Product ID: 0
  Vendor ID: 0
  Active Keyboard Layout: English (US)
  Libinput Send Events: enabled

Input device: System mouse
  Type: Mouse
  Identifier: 0:0:System_mouse
  Product ID: 0
  Vendor ID: 0
  Libinput Send Events: enabled

Input device: System keyboard multiplexer
  Type: Keyboard
  Identifier: 0:0:System_keyboard_multiplexer
  Product ID: 0
  Vendor ID: 0
  Active Keyboard Layout: English (US)
  Libinput Send Events: enabled

What utility under X can produce a line like this:
Code:
Identifier: 218:34064:Telink_Wireless_Receiver,_class_0/0,_rev_1.10/1.00,_addr_4
 
Back
Top