aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2017-02-05 20:20:38 -0800
committerGarrett Brown <themagnificentmrb@gmail.com>2017-02-10 16:54:21 -0800
commitc80e26660112e0abf737eaa960d1ab5b26c41c51 (patch)
treea531d6b24bdd5706771be604854d5893751f2a14 /addons
parent4cbd23244e09313e4cc68452ed00c7730c1cc4e7 (diff)
Fix errors from axes discovered during mapping
On some platforms, such as OSX, an axis is not discovered until it is first moved. This causes problems with button mapping because we can't detect the axis's center by the initial position. To fix this, the user is shown a dialog that prompts them to press all analog buttons, guaranteeing they'll have an initial value next time.
Diffstat (limited to 'addons')
-rw-r--r--addons/resource.language.en_gb/resources/strings.po15
1 files changed, 12 insertions, 3 deletions
diff --git a/addons/resource.language.en_gb/resources/strings.po b/addons/resource.language.en_gb/resources/strings.po
index 1b2076f418..69be0a2db3 100644
--- a/addons/resource.language.en_gb/resources/strings.po
+++ b/addons/resource.language.en_gb/resources/strings.po
@@ -16465,16 +16465,19 @@ msgstr ""
#empty string with id 35013
#. Help text of the button to fix the bug where buttons are skipped in the controller dialog. %s - list of disabled buttons and axes
+#: xbmc/games/controllers/dialogs/GUIDialogButtonCapture.cpp
msgctxt "#35014"
msgid "Some controllers have buttons and axes that interfere with mapping. Press these now to disable them:[CR]%s"
msgstr ""
-#. Name of a controller button, e.g. Button 1. %d - button index
+#. Name of a controller button, e.g. "Button 1". %d - button index
+#: xbmc/input/joysticks/JoystickTranslator.cpp
msgctxt "#35015"
msgid "Button %d"
msgstr ""
-#. Name of a controller axis, e.g. Axis 2. %d - axis index
+#. Name of a controller axis, e.g. "Axis 2". %d - axis index
+#: xbmc/input/joysticks/JoystickTranslator.cpp
msgctxt "#35016"
msgid "Axis %d"
msgstr ""
@@ -16498,7 +16501,13 @@ msgctxt "#35019"
msgid "Ignore input"
msgstr ""
-#empty strings from id 35020 to 35048
+#. Help text of the dialog to detect analog buttons on controllers. %s - list of detected axes
+#: xbmc/games/controllers/dialogs/GUIDialogAxisDetection.cpp
+msgctxt "#35020"
+msgid "Press all analog buttons now to detect them:[CR][CR]%s"
+msgstr ""
+
+#empty strings from id 35021 to 35048
#. Name of game add-ons category
#: xbmc/addons/Addon.cpp