Skip to content

Commit

Permalink
Merge pull request #377 from agateau/configurable-screenshot-key
Browse files Browse the repository at this point in the history
Make screenshot key configurable, and set it to F9 by default
  • Loading branch information
agateau authored Aug 7, 2023
2 parents 3ca30eb + 2d7dfd4 commit 9dfaa10
Show file tree
Hide file tree
Showing 21 changed files with 326 additions and 246 deletions.
3 changes: 3 additions & 0 deletions .changes/unreleased/Changed-20230807-085505.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kind: Changed
body: The screenshot key is now F9, not S, and is configurable. Not using S makes it possible to configure the game to use WASD keys.
time: 2023-08-07T08:55:05.481595493+02:00
36 changes: 20 additions & 16 deletions android/assets/po/bn.po
Original file line number Diff line number Diff line change
Expand Up @@ -398,37 +398,37 @@ msgid "Gamepad config"
msgstr "গেমপ্যাড পছন্দসমূহ"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Game"
msgstr "গেমপ্যাড"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Menu"
msgstr "তালিকা:"

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
msgid "Activate"
msgstr ""

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:109
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
#, fuzzy
msgid "Trigger"
msgstr "ঘোড়া:"

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:118
msgid "Back"
msgstr ""

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:105
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#, fuzzy
msgid "Brake"
msgstr "ব্রেক:"
Expand Down Expand Up @@ -900,31 +900,35 @@ msgstr ""
"প্রতিযোগিতা\n"
"সমাপ্ত!"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#, fuzzy
msgid "Steer left"
msgstr "বামে যাও:"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
#, fuzzy
msgid "Steer right"
msgstr "ডানে যাও:"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:111
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
msgid "Screenshot"
msgstr ""

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
msgid "Up"
msgstr ""

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
msgid "Down"
msgstr ""

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
msgid "Left"
msgstr ""

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
msgid "Right"
msgstr ""

Expand Down
36 changes: 20 additions & 16 deletions android/assets/po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -393,36 +393,36 @@ msgid "Gamepad config"
msgstr "Gamepad Konfiguration"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Game"
msgstr "Gamepad"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Menu"
msgstr "Menü:"

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
msgid "Activate"
msgstr "Auslösen"

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:109
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
msgid "Trigger"
msgstr "Auslöser"

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:118
msgid "Back"
msgstr "Zurück"

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:105
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
msgid "Brake"
msgstr "Bremsen"

Expand Down Expand Up @@ -887,29 +887,33 @@ msgstr "Neues Fahrzeug freigeschaltet!"
msgid "New championship unlocked!"
msgstr "Neue Meisterschaft freigeschaltet!"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
msgid "Steer left"
msgstr "Links lenken"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
msgid "Steer right"
msgstr "Rechts lenken"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:111
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
msgid "Screenshot"
msgstr ""

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
msgid "Up"
msgstr "Rauf"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
msgid "Down"
msgstr "Runter"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
msgid "Left"
msgstr "Links"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
msgid "Right"
msgstr "Rechts"

Expand Down
36 changes: 20 additions & 16 deletions android/assets/po/eo.po
Original file line number Diff line number Diff line change
Expand Up @@ -398,36 +398,36 @@ msgid "Gamepad config"
msgstr "Ludregila agordaro"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Game"
msgstr "Ludregilo"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Menu"
msgstr "Menuo:"

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
msgid "Activate"
msgstr "Aktivigi"

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:109
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
msgid "Trigger"
msgstr "Lanĉi"

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:118
msgid "Back"
msgstr "Reen"

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:105
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
msgid "Brake"
msgstr "Bremsi"

Expand Down Expand Up @@ -891,29 +891,33 @@ msgstr "Nova veturilo malŝlosita!"
msgid "New championship unlocked!"
msgstr "Nova ĉampionado malŝlosita!"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
msgid "Steer left"
msgstr "Stiri maldekstren"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
msgid "Steer right"
msgstr "Stiri dekstren"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:111
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
msgid "Screenshot"
msgstr ""

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
msgid "Up"
msgstr "Supren"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
msgid "Down"
msgstr "Malsupren"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
msgid "Left"
msgstr "Maldekstren"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
msgid "Right"
msgstr "Dekstren"

Expand Down
36 changes: 20 additions & 16 deletions android/assets/po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -399,36 +399,36 @@ msgid "Gamepad config"
msgstr "Configuración del mando"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Game"
msgstr "Mando"

#: android/assets/screens/gamepadconfig.gdxui:11
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#, fuzzy
msgid "Menu"
msgstr "Menú:"

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
msgid "Activate"
msgstr "Activar"

#: android/assets/screens/gamepadconfig.gdxui:12
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:109
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:117
msgid "Trigger"
msgstr "Activar"

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:118
msgid "Back"
msgstr "Regreso"

#: android/assets/screens/gamepadconfig.gdxui:13
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:105
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
msgid "Brake"
msgstr "Frenar"

Expand Down Expand Up @@ -894,29 +894,33 @@ msgstr "¡Nuevo vehículo desbloqueado!"
msgid "New championship unlocked!"
msgstr "¡Nuevo campeonato desbloqueado!"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:106
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
msgid "Steer left"
msgstr "Girar a la izquierda"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:107
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:108
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
msgid "Steer right"
msgstr "Girar a la derecha"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:111
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:110
msgid "Screenshot"
msgstr ""

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
msgid "Up"
msgstr "Alto"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:112
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
msgid "Down"
msgstr "Bajo"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:113
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:115
msgid "Left"
msgstr "Izquierda"

#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:114
#: core/src/com/agateau/pixelwheels/screens/config/KeyboardConfigScreen.java:116
msgid "Right"
msgstr "Derecha"

Expand Down
Loading

0 comments on commit 9dfaa10

Please sign in to comment.