From c5d2ad99d2b3730f1b79fd549ac46a310bdcb851 Mon Sep 17 00:00:00 2001 From: R Date: Thu, 20 Apr 2023 00:49:50 +0100 Subject: 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. --- Source/Core/InputCommon/ControllerInterface/ControllerInterface.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.h') 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 { -- cgit v1.2.3