protonscr

Are Steam Deck touchscreen events converted to Windows events under Proton?

protonopen
ValveSoftware/Proton#8578 · opened 2025-03-31 by vittorioromeo · updated 2025-04-15 · 2 comments · github
Vvittorioromeo 2025-03-31 github

Hello, I am using SDL3 to build a multi-platform game that supports the touchscreen.

When running a Windows build of my game on a Steam Deck under Proton, I receive no SDL_TouchFingerEvent events whatsoever when interacting with the touchscreen. I am listening to SDL_EVENT_FINGER_[DOWN,UP,MOTION] but none of those is ever produced.

Does Proton produce touchscreen events as I expected?

Relevant SDL3 issue: https://github.com/libsdl-org/SDL/issues/12685#issuecomment-2764813753

Ssimifor 2025-03-31 github

@vittorioromeo I'm told that, by default, deck emulates a mouse device, there should be a controller configuration in steamworks to get touch mode

Aalasky17 2025-04-15 github

@vittorioromeo Just in case you didn't find what you are looking for yet - There is some documentation here: https://partner.steamgames.com/doc/steamdeck/faq#5 specifically the question: "Will the touch screen input be treated as a mouse input or does it use touch APIs?". There are several configuration options in steamworks - under Application -> Steam Input tab, you can select multiple config options related to touchinput. The one referenced in the documentation for touch mode is called "Touch API Passthrough". Please let me know if there is any functionality that is still missing :)

Launch options