diff options
author | Markus Koch <markus@notsyncing.net> | 2020-11-07 17:45:32 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2020-11-09 11:58:50 +0100 |
commit | e1142ee57f2d7b59a86f6d0d72ae043844bc3121 (patch) | |
tree | 9b63cede37948a78d05e7595ee5976aab0c63a41 /src/util/enriched_string.cpp | |
parent | 7589cbe086a5558eea018e1e3d25e388b26d51e8 (diff) | |
download | minetest-e1142ee57f2d7b59a86f6d0d72ae043844bc3121.tar.gz minetest-e1142ee57f2d7b59a86f6d0d72ae043844bc3121.tar.bz2 minetest-e1142ee57f2d7b59a86f6d0d72ae043844bc3121.zip |
Joystick: Remap joystick-specific KeyTypes to generic ones
According to the following table:
* MOUSE_L -> DIG
* MOUSE_R -> PLACE
* SCROLL_UP -> HOTBAR_NEXT
* SCROLL_DOWN -> HOTBAR_PREV
This commit entirely removes the special KeyTypes used for joysticks.
Support for the MOUSE KeyTypes had already been removed in the main
game code without adapting the joystick code, breaking joystick
input. This commit restores joystick functionality.
Diffstat (limited to 'src/util/enriched_string.cpp')
0 files changed, 0 insertions, 0 deletions