libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
9.76k stars 1.81k forks source link

Steam Deck HIDAPI controller detected even when running with Steam Input #11215

Closed Akaricchi closed 3 days ago

Akaricchi commented 5 days ago

See taisei-project/taisei#388

I don't own a Steam Deck (sad face) so I can't reproduce the issue myself.

mausimus commented 5 days ago

I can reproduce this on 3.1.3 with my own project on a Steam Deck:

Launching the game through Steam shows one gamepad and works fine:

  1. Steam Deck Controller

Launching standalone outside of Steam, SDL enumerates two gamepads and I get double inputs:

  1. Steam Deck
  2. Steam Virtual Gamepad

Note slightly different names of 1. between scenarios

slouken commented 3 days ago

This is fixed and is queued up for the next SDL2 update. Feel free to try out the latest main/SDL2 code and verify it there.