fa62125e05
This patch removes modifiers when processing key events for the particular modifier key. For example, previously a Shift keypress would register as a Shift + Shift modifier event. This would cause issues when a modifier key as the action key in the input map, because unpresses of the modifier key don't match as matching inputs for that action. E.g. if Shift is used as an action, the stored action event is Shift + Shift modifier (as indicated in the editor as "Shift + Shift". The unpress event does not have the Shift modifier set, so the event of unpressing Shift + no modifier doesn't match the action which has the modifier set. This patch removes the shift modifier on just pressing the Shift key down, so the action event is registered as just Shift with no modifier (as indicated in the editor as "Shift"), which matches the unpress event. |
||
---|---|---|
.. | ||
export | ||
context_gl_win.cpp | ||
context_gl_win.h | ||
ctxgl_procaddr.cpp | ||
ctxgl_procaddr.h | ||
detect.py | ||
godot_win.cpp | ||
key_mapping_win.cpp | ||
key_mapping_win.h | ||
lang_table.h | ||
logo.png | ||
os_windows.cpp | ||
os_windows.h | ||
packet_peer_udp_winsock.cpp | ||
packet_peer_udp_winsock.h | ||
platform_config.h | ||
SCsub | ||
stream_peer_winsock.cpp | ||
stream_peer_winsock.h | ||
tcp_server_winsock.cpp | ||
tcp_server_winsock.h |