joy.cpl: Added force feedback direction control.
diff --git a/dlls/joy.cpl/joy.h b/dlls/joy.cpl/joy.h
index 13efe1b..e40a71b 100644
--- a/dlls/joy.cpl/joy.h
+++ b/dlls/joy.cpl/joy.h
@@ -59,6 +59,7 @@
int chosen_joystick;
HWND buttons[TEST_MAX_BUTTONS];
HWND axes[TEST_MAX_AXES];
+ HWND ff_axis;
BOOL stop;
};
@@ -90,6 +91,7 @@
#define IDC_FFSELECTCOMBO 2009
#define IDC_FFEFFECTLIST 2010
+#define IDC_FFAXIS 2011
/* constants */
#define TEST_POLL_TIME 100
@@ -110,6 +112,11 @@
#define TEST_AXIS_MIN -40
#define TEST_AXIS_MAX 40
+#define FF_AXIS_X 373
+#define FF_AXIS_Y 98
+#define FF_AXIS_SIZE_X 5
+#define FF_AXIS_SIZE_Y 5
+
#define FF_PLAY_TIME 2*DI_SECONDS
#define FF_PERIOD_TIME FF_PLAY_TIME/4
diff --git a/dlls/joy.cpl/joy.rc b/dlls/joy.cpl/joy.rc
index 0eb4378..708518b 100644
--- a/dlls/joy.cpl/joy.rc
+++ b/dlls/joy.cpl/joy.rc
@@ -62,7 +62,9 @@
COMBOBOX IDC_FFSELECTCOMBO, 5, 5, 100, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
LTEXT "Available Effects", IDC_STATIC, 10, 30, 100, 10
LISTBOX IDC_FFEFFECTLIST, 10, 40, 180, 70, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY
- LTEXT "Press any button in the controller to activate the chosen effect.", IDC_STATIC, 10, 110, 210, 25
+ LTEXT "Press any button in the controller to activate the chosen effect. The effect direction can be changed with the controller axis.",
+ IDC_STATIC, 10, 110, 210, 25
+ GROUPBOX "Direction", IDC_STATIC, 220, 30, 60, 60
}
#define WINE_FILENAME_STR "joy.cpl"
diff --git a/dlls/joy.cpl/main.c b/dlls/joy.cpl/main.c
index 5c6ccb2..c8b4a27 100644
--- a/dlls/joy.cpl/main.c
+++ b/dlls/joy.cpl/main.c
@@ -67,6 +67,7 @@
{
struct JoystickData *data = context;
struct Joystick *joystick;
+ DIPROPRANGE proprange;
DIDEVCAPS caps;
if (data->joysticks == NULL)
@@ -92,6 +93,16 @@
if (joystick->forcefeedback) data->num_ff++;
+ /* Set axis range to ease the GUI visualization */
+ proprange.diph.dwSize = sizeof(DIPROPRANGE);
+ proprange.diph.dwHeaderSize = sizeof(DIPROPHEADER);
+ proprange.diph.dwHow = DIPH_DEVICE;
+ proprange.diph.dwObj = 0;
+ proprange.lMin = TEST_AXIS_MIN;
+ proprange.lMax = TEST_AXIS_MAX;
+
+ IDirectInputDevice_SetProperty(joystick->device, DIPROP_RANGE, &proprange.diph);
+
return DIENUM_CONTINUE;
}
@@ -340,8 +351,6 @@
static void draw_joystick_axes(HWND hwnd, struct JoystickData* data)
{
int i;
- struct Joystick *joy;
- DIPROPRANGE propRange;
HINSTANCE hinst = (HINSTANCE) GetWindowLongPtrW(hwnd, GWLP_HINSTANCE);
static const WCHAR button_class[] = {'B','u','t','t','o','n','\0'};
static const WCHAR axes_names[TEST_MAX_AXES][7] = { {'X',',','Y','\0'}, {'R','x',',','R','y','\0'},
@@ -349,20 +358,6 @@
static const DWORD axes_idc[TEST_MAX_AXES] = { IDC_TESTGROUPXY, IDC_TESTGROUPRXRY,
IDC_TESTGROUPZRZ, IDC_TESTGROUPPOV };
- /* Set axis range to ease the GUI visualization */
- for (i = 0; i < data->num_joysticks; i++)
- {
- joy = &data->joysticks[i];
- propRange.diph.dwSize = sizeof(DIPROPRANGE);
- propRange.diph.dwHeaderSize = sizeof(DIPROPHEADER);
- propRange.diph.dwHow = DIPH_DEVICE;
- propRange.diph.dwObj = 0;
- propRange.lMin = TEST_AXIS_MIN;
- propRange.lMax = TEST_AXIS_MAX;
-
- IDirectInputDevice_SetProperty(joy->device, DIPROP_RANGE, &propRange.diph);
- }
-
for (i = 0; i < TEST_MAX_AXES; i++)
{
/* Set axis box name */
@@ -453,6 +448,17 @@
* Joystick force feedback testing functions
*
*/
+static void draw_ff_axis(HWND hwnd, struct JoystickData *data)
+{
+ HINSTANCE hinst = (HINSTANCE) GetWindowLongPtrW(hwnd, GWLP_HINSTANCE);
+ static WCHAR button_class[] = {'B','u','t','t','o','n','\0'};
+
+ /* Draw direction axis */
+ data->ff_axis = CreateWindowW( button_class, NULL, WS_CHILD | WS_VISIBLE,
+ FF_AXIS_X, FF_AXIS_Y,
+ FF_AXIS_SIZE_X, FF_AXIS_SIZE_Y,
+ hwnd, (HMENU) IDC_FFAXIS, NULL, hinst);
+}
static void initialize_effects_list(HWND hwnd, struct Joystick* joy)
{
@@ -500,15 +506,26 @@
int i;
struct Joystick *joy = &data->joysticks[data->chosen_joystick];
int chosen_effect = joy->chosen_effect;
+ DIEFFECT *dieffect;
+ DWORD flags = DIEP_AXES | DIEP_DIRECTION | DIEP_NORESTART;
/* Skip this if we have no effects */
if (joy->num_effects == 0 || chosen_effect < 0) continue;
poll_input(joy, &state);
+ /* Set ff parameters and draw the axis */
+ dieffect = &joy->effects[chosen_effect].params;
+ dieffect->rgdwAxes[0] = state.lX;
+ dieffect->rgdwAxes[1] = state.lY;
+
+ SetWindowPos(data->ff_axis, 0, FF_AXIS_X + state.lX, FF_AXIS_Y + state.lY,
+ 0, 0, SWP_NOZORDER | SWP_NOSIZE);
+
for (i=0; i < joy->num_buttons; i++)
if (state.rgbButtons[i])
{
+ IDirectInputEffect_SetParameters(joy->effects[chosen_effect].effect, dieffect, flags);
IDirectInputEffect_Start(joy->effects[chosen_effect].effect, 1, 0);
break;
}
@@ -646,6 +663,8 @@
}
}
+ draw_ff_axis(hwnd, data);
+
return TRUE;
}
diff --git a/po/ar.po b/po/ar.po
index 6729491..240898b 100644
--- a/po/ar.po
+++ b/po/ar.po
@@ -635,7 +635,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
#, fuzzy
msgid "Direction"
msgstr "معلومات"
@@ -3433,7 +3433,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/bg.po b/po/bg.po
index 856e959..2591038 100644
--- a/po/bg.po
+++ b/po/bg.po
@@ -642,7 +642,7 @@
msgid "Match &Case"
msgstr "&Чувствителен регистър"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Посока"
@@ -3460,7 +3460,9 @@
msgstr "На&пред"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/ca.po b/po/ca.po
index c26ea3b..0816a38 100644
--- a/po/ca.po
+++ b/po/ca.po
@@ -652,7 +652,7 @@
msgid "Match &Case"
msgstr "&Distingir majúscules de minúscules"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direcció"
@@ -3510,7 +3510,9 @@
msgstr "Formats disponibles"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/cs.po b/po/cs.po
index 042404f..045d79b 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -660,7 +660,7 @@
msgid "Match &Case"
msgstr "&Rozlišovat velikost"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Směr"
@@ -3509,7 +3509,9 @@
msgstr "Dostupné formáty"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/da.po b/po/da.po
index 6f03497..b17f261 100644
--- a/po/da.po
+++ b/po/da.po
@@ -643,7 +643,7 @@
msgid "Match &Case"
msgstr "Forskel på store/små &bogstaver"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Retning"
@@ -3481,7 +3481,9 @@
msgstr "Tilgængelige formater"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/de.po b/po/de.po
index 341cbf7..48a7ae1 100644
--- a/po/de.po
+++ b/po/de.po
@@ -635,7 +635,7 @@
msgid "Match &Case"
msgstr "Groß-/Klein&schreibung"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Suchrichtung"
@@ -3468,7 +3468,9 @@
msgstr "Verfügbare Formate"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/el.po b/po/el.po
index fbb74fb..a16f189 100644
--- a/po/el.po
+++ b/po/el.po
@@ -620,7 +620,7 @@
msgid "Match &Case"
msgstr "Ταίριασμα &Κεφαλαίων"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Κατεύθυνση"
@@ -3395,7 +3395,9 @@
msgstr "Δ&ιαθέσιμα κουμπιά:"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/en.po b/po/en.po
index d5821db..7e9861e 100644
--- a/po/en.po
+++ b/po/en.po
@@ -634,7 +634,7 @@
msgid "Match &Case"
msgstr "Match &Case"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direction"
@@ -3457,8 +3457,12 @@
msgstr "Available Effects"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
-msgstr "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
+msgstr ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
#: joy.rc:28
msgid "Game Controllers"
diff --git a/po/en_US.po b/po/en_US.po
index 903658d..ab944a9 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -634,7 +634,7 @@
msgid "Match &Case"
msgstr "Match &Case"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direction"
@@ -3459,8 +3459,12 @@
msgstr "Available Effects"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
-msgstr "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
+msgstr ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
#: joy.rc:28
msgid "Game Controllers"
diff --git a/po/eo.po b/po/eo.po
index 590b9b8..a60e49e 100644
--- a/po/eo.po
+++ b/po/eo.po
@@ -625,7 +625,7 @@
msgid "Match &Case"
msgstr "Atenti &Usklecon"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direkto"
@@ -3376,7 +3376,9 @@
msgstr "Disponeblaj formatoj"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/es.po b/po/es.po
index 94f0235..c62262f 100644
--- a/po/es.po
+++ b/po/es.po
@@ -646,7 +646,7 @@
msgid "Match &Case"
msgstr "&Mayúsculas/minúsculas"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Dirección"
@@ -3495,7 +3495,9 @@
msgstr "Formatos disponibles"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/fa.po b/po/fa.po
index 0aa6b87..9712cbe 100644
--- a/po/fa.po
+++ b/po/fa.po
@@ -635,7 +635,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
#, fuzzy
msgid "Direction"
msgstr "اطلاعات"
@@ -3433,7 +3433,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/fi.po b/po/fi.po
index 4da181b..d53d735 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -630,7 +630,7 @@
msgid "Match &Case"
msgstr "Kirjaink&oko"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Suunta"
@@ -3456,7 +3456,9 @@
msgstr "Mahdolliset muodot"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/fr.po b/po/fr.po
index 12f9bff..72723d2 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -638,7 +638,7 @@
msgid "Match &Case"
msgstr "Respecter la &casse"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direction"
@@ -3485,7 +3485,9 @@
msgstr "Formats disponibles"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/he.po b/po/he.po
index 891b181..12e3b5b 100644
--- a/po/he.po
+++ b/po/he.po
@@ -641,7 +641,7 @@
msgid "Match &Case"
msgstr "התאמת &רשיות"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "כיוון"
@@ -3463,7 +3463,9 @@
msgstr "התבניות הזמינות"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/hi.po b/po/hi.po
index be6cfa2..b2dc1ed 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -619,7 +619,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr ""
@@ -3371,7 +3371,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/hu.po b/po/hu.po
index f3ad461..c685dab 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -647,7 +647,7 @@
msgid "Match &Case"
msgstr "Kis/&nagybetű különbség"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Irány"
@@ -3497,7 +3497,9 @@
msgstr "Elérhető formátumok"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/it.po b/po/it.po
index 1ceeda2..4190401 100644
--- a/po/it.po
+++ b/po/it.po
@@ -653,7 +653,7 @@
msgid "Match &Case"
msgstr "&Maiuscole/Minuscole"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direzione"
@@ -3510,7 +3510,9 @@
msgstr "Formati disponibili"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/ja.po b/po/ja.po
index d345c79..82dc654 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -635,7 +635,7 @@
msgid "Match &Case"
msgstr "大文字と小文字を区別する(&C)"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "検索する方向"
@@ -3453,7 +3453,9 @@
msgstr "利用できる形式"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/ko.po b/po/ko.po
index 09cbc37..70f0f60 100644
--- a/po/ko.po
+++ b/po/ko.po
@@ -634,7 +634,7 @@
msgid "Match &Case"
msgstr "대/소문자 구분(&C)"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "방향"
@@ -3451,7 +3451,9 @@
msgstr "가능한 형식"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/lt.po b/po/lt.po
index 4d11dc4..54aaef3 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -634,7 +634,7 @@
msgid "Match &Case"
msgstr "Skirti raidžių &dydį"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Kryptis"
@@ -3469,7 +3469,9 @@
msgstr "Galimi formatai"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/ml.po b/po/ml.po
index 6a15883..85bd0ba 100644
--- a/po/ml.po
+++ b/po/ml.po
@@ -619,7 +619,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr ""
@@ -3371,7 +3371,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 3ee22d3..29dc470 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -635,7 +635,7 @@
msgid "Match &Case"
msgstr "Skill &mellom store og små bokstaver"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Retning"
@@ -3607,7 +3607,9 @@
msgstr "Tilgjengelige formater"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/nl.po b/po/nl.po
index b2a5d41..1555f23 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -651,7 +651,7 @@
msgid "Match &Case"
msgstr "Gelijke &hoofd-/kleine letters"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Zoekrichting"
@@ -3524,7 +3524,9 @@
msgstr "Beschikbare formaten"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/or.po b/po/or.po
index c62c66f..43f23fa 100644
--- a/po/or.po
+++ b/po/or.po
@@ -619,7 +619,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr ""
@@ -3371,7 +3371,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/pa.po b/po/pa.po
index c8627ea..1dbfca4 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -619,7 +619,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr ""
@@ -3371,7 +3371,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/pl.po b/po/pl.po
index b36492d..9514e9c 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -640,7 +640,7 @@
msgid "Match &Case"
msgstr "&Uwzględniaj wielkość liter"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Kierunek"
@@ -3481,7 +3481,9 @@
msgstr "Dostępne formaty"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 3e2e078..d8ea3f1 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -652,7 +652,7 @@
msgid "Match &Case"
msgstr "&Maiúsculas/minúsculas"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direção"
@@ -3508,7 +3508,9 @@
msgstr "Formatos Disponíveis"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/pt_PT.po b/po/pt_PT.po
index 010b3c0..4fcea3c 100644
--- a/po/pt_PT.po
+++ b/po/pt_PT.po
@@ -652,7 +652,7 @@
msgid "Match &Case"
msgstr "&Maiúsculas/minúsculas"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direção"
@@ -3507,7 +3507,9 @@
msgstr "Formatos Disponíveis"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/rm.po b/po/rm.po
index d8c323e..dcb7500 100644
--- a/po/rm.po
+++ b/po/rm.po
@@ -632,7 +632,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr ""
@@ -3399,7 +3399,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/ro.po b/po/ro.po
index f8deac0..3abd510 100644
--- a/po/ro.po
+++ b/po/ro.po
@@ -626,7 +626,7 @@
msgid "Match &Case"
msgstr "Sensibil la registru"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direcție"
@@ -3467,7 +3467,9 @@
msgstr "Formate disponibile"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/ru.po b/po/ru.po
index b0592cf..7db4d9f 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -635,7 +635,7 @@
msgid "Match &Case"
msgstr "C &учетом регистра"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Направление"
@@ -3474,7 +3474,9 @@
msgstr "Доступные форматы"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/sk.po b/po/sk.po
index eb9deb9..6911348 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -653,7 +653,7 @@
msgid "Match &Case"
msgstr "&Rozlišovať malé a veľké písmená"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Smer"
@@ -3409,7 +3409,9 @@
msgstr "Dostupné formáty"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/sl.po b/po/sl.po
index 3d0b81c..fad88ac 100644
--- a/po/sl.po
+++ b/po/sl.po
@@ -652,7 +652,7 @@
msgid "Match &Case"
msgstr "&Razlikuj velikost črk"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Smer iskanja"
@@ -3499,7 +3499,9 @@
msgstr "Razpoložljive oblike"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po
index 9a7c169..9dec9ab 100644
--- a/po/sr_RS@cyrillic.po
+++ b/po/sr_RS@cyrillic.po
@@ -642,7 +642,7 @@
msgid "Match &Case"
msgstr "Подударање &малих и великих слова"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Правац"
@@ -3491,7 +3491,9 @@
msgstr "Н&апред"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po
index 7764f18..f7645cd 100644
--- a/po/sr_RS@latin.po
+++ b/po/sr_RS@latin.po
@@ -688,7 +688,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
#, fuzzy
msgid "Direction"
msgstr "Opis"
@@ -3569,7 +3569,9 @@
msgstr "N&apred"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/sv.po b/po/sv.po
index 1c0a7fe..79dba33 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -633,7 +633,7 @@
msgid "Match &Case"
msgstr "&Skillnad på stora/små bokstäver"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Riktning"
@@ -3451,7 +3451,9 @@
msgstr "Tillgängliga format"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/te.po b/po/te.po
index 4e00f13..02f85ed 100644
--- a/po/te.po
+++ b/po/te.po
@@ -619,7 +619,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr ""
@@ -3371,7 +3371,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/th.po b/po/th.po
index d091d83..0482ea2 100644
--- a/po/th.po
+++ b/po/th.po
@@ -620,7 +620,7 @@
msgid "Match &Case"
msgstr "พิจารณาตัวเล็ก-ใหญ่"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "ทาง"
@@ -3412,7 +3412,9 @@
msgstr "ทีเลือกได้:"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/tr.po b/po/tr.po
index 68583bc..aea3e02 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -617,7 +617,7 @@
msgid "Match &Case"
msgstr "BÜYÜK/küçük Harf &Duyarlı"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Yön"
@@ -3366,7 +3366,9 @@
msgstr "Mevcut biçimler"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/uk.po b/po/uk.po
index 432e9d2..dd84fab 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -643,7 +643,7 @@
msgid "Match &Case"
msgstr "Враховувати &реґістр"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Напрям"
@@ -3488,7 +3488,9 @@
msgstr "Доступні формати"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/wa.po b/po/wa.po
index a2190d0..6f101c5 100644
--- a/po/wa.po
+++ b/po/wa.po
@@ -628,7 +628,7 @@
msgid "Match &Case"
msgstr "Rispecter les &madjuscules/minuscules"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "Direccion"
@@ -3418,7 +3418,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/wine.pot b/po/wine.pot
index f9bfd13..c704a98 100644
--- a/po/wine.pot
+++ b/po/wine.pot
@@ -607,7 +607,7 @@
msgid "Match &Case"
msgstr ""
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr ""
@@ -3333,7 +3333,9 @@
msgstr ""
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 309d873..5058fd7 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -634,7 +634,7 @@
msgid "Match &Case"
msgstr "区分大小写(&C)"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "方向"
@@ -3386,7 +3386,9 @@
msgstr "可选格式"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 1f1df23..6a4da36 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -623,7 +623,7 @@
msgid "Match &Case"
msgstr "大小寫視為相異(&C)"
-#: comdlg32.rc:317
+#: comdlg32.rc:317 joy.rc:67
msgid "Direction"
msgstr "方向"
@@ -3415,7 +3415,9 @@
msgstr "可用格式"
#: joy.rc:65
-msgid "Press any button in the controller to activate the chosen effect."
+msgid ""
+"Press any button in the controller to activate the chosen effect. The effect "
+"direction can be changed with the controller axis."
msgstr ""
#: joy.rc:28