From bef72ab48859108435ccab734490a687a4c07c97 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 8 Jun 2026 14:44:53 -0700
Subject: [PATCH] Don't treat the IR receiver on the NVIDIA Shield TV as a
joystick
---
src/joystick/SDL_gamepad.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/joystick/SDL_gamepad.c b/src/joystick/SDL_gamepad.c
index 4fd4a4711b69f..e948fb13f1f94 100644
--- a/src/joystick/SDL_gamepad.c
+++ b/src/joystick/SDL_gamepad.c
@@ -203,6 +203,9 @@ static const struct SDL_GamepadBlacklistWords SDL_gamepad_blacklist_words[] = {
// The Google Pixel fingerprint sensor, as well as other fingerprint sensors, reports itself as a joystick
{"uinput-", GAMEPAD_BLACKLIST_BEGIN},
+ // The IR receiver on the NVIDIA Shield TV
+ {"gpio_ir_recv", GAMEPAD_BLACKLIST_BEGIN},
+
{"Synaptics ", GAMEPAD_BLACKLIST_ANYWHERE}, // "Synaptics TM2768-001", "SynPS/2 Synaptics TouchPad"
{"Trackpad", GAMEPAD_BLACKLIST_ANYWHERE},
{"Clickpad", GAMEPAD_BLACKLIST_ANYWHERE},