diff options
| author | R <rqou@berkeley.edu> | 2023-04-20 00:49:50 +0100 |
|---|---|---|
| committer | R <rqou@berkeley.edu> | 2023-05-10 13:28:32 +0100 |
| commit | c5d2ad99d2b3730f1b79fd549ac46a310bdcb851 (patch) | |
| tree | c7d5b9d772c22fa6c7ec7b16757d044254a4b1b6 /Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | |
| parent | 1a2dcc53f2d7a85b0d49e9d2b12d819a2f57b835 (diff) | |
Support Steam Deck controls directly through hidraw
This reads Steam Deck controls bypassing Steam Input. This allows for access to
motion controls as well as independent access to thumb sticks, trackpads, and
back grip buttons.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h index 59909aeec8..6dc0afafe8 100644 --- a/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h +++ b/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h @@ -34,6 +34,9 @@ #if defined(HAVE_SDL2) #define CIFACE_USE_SDL #endif +#if defined(HAVE_HIDAPI) +#define CIFACE_USE_STEAMDECK +#endif namespace ciface { |
