introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.
authorthfr <thfr@openbsd.org>
Sat, 23 Jan 2021 05:08:33 +0000 (05:08 +0000)
committerthfr <thfr@openbsd.org>
Sat, 23 Jan 2021 05:08:33 +0000 (05:08 +0000)
commit1d44892edf51d2b78a17901b1aa49c83bd9a69e0
treec61093a1fb091ca578a3e5a590de82014a7af6ff
parentf273e38053537a0a735043850b7fa4caa7613f0b
introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.
This includes ujoy_hid_is_collection() to work around limitations of
hid_is_collection() until this can be combined without fallout.

input, testing with 8bitdo controller, and ok brynet@
PS4 controller testing, fix for hid_is_collection, and ok mglocker@
51 files changed:
etc/MAKEDEV.common
etc/etc.alpha/MAKEDEV.md
etc/etc.amd64/MAKEDEV.md
etc/etc.arm64/MAKEDEV.md
etc/etc.armv7/MAKEDEV.md
etc/etc.hppa/MAKEDEV.md
etc/etc.i386/MAKEDEV.md
etc/etc.landisk/MAKEDEV.md
etc/etc.loongson/MAKEDEV.md
etc/etc.macppc/MAKEDEV.md
etc/etc.octeon/MAKEDEV.md
etc/etc.powerpc64/MAKEDEV.md
etc/etc.sgi/MAKEDEV.md
etc/etc.sparc64/MAKEDEV.md
share/man/man4/Makefile
share/man/man4/uhidev.4
share/man/man4/ujoy.4 [new file with mode: 0644]
share/man/man4/usb.4
sys/arch/alpha/alpha/conf.c
sys/arch/alpha/conf/GENERIC
sys/arch/amd64/amd64/conf.c
sys/arch/amd64/conf/GENERIC
sys/arch/arm/arm/conf.c
sys/arch/arm64/arm64/conf.c
sys/arch/arm64/conf/GENERIC
sys/arch/armv7/conf/GENERIC
sys/arch/hppa/conf/GENERIC
sys/arch/hppa/hppa/conf.c
sys/arch/i386/conf/GENERIC
sys/arch/i386/i386/conf.c
sys/arch/landisk/conf/GENERIC
sys/arch/landisk/landisk/conf.c
sys/arch/loongson/conf/GENERIC
sys/arch/loongson/loongson/conf.c
sys/arch/macppc/conf/GENERIC
sys/arch/macppc/macppc/conf.c
sys/arch/octeon/conf/GENERIC
sys/arch/octeon/octeon/conf.c
sys/arch/powerpc64/conf/GENERIC
sys/arch/powerpc64/powerpc64/conf.c
sys/arch/sgi/conf/GENERIC-IP27
sys/arch/sgi/conf/GENERIC-IP30
sys/arch/sgi/conf/GENERIC-IP32
sys/arch/sgi/sgi/conf.c
sys/arch/sparc64/conf/GENERIC
sys/arch/sparc64/sparc64/conf.c
sys/dev/usb/files.usb
sys/dev/usb/uhid.c
sys/dev/usb/uhid.h
sys/dev/usb/ujoy.c [new file with mode: 0644]
sys/sys/conf.h