From f1a3a18c1e9790341de5fb65f79f358e64d8af65 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 8 Nov 2024 15:23:31 -0800
Subject: [PATCH] Removed SDL_HINT_ENABLE_STEAM_CONTROLLERS
This was only respected on Steam Link hardware, which now uses SDL3 where it has been replaced by SDL_HINT_JOYSTICK_HIDAPI_STEAM.
---
include/SDL_hints.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/include/SDL_hints.h b/include/SDL_hints.h
index aa015e64d486b..ad686f22d29cf 100644
--- a/include/SDL_hints.h
+++ b/include/SDL_hints.h
@@ -427,20 +427,6 @@ extern "C" {
*/
#define SDL_HINT_ENABLE_SCREEN_KEYBOARD "SDL_ENABLE_SCREEN_KEYBOARD"
-/**
- * A variable that controls whether Steam Controllers should be exposed using
- * the SDL joystick and game controller APIs
- *
- * The variable can be set to the following values:
- *
- * - "0": Do not scan for Steam Controllers
- * - "1": Scan for Steam Controllers (the default)
- *
- * The default value is "1". This hint must be set before initializing the
- * joystick subsystem.
- */
-#define SDL_HINT_ENABLE_STEAM_CONTROLLERS "SDL_ENABLE_STEAM_CONTROLLERS"
-
/**
* A variable controlling verbosity of the logging of SDL events pushed onto
* the internal queue.