mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-25 14:09:10 +00:00
Added SDL_HIDAPI_DISABLED so it can be disabled like other SDL subsystems
This commit is contained in:
parent
2a6feb5011
commit
b8327a4a48
11 changed files with 23 additions and 13 deletions
|
@ -22,7 +22,7 @@
|
|||
//
|
||||
// This layer glues the hidapi API to Android's USB and BLE stack.
|
||||
|
||||
#ifndef SDL_DISABLE_HIDAPI
|
||||
#if !SDL_HIDAPI_DISABLED
|
||||
|
||||
#define hid_init PLATFORM_hid_init
|
||||
#define hid_exit PLATFORM_hid_exit
|
||||
|
@ -1286,4 +1286,4 @@ int hid_exit(void)
|
|||
|
||||
}
|
||||
|
||||
#endif /* SDL_DISABLE_HIDAPI */
|
||||
#endif /* SDL_HIDAPI_DISABLED */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue