Update src/joystick/hidapi/SDL_hidapi_steam_triton.c

This commit is contained in:
Sam Lantinga 2026-05-18 06:52:56 -07:00 committed by GitHub
parent c508e91831
commit c9bb95c76b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -263,7 +263,7 @@ static void HIDAPI_DriverSteamTriton_HandleState(SDL_HIDAPI_Device *device,
ctx->left_touch_x,
ctx->left_touch_y,
pTritonReport->sPressureLeft / 32768.0f);
ctx->left_touch_down=downLeft;
ctx->left_touch_down = left_touch_down;
}
if (downRight || ctx->right_touch_down){
if (downRight){