Skip to content

Commit ecfb26c

Browse files
committed
Fix keyboard remap still using implicit Godot keys
1 parent 84b7706 commit ecfb26c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/Config.gd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ func handle_key_remaps():
112112
if ev is InputEventKey:
113113
InputMap.action_erase_event(key, ev)
114114
if key in _implicit_mappings:
115-
InputMap.action_erase_event(_implicit_mappings[key], ev)
115+
for impl_ev in InputMap.action_get_events(_implicit_mappings[key]):
116+
InputMap.action_erase_event(_implicit_mappings[key], impl_ev)
116117
for code in keys[key]:
117118
handle_key_remap(key, KEY_NONE, code)
118119
if _implicit_mappings.has(key):

0 commit comments

Comments
 (0)