ddnet/scripts
Robert Müller 1eaa88b236 Handle ordinal joystick hat keys as combined cardinal hat keys
Instead of considering diagonal hat inputs (e.g. up-left) as separate keys, consider them as inputs for both cardinal directions (e.g. up and left) at the same time.

This improves input with gamecontrollers that map the D-Pad to a joystick hat, as it was impossible with the previous handling to move with hat-left/right and jump with hat-up at the same time.

This means that diagonal hat buttons can no longer be used in binds, because they are no longer considered distinct buttons. It's unlikely that they would ever be useful in this game, as real joystick POV hats would not be used anyway.

Closes #6120.
2022-12-17 17:18:01 +01:00
..
android Fix misspellings 2022-10-25 13:51:56 -03:00
compile_libs Fix misspellings 2022-10-25 13:51:56 -03:00
languages Add Localizable hint 2022-12-13 17:53:32 +01:00
check_dilate.sh Run shellcheck over check_dilate.sh 2020-12-08 15:02:16 +01:00
check_header_guards.py Add support for Rust code in DDNet 2022-10-19 23:46:06 +02:00
check_identifiers.py Update scripts/check_identifiers.py 2022-07-27 09:37:24 +02:00
checksum.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
darwin_strip_rpath.py Support libfat directory for macOS, use arm64 libs (fixes #3250) 2021-12-20 00:17:38 +01:00
extract_identifiers.py Fix rest of pylint manually 2022-07-27 09:37:25 +02:00
fix_style.py Add support for Rust code in DDNet 2022-10-19 23:46:06 +02:00
gen_keys.py Handle ordinal joystick hat keys as combined cardinal hat keys 2022-12-17 17:18:01 +01:00
generate_fake_curl.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
generate_unicode_confusables_data.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
generate_unicode_tolower.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
git_revision.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
hash_passwords.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
import_file_score.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
integration_test.sh Change log format 2022-09-14 19:37:55 +02:00
move_sqlite.py Improve move_sqlite script to adapt timezone 2022-12-14 18:35:01 +01:00
parse_drmingw.sh Fix parse_drmingw.sh not finding module offset on Linux systems 2022-10-18 18:36:57 +02:00
SDL_scancode.h Merge swick's SDL2 branch 2016-04-29 21:55:48 +02:00
tw_api.py Run flynt -a 2022-07-27 09:37:24 +02:00
unicode.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00
wordlist.py [WIP] Require Python 3.6 (f-strings) and fix pylints 2022-07-27 09:37:24 +02:00