SDL/src
Sam Lantinga feb7178e66 hidapi/mac: Only enumerate IOHIDDevices that are likely to be joysticks
Touching HID devices with keyboard usages will trigger a keyboard capture
permission prompt on macOS 11+. See #4887

Like the IOKit joystick backend, we accept HID devices that have joystick,
gamepad, or multi-axis controller usages. We also allow the Valve VID for
the Steam Controller, just like the Windows HIDAPI implementation does.

Signed-off-by: Cameron Gutman <aicommander@gmail.com>
Signed-off-by: Sam Lantinga <slouken@libsdl.org>
2023-05-26 08:19:04 -07:00
..
atomic
audio Fixed build warning on Xcode 14.3 2023-05-26 08:19:04 -07:00
core
cpuinfo
dynapi Update the SDL HIDAPI API to match upstream hidapi 0.14.0 2023-05-26 08:19:04 -07:00
events
file
filesystem
haptic
hidapi hidapi/mac: Only enumerate IOHIDDevices that are likely to be joysticks 2023-05-26 08:19:04 -07:00
joystick Use the bus in the HIDAPI joystick guid now that it's available 2023-05-26 08:19:04 -07:00
libm
loadso
locale
main/winrt
misc
power
render
sensor
stdlib
test
thread
timer
video Fixed build warning on Xcode 14.3 2023-05-26 08:19:04 -07:00
SDL.c
SDL_assert.c
SDL_assert_c.h
SDL_dataqueue.c
SDL_dataqueue.h
SDL_error.c
SDL_error_c.h
SDL_guid.c
SDL_hints.c
SDL_hints_c.h
SDL_internal.h
SDL_list.c
SDL_list.h
SDL_log.c
SDL_log_c.h
SDL_utils.c
SDL_utils_c.h