Skip to content

Commit 029f370

Browse files
authored
Merge pull request #4 from apple1417/master
make willow1 use ue3 controller key names
2 parents 135892d + a407021 commit 029f370

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ a message as the second (both positionally), and show them in a temporary messag
2121
# Changelog
2222

2323
### v1.6
24-
- Linting fixes.
24+
- Made Willow1 use UE3 controller key names.
2525

2626
### v1.5
2727
- Support host-only coop support value.

key_matching.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,11 @@
172172
"Y",
173173
"Z",
174174
"Zero",
175-
*(KNOWN_UE3_CONTROLLER_KEYS if Game.get_tree() == Game.Willow2 else KNOWN_UE4_CONTROLLER_KEYS),
175+
*(
176+
KNOWN_UE3_CONTROLLER_KEYS
177+
if Game.get_tree() in [Game.Willow1, Game.Willow2]
178+
else KNOWN_UE4_CONTROLLER_KEYS
179+
),
176180
}
177181

178182
# endregion

0 commit comments

Comments
 (0)