Ozkan Sezer
|
20dfb7df2c
hidapi/linux/hid.c: define BUS_SPI if not already defined.
|
2 years ago |
Sam Lantinga
|
0ffeca8a1c
Added SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS to control whether SDL_hid_enumerate() enumerates all HID devices or only controllers.
|
2 years ago |
Sam Lantinga
|
211054d9db
hidapi: improved error handling
|
2 years ago |
Sam Lantinga
|
bc28790817
Make sure hidapi error handling is thread-safe
|
2 years ago |
Sam Lantinga
|
d51f84a2e1
Revert "Fixed double-free during multi-threaded hidapi access"
|
2 years ago |
Sam Lantinga
|
2b386b6c80
Fixed double-free during multi-threaded hidapi access
|
2 years ago |
Sam Lantinga
|
007c36e513
Added SDL_HINT_HIDAPI_IGNORE_DEVICES to specify devices that should be ignored in SDL_hid_enumerate()
|
2 years ago |
Sam Lantinga
|
e6834a1535
hidapi/linux: fixed crash if uevent info isn't available
|
2 years ago |
Sam Lantinga
|
b35d813ebb
hidapi/linux: retry hid_send_feature_report() if the ioctl() fails with EPIPE (e.g. the device stalled)
|
2 years ago |
Sam Lantinga
|
7c65c9d411
hidapi/linux: fixed doubled and missing report ID for BLE devices
|
2 years ago |
Sam Lantinga
|
2004304348
Directly include hidapi.h bundled with the hidapi source code
|
2 years ago |
Sam Lantinga
|
3b7b8f3c09
Updated hidapi to 0.14.0 release
|
2 years ago |
Sam Lantinga
|
ba87b96cea
Fixed signed/unsigned warnings
|
3 years ago |
Sam Lantinga
|
c5790359fd
Added precompiled header support for Visual Studio and Xcode (#6710)
|
3 years ago |
Sam Lantinga
|
0a48abc860
Switch header convention from `#include "SDL.h"` to `#include <SDL3/SDLh>`
|
3 years ago |
Sylvain
|
ddad901c0d
Remove unneeded semicolon
|
3 years ago |
Sam Lantinga
|
15a9890919
Added SDL_HINT_HIDAPI_IGNORE_DEVICES to specify devices that should be ignored in SDL_hid_enumerate()
|
3 years ago |
Sam Lantinga
|
a547c185ce
Fixed crash if uevent info isn't available
|
3 years ago |
Ozkan Sezer
|
d2cf191936
hidapi, linux: merged a minor warning + code style fix from mainstream.
|
4 years ago |
Sam Lantinga
|
911d91c55c
Retry hid_send_feature_report() if the ioctl() fails with EPIPE (e.g. the device stalled)
|
4 years ago |
Sam Lantinga
|
5b646cd19e
Build hidapi code into SDL as a new public API
|
4 years ago |
Sam Lantinga
|
db18764e41
Use correct relative include path
|
4 years ago |
Sam Lantinga
|
bf97c5a22f
Make sure SDL file descriptors don't leak into child processes
|
4 years ago |
Sam Lantinga
|
7d66fa209a
Fixed double-copy of the report in BlueZ >= 5.56
|
4 years ago |
Sam Lantinga
|
d4954eb090
Removed debug code
|
5 years ago |
Sam Lantinga
|
6b56b98fc3
Fixed is_BLE() return value
|
5 years ago |
Sam Lantinga
|
65c9f1d2cc
Fixed upstream bug: FD 0 is a valid file descriptor
|
5 years ago |
Sam Lantinga
|
30371f2d4d
Fixed doubled report ID for Bluetooth Classic devices on Linux
|
5 years ago |
Sam Lantinga
|
494af7a6e7
Backed out change to dynamically load udev - it's already happening in SDL_hidapi.c
|
6 years ago |
Sam Lantinga
|
308e7f2fec
Linux hidapi code dynamically loads udev
|
6 years ago |