/dev/input/event*
input event device (evdev) node
Generic hid gamepad, joystick, and controller evdev driver
device hgame device hid device hidbus device hidmap device evdev
In loader.conf(5): hw.hid.hgame.debug hgame_load="YES"
In loader.conf(5) or sysctl.conf(5): dev.hgame.X.debug
The hgame driver supports generic game controllers that attach to the HID transport backend, and presents them to applications over the evdev interface.
If the appropriate hardware is detected, the driver will be loaded automatically by devmatch(8). To load the driver manually at boot time, set the hgame_load variable to YES at the loader(8) prompt, or add it to loader.conf(5).
To give user applications access to the game controllers, allow user access to the /dev/input/event* nodes with inclusion of user in the games group.
The hgame driver supports HID gamepads, joysticks, and controllers such as:
8bitdo USB Wireless Adapter 2
The following variable is available as both sysctl(8) variable and loader(8) tunable:
Debug output level, where 0 is debugging disabled and larger values increase debug message verbosity. Default is 0.
Its default value is set with loader(8) tunable:
/dev/input/event*
input event device (evdev) node
15 releases since FreeBSD 13.0-RELEASE; the text changed 6 times.