Skip to main content
Fix broken links to Linux headers, and point the documentation link to the HTML version
Source Link

The B in front stands for bitmap, N, P, S, U, H are simply first letter in corresponding name value and I is for ID. In ordered fashion:In ordered fashion:

  • I => @id: id of the device  (struct input_id)(struct input_id)
    • Bus     => id.bustype
    • Vendor  => id.vendor
    • Product => id.product
    • Version => id.version
  • N => name of the device.
  • P => physical path to the device in the system hierarchy.
  • S => sysfs path.
  • U => unique identification code for the device (if device has it).
  • H => list of input handles associated with the device.
  • B => bitmaps
    • PROP => device properties and quirks.
    • EV   => types of events supported by the device.
    • KEY  => keys/buttons this device has.
    • MSC  => miscellaneous events supported by the device.
    • LED  => leds present on the device.

Then check input.hinput-event-codes.h you find that they correspond to:

To check what they mean a quick introduction is given by kernel DocumentationKernel documentation.

The B in front stands for bitmap, N, P, S, U, H are simply first letter in corresponding name value and I is for ID. In ordered fashion:

  • I => @id: id of the device  (struct input_id)
    • Bus     => id.bustype
    • Vendor  => id.vendor
    • Product => id.product
    • Version => id.version
  • N => name of the device.
  • P => physical path to the device in the system hierarchy.
  • S => sysfs path.
  • U => unique identification code for the device (if device has it).
  • H => list of input handles associated with the device.
  • B => bitmaps
    • PROP => device properties and quirks.
    • EV   => types of events supported by the device.
    • KEY  => keys/buttons this device has.
    • MSC  => miscellaneous events supported by the device.
    • LED  => leds present on the device.

Then check input.h you find that they correspond to:

To check what they mean a quick introduction is given by kernel Documentation.

The B in front stands for bitmap, N, P, S, U, H are simply first letter in corresponding name value and I is for ID. In ordered fashion:

  • I => @id: id of the device (struct input_id)
    • Bus     => id.bustype
    • Vendor  => id.vendor
    • Product => id.product
    • Version => id.version
  • N => name of the device.
  • P => physical path to the device in the system hierarchy.
  • S => sysfs path.
  • U => unique identification code for the device (if device has it).
  • H => list of input handles associated with the device.
  • B => bitmaps
    • PROP => device properties and quirks.
    • EV   => types of events supported by the device.
    • KEY  => keys/buttons this device has.
    • MSC  => miscellaneous events supported by the device.
    • LED  => leds present on the device.

Then check input-event-codes.h you find that they correspond to:

To check what they mean a quick introduction is given by Kernel documentation.

Commonmark migration
Source Link

##Bitmasks

Bitmasks

##Decoding 120013

Decoding 120013

##Bitmasks

##Decoding 120013

Bitmasks

Decoding 120013

replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

ThisThis, "EDIT 2 (continued):" in particular, might be of interest.

This, "EDIT 2 (continued):" in particular, might be of interest.

This, "EDIT 2 (continued):" in particular, might be of interest.

Added more detail. Corrected typo.
Source Link
Runium
  • 29.2k
  • 5
  • 53
  • 73
Loading
ERR! I need to learn to count.
Source Link
Runium
  • 29.2k
  • 5
  • 53
  • 73
Loading
A bit more information
Source Link
Runium
  • 29.2k
  • 5
  • 53
  • 73
Loading
Source Link
Runium
  • 29.2k
  • 5
  • 53
  • 73
Loading