aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hid/hidmap.h
Commit message (Collapse)AuthorAgeFilesLines
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-07-251-1/+1
| | | | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix (cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
* hpen(4): Add support for legacy MS-compatible single touch protocolVladimir Kondratyev2021-09-211-0/+2
| | | | | | | | It is used by many pre- and post- 2014 eGalax touchscreens. Tested by: Mark Kane <mark_AT_kane_DOT_mn> (cherry picked from commit a36bdfc2b6525e814388f38c6862cf4b24dc6bee)
* hidmap: Implement forbidden flag for hidmap item.Vladimir Kondratyev2021-09-211-1/+2
| | | | | | | If HID usage is mapped to evdev event by hidmap item marked with this flag than entire driver attachment is blocked. (cherry picked from commit cded1fdb3763ba1f0f3663e605a5e63089dc8e22)
* hid: Import hidmap and bunch of drivers based on itVladimir Kondratyev2021-01-071-0/+262
hidmap is a kernel module that maps HID input usages to evdev events. Following dependent drivers is included in the commit: 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. Reviewed by: hselasky Differential revision: https://reviews.freebsd.org/D27993