Page MenuHomeFreeBSD

hid: Import hidmap and bunch of drivers based on it.

Authored by wulf on Jan 6 2021, 1:11 AM.



Hidmap is a generic HID item value to evdev event conversion engine that makes possible to write HID drivers in mostly declarative way with defining of translation tables.

This change includes following drivers:

  • hms - HID mouse driver.
  • hcons - Consumer page AKA Multimedia keys driver.
  • hsctrl - System Controls page (Power/Sleep keys) driver.
  • ps4dshock - Sony DualShock 4 gamepad driver.

And some drivers submitted by Greg V:

  • hpen - Generic / MS Windows compatible HID pen tablet driver.
  • hgame - Generic game controller and joystick driver.
  • xb360gp - driver for Xbox360-compatible game controllers.

This revision is subset of

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.