From 7fa46ec40b8b6a58f174f0992ecead0a1ab23817 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 31 May 2022 11:11:19 -0700 Subject: [PATCH] The Google Pixel fingerprint sensor also shows up on Linux when running on the phone --- src/joystick/SDL_gamecontroller.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/joystick/SDL_gamecontroller.c b/src/joystick/SDL_gamecontroller.c index 4e573f55b..49053c665 100644 --- a/src/joystick/SDL_gamecontroller.c +++ b/src/joystick/SDL_gamecontroller.c @@ -1840,12 +1840,10 @@ SDL_bool SDL_ShouldIgnoreGameController(const char *name, SDL_JoystickGUID guid) } #endif -#if defined(__ANDROID__) if (name && SDL_strcmp(name, "uinput-fpc") == 0) { /* The Google Pixel fingerprint sensor reports itself as a joystick */ return SDL_TRUE; } -#endif if (SDL_allowed_controllers.num_entries == 0 && SDL_ignored_controllers.num_entries == 0) {