Import some SDL code and use it for controller classification

Imported as of 4aee17b039981f2bb79892f3d3e3e17bd6b66530
This commit is contained in:
Cameron Gutman committed 2023-07-02 20:20:55 -05:00
1 parent 5f4496036c
commit 4e1b778f31
9 files changed
+1035 -1

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#pragma once
typedef int SDL_bool;
#define SDL_TRUE 1
#define SDL_FALSE 0
typedef unsigned short Uint16;
SDL_bool SDL_IsJoystickXboxOneElite(Uint16 vendor_id, Uint16 product_id);
SDL_bool SDL_IsJoystickXboxSeriesX(Uint16 vendor_id, Uint16 product_id);
SDL_bool SDL_IsJoystickDualSenseEdge(Uint16 vendor_id, Uint16 product_id);