The Google Pixel fingerprint sensor also shows up on Linux when running on the phone

This commit is contained in:
Sam Lantinga 2022-05-31 11:11:19 -07:00
parent 3c3c02518c
commit 7fa46ec40b
1 changed files with 0 additions and 2 deletions

View File

@ -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) {