History log of /freebsd-current/sys/dev/hid/ps4dshock.c
Revision Date Author Comments
# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

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


# 7eeede15 06-May-2022 John Baldwin <jhb@FreeBSD.org>

hid: Remove unused devclass arguments to DRIVER_MODULE.


# 9b2b5f42 16-Aug-2021 Vladimir Kondratyev <wulf@FreeBSD.org>

ps4dshock(4): Fix touchpad width in HID report descriptor

MFC after: 1 week


# 51b22161 16-Aug-2021 Greg V <greg@unrelenting.technology>

hid: move proper hat switch handling from ps4dshock to hgame

Generic "DirectInput" HID gamepads need this handling too.

Reviewed by: wulf
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D31398


# 16079c72 10-Jan-2021 Ryan Libby <rlibby@FreeBSD.org>

hid: quiet -Wswitch

Gcc builds complained that not all switch cases are handled. Add
default cases to appease gcc.

Reviewed by: hselasky (previous version), wulf
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D28082


# afd590d9 14-Oct-2020 Vladimir Kondratyev <wulf@FreeBSD.org>

hid: Import hidmap and bunch of drivers based on it

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