Skip to content

Conversation

@GloriousEggroll
Copy link

@GloriousEggroll GloriousEggroll commented Jan 8, 2026

this allows proper LeftPad and RightPad touchpad definitions for steam deck and enables touchpad for deck and deck-uhid.

this is only the leftpad/rightpad profile support side.

requires ShadowBlip/InputPlumber#493 in inputplumber for steamos l/r pad input mapping

partially fixes #476, needs gui frontend extension.

this allows proper LeftPad and RightPad touchpad definitions for steam deck and enables touchpad for deck and deck-uhid.

fixes ShadowBlip#476
gyro_events.append(capability)
continue
if capability.begins_with("TouchPad:"):
if capability.begins_with("Touchpad:") or capability.begins_with("TouchPad:"):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof, we should fix that in InputPlumber...

var target_devices := PackedStringArray([target_gamepad, "keyboard", "mouse"])
match target_gamepad:
"xb360", "xbox-series", "xbox-elite", "gamepad", "hori-steam":
"xb360", "xbox-series", "xbox-elite", "gamepad", "hori-steam", "deck", "deck-uhid":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, the deck's build in touchpads should work as touchpads within steam and on the desktop when steam is running. What problem is this solving?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats the problem. if we just pass through the touchpad motions we get both sides acting as touchpads instead of how they are supposed to behave in the inputplumber driver, BUT since touchpad target is never passed through, they do nothing:

Expected from steam:
When inputplumber is running and deck or deck-uhid is NOT being used, we get SteamOS behavior. which is leftpad dpad right pad nothing.

Current problem:
When inputplumber is running and deck or deck-uhid IS being used, we're currently just passing the touchpad
motions through, which means both of them act like mouse touchpads, HOWEVER because ogui doesnt pass touchpad as a target device, neither touchpad works.

This fix:
When inputplumber is running and deck or deck-uhid IS being used, we pass both devices through as touchpad motion, and use our driver to map the left as a dpad, this is enhanced better than SteamOS because we also get right pad as a touchpad instead of nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Steamdeck Touchpads not available in OGUI

2 participants