Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key mapping won't work in gui on Steam deck. #162

Open
yuanye8425 opened this issue Jan 25, 2023 · 3 comments
Open

key mapping won't work in gui on Steam deck. #162

yuanye8425 opened this issue Jan 25, 2023 · 3 comments

Comments

@yuanye8425
Copy link

yuanye8425 commented Jan 25, 2023

Desktop mode. It will recognize the first button I pressed. Then stop recognizing all other buttons. So weird. Flatpak
Version. (I already switched to gamepad mode by holding start button, and with steam launched.)
1674686543030880759829412891973
Like in the photo. Up button was assigned successfully. Then it stops working. Can't be hardware. Built in controller works fine with everything else.

@lonelycare
Copy link

cannot map controller input on my steam deck either, not even the first button press

@lonelycare
Copy link

lonelycare commented Jan 21, 2024

Found a workaround for my use case (2022 Steam Deck using ES-DE)

  1. launch a game with mednafen from EmulationStation DE in game mode
  2. press Alt-Shift-1 to configure buttons (must be in game mode, in desktop mode the start button won't map)
    *mapping the trigger buttons is a bit tricky, since it registers both hold and release, so I had to edit the config file

Here are my settings for mednafen.cfg (for pcengine and sega saturn):

;Input device for Port 1
pce.input.port1 gamepad

;pce, Port 1, Gamepad: DOWN ↓
pce.input.port1.gamepad.down joystick 0x000328de11ff00010008000b00000000 abs_7+

;pce, Port 1, Gamepad: I
pce.input.port1.gamepad.i joystick 0x000328de11ff00010008000b00000000 button_0

;pce, Port 1, Gamepad: II
pce.input.port1.gamepad.ii joystick 0x000328de11ff00010008000b00000000 button_2

;pce, Port 1, Gamepad: III
pce.input.port1.gamepad.iii joystick 0x000328de11ff00010008000b00000000 button_3

;pce, Port 1, Gamepad: IV
pce.input.port1.gamepad.iv joystick 0x000328de11ff00010008000b00000000 button_1

;pce, Port 1, Gamepad: LEFT ←
pce.input.port1.gamepad.left joystick 0x000328de11ff00010008000b00000000 abs_6-

;pce, Port 1, Gamepad: Mode
pce.input.port1.gamepad.mode_select joystick 0x000328de11ff00010008000b00000000 abs_2+

;Default position for switch "Mode".
pce.input.port1.gamepad.mode_select.defpos 2

;pce, Port 1, Gamepad: Rapid I
pce.input.port1.gamepad.rapid_i joystick 0x000328de11ff00010008000b00000000 button_1

;pce, Port 1, Gamepad: Rapid II
pce.input.port1.gamepad.rapid_ii joystick 0x000328de11ff00010008000b00000000 button_3

;pce, Port 1, Gamepad: RIGHT →
pce.input.port1.gamepad.right joystick 0x000328de11ff00010008000b00000000 abs_6+

;pce, Port 1, Gamepad: RUN
pce.input.port1.gamepad.run joystick 0x000328de11ff00010008000b00000000 button_7

;pce, Port 1, Gamepad: SELECT
pce.input.port1.gamepad.select joystick 0x000328de11ff00010008000b00000000 button_6

;pce, Port 1, Gamepad: UP ↑
pce.input.port1.gamepad.up joystick 0x000328de11ff00010008000b00000000 abs_7-

;pce, Port 1, Gamepad: V
pce.input.port1.gamepad.v joystick 0x000328de11ff00010008000b00000000 button_4

;pce, Port 1, Gamepad: VI
pce.input.port1.gamepad.vi joystick 0x000328de11ff00010008000b00000000 button_5

;ss, Virtual Port 1, Digital Gamepad: A
ss.input.port1.gamepad.a joystick 0x000328de11ff00010008000b00000000 button_2

;ss, Virtual Port 1, Digital Gamepad: B
ss.input.port1.gamepad.b joystick 0x000328de11ff00010008000b00000000 button_0

;ss, Virtual Port 1, Digital Gamepad: C
ss.input.port1.gamepad.c joystick 0x000328de11ff00010008000b00000000 button_1

;ss, Virtual Port 1, Digital Gamepad: DOWN ↓
ss.input.port1.gamepad.down joystick 0x000328de11ff00010008000b00000000 abs_7+

;ss, Virtual Port 1, Digital Gamepad: LEFT ←
ss.input.port1.gamepad.left joystick 0x000328de11ff00010008000b00000000 abs_6-

;ss, Virtual Port 1, Digital Gamepad: Left Shoulder
ss.input.port1.gamepad.ls joystick 0x000328de11ff00010008000b00000000 abs_2+

;ss, Virtual Port 1, Digital Gamepad: RIGHT →
ss.input.port1.gamepad.right joystick 0x000328de11ff00010008000b00000000 abs_6+

;ss, Virtual Port 1, Digital Gamepad: Right Shoulder
ss.input.port1.gamepad.rs joystick 0x000328de11ff00010008000b00000000 abs_5+

;ss, Virtual Port 1, Digital Gamepad: START
ss.input.port1.gamepad.start joystick 0x000328de11ff00010008000b00000000 button_7

;ss, Virtual Port 1, Digital Gamepad: UP ↑
ss.input.port1.gamepad.up joystick 0x000328de11ff00010008000b00000000 abs_7-

;ss, Virtual Port 1, Digital Gamepad: X
ss.input.port1.gamepad.x joystick 0x000328de11ff00010008000b00000000 button_4

;ss, Virtual Port 1, Digital Gamepad: Y
ss.input.port1.gamepad.y joystick 0x000328de11ff00010008000b00000000 button_3

;ss, Virtual Port 1, Digital Gamepad: Z
ss.input.port1.gamepad.z joystick 0x000328de11ff00010008000b00000000 button_5

@SkywardShadow
Copy link

I also cannot map any controls for this on the Steam Deck.

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

No branches or pull requests

3 participants