summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-src_joystick_bsd_SDL__sysjoystick.c
AgeCommit message (Collapse)AuthorFilesLines
2017-12-25Include dev/hid/hid.h for recent NetBSD-current to fix buildryoon1-6/+19
2015-03-03Read from uhid device and insert events until there are no more eventsjmcneill1-5/+121
to consume. Matches SDL2 BSD joystick driver behavior, and makes things like "iBUFFALO Classic USB Gamepad" work with Retroarch.
2015-02-25flush any pending events from the joystick device when opening on netbsd, ↵jmcneill1-2/+12
bump PKGREVISION
2015-02-06Instead of naming USB joysticks by device name ("/dev/uhid3"), try to givejmcneill1-2/+41
it a more helpful name ("Logitech Cordless RumblePad 2 @ /dev/uhid3")
2015-02-04Improvements in BSD USB joystick detection:jmcneill1-1/+22
- Scan uhid0 through uhid63, instead of uhid0 through uhid3. - If a uhid reports no usable inputs, skip it. This way your keyboard and mouse don't show up as (unusable) joysticks.
2014-03-24Fix capitalization and make it build on FreeBSD 9-10.asau1-0/+18