Skip to content

Commit 4b3b860

Browse files
authored
Merge pull request #3861 from cmitu/joy2key-fix5
joy2key: fix generic mappings definition
2 parents 8950772 + 2277b39 commit 4b3b860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scriptmodules/admin/joy2key/joy2key_sdl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ def get_all_ra_config(def_buttons: list) -> list:
196196
generic_dev = InputDev("*", "*")
197197
generic_dev.add_mappings(
198198
{}, # no axis
199-
{0: [(1, 'up'), (8, 'left'), (4, 'down'), (2, 'right')]}, # D-Pad as 'hat0'
200-
{0: 'b', 1: 'a', 3: 'y', 4: 'x'} # 4 buttons
199+
{0: 'b', 1: 'a', 3: 'y', 4: 'x'}, # 4 buttons
200+
{0: [(1, 'up'), (8, 'left'), (4, 'down'), (2, 'right')]} # 1 D-Pad as 'hat0'
201201
)
202202
ra_config_list.append(generic_dev)
203203
js_cfg_dir = CONFIG_DIR + '/all/retroarch-joypads/'

0 commit comments

Comments
 (0)