aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hid/hidmap.c
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* hidbus(4): Use generic hid methods to start and stop interruptsVladimir Kondratyev2023-08-031-2/+2
|
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-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
* hidmap: Do not forget to initialize bitmap items to unset stateVladimir Kondratyev2021-09-021-1/+2
| | | | MFC after: 2 week
* hidmap: Implement forbidden flag for hidmap item.Vladimir Kondratyev2021-09-021-1/+4
| | | | | | | If HID usage is mapped to evdev event by hidmap item marked with this flag than entire driver attachment is blocked. MFC after: 2 week
* hid: fix extraneous SYSCTL_ADD_INT() options revealed by LINT buildVladimir Kondratyev2021-01-101-1/+1
| | | | Reviewed by: hselasky (as part of D28060)
* hid: Import hidmap and bunch of drivers based on itVladimir Kondratyev2021-01-071-0/+832
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