Code: Select all
# These keys control skipping.
skip = [ 'K_LCTRL', 'K_RCTRL' ],
stop_skipping = [ ],
toggle_skip = [ 'K_TAB' ],
Problem / Bug:
If I add the following:
Code: Select all
init python:
config.pad_bindings["pad_righttrigger_pos"] = ['skip']
In other words, it behaves like a 'toggle_skip', not like 'skip' which is what would be expected.
It seems like there is code beyond what we can control with config.keymap / config.pad_bindings where the engine internally has hardcoded functionality for LCTRL that cannot be remapped to other keys, and treats the other keys like TAB.
I hope this can be fixed in an upcoming patch to facilitate proper and professional controller support.
Thank you in advance for your attention.
Side note: This bug also occurs when removing 'd' and 'D' keys from the keymap and setting them to anything the right arrow key is supposed to do (focus_right, input_right, etc.). The 'd' key doesn't behave like the right_arrow in the Settings menu and possibly other menus.