joy.cpl: Hardcode axis name strings that were in joy.rc.

This commit is contained in:
Lucas Zawacki 2012-06-19 11:42:08 -03:00 committed by Alexandre Julliard
parent 9e12bc0175
commit 6cc9968125
48 changed files with 12 additions and 544 deletions

View File

@ -68,6 +68,9 @@ struct JoystickData {
#define IDC_BUTTONENABLE 2002
#define IDC_DISABLEDLIST 2003
#define IDC_TESTSELECTCOMBO 2004
#define IDC_TESTGROUPXY 2005
#define IDC_TESTGROUPRXRY 2006
#define IDC_TESTGROUPZRZ 2007
#define IDC_JOYSTICKBUTTON 3000
#define IDC_JOYSTICKAXES 4000

View File

@ -48,9 +48,9 @@ FONT 8, "Ms Shell Dlg"
{
COMBOBOX IDC_TESTSELECTCOMBO, 5, 5, 100, 30, CBS_DROPDOWNLIST | CBS_HASSTRINGS
GROUPBOX "Buttons", IDC_STATIC, 0, 110, 250, 90
GROUPBOX "X,Y", IDC_STATIC, 15, 30, 60, 60
GROUPBOX "Rx,Ry", IDC_STATIC, 92, 30, 60, 60
GROUPBOX "Z, Rz", IDC_STATIC, 169, 30, 60, 60
GROUPBOX "", IDC_TESTGROUPXY, 15, 30, 60, 60
GROUPBOX "", IDC_TESTGROUPRXRY, 92, 30, 60, 60
GROUPBOX "", IDC_TESTGROUPZRZ, 169, 30, 60, 60
}
IDD_FORCEFEEDBACK DIALOG 0, 0, 250, 200

View File

@ -308,7 +308,9 @@ static void draw_joystick_axes(HWND hwnd, struct JoystickData* data)
struct Joystick *joy;
DIPROPRANGE propRange;
HINSTANCE hinst = (HINSTANCE) GetWindowLongPtrW(hwnd, GWLP_HINSTANCE);
static WCHAR button_class[] = {'B','u','t','t','o','n','\0'};
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'}, {'Z',',','R','z','\0'} };
static const DWORD axes_idc[TEST_MAX_AXES] = { IDC_TESTGROUPXY, IDC_TESTGROUPRXRY, IDC_TESTGROUPZRZ };
/* Set axis range to ease the GUI visualization */
for (i = 0; i < data->num_joysticks; i++)
@ -326,6 +328,9 @@ static void draw_joystick_axes(HWND hwnd, struct JoystickData* data)
for (i = 0; i < TEST_MAX_AXES; i++)
{
/* Set axis box name */
SetWindowTextW(GetDlgItem(hwnd, axes_idc[i]), axes_names[i]);
data->axes[i] = CreateWindowW( button_class, NULL, WS_CHILD | WS_VISIBLE,
TEST_AXIS_X + TEST_NEXT_AXIS_X*i, TEST_AXIS_Y,
TEST_AXIS_SIZE_X, TEST_AXIS_SIZE_Y,

View File

@ -3424,18 +3424,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3450,18 +3450,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3494,18 +3494,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3498,18 +3498,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3470,18 +3470,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3457,18 +3457,6 @@ msgstr "Joystick testen"
msgid "Buttons"
msgstr "Tasten"
#: joy.rc:51
msgid "X,Y"
msgstr "X,Y"
#: joy.rc:52
msgid "Rx,Ry"
msgstr "Rx,Ry"
#: joy.rc:53
msgid "Z, Rz"
msgstr "Z, Rz"
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "Force Feedback testen"

View File

@ -3384,18 +3384,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3448,18 +3448,6 @@ msgstr "Test Joystick"
msgid "Buttons"
msgstr "Buttons"
#: joy.rc:51
msgid "X,Y"
msgstr "X,Y"
#: joy.rc:52
msgid "Rx,Ry"
msgstr "Rx,Ry"
#: joy.rc:53
msgid "Z, Rz"
msgstr "Z, Rz"
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "Test Force Feedback"

View File

@ -3450,18 +3450,6 @@ msgstr "Test Joystick"
msgid "Buttons"
msgstr "Buttons"
#: joy.rc:51
msgid "X,Y"
msgstr "X,Y"
#: joy.rc:52
msgid "Rx,Ry"
msgstr "Rx,Ry"
#: joy.rc:53
msgid "Z, Rz"
msgstr "Z, Rz"
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "Test Force Feedback"

View File

@ -3360,18 +3360,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3484,18 +3484,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3424,18 +3424,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3445,18 +3445,6 @@ msgstr "Testaa joystickia"
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "Testaa voimapalautetta"

View File

@ -3480,18 +3480,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3447,18 +3447,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3362,18 +3362,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3486,18 +3486,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3494,18 +3494,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3442,18 +3442,6 @@ msgstr "ジョイスティックのテスト"
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "フォース フィードバックのテスト"

View File

@ -3446,18 +3446,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3458,18 +3458,6 @@ msgstr "Testuoti vairasvirtę"
msgid "Buttons"
msgstr "Mygtukai"
#: joy.rc:51
msgid "X,Y"
msgstr "X,Y"
#: joy.rc:52
msgid "Rx,Ry"
msgstr "Rx,Ry"
#: joy.rc:53
msgid "Z, Rz"
msgstr "Z, Rz"
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "Testuoti „Force Feedback“"

View File

@ -3362,18 +3362,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3619,18 +3619,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3511,18 +3511,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3362,18 +3362,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3362,18 +3362,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3470,18 +3470,6 @@ msgstr "Testuj Joystick"
msgid "Buttons"
msgstr "Przyciski"
#: joy.rc:51
msgid "X,Y"
msgstr "X,Y"
#: joy.rc:52
msgid "Rx,Ry"
msgstr "Rx,Ry"
#: joy.rc:53
msgid "Z, Rz"
msgstr "Z, Rz"
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "Testuj odczucie siły zwrotnej"

View File

@ -3492,18 +3492,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3491,18 +3491,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3390,18 +3390,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3451,18 +3451,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3463,18 +3463,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3393,18 +3393,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3483,18 +3483,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3481,18 +3481,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3559,18 +3559,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3440,18 +3440,6 @@ msgstr "Testa joysticken"
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr "Testa kraftåterkoppling"

View File

@ -3362,18 +3362,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3401,18 +3401,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3355,18 +3355,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3477,18 +3477,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3409,18 +3409,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3324,18 +3324,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3370,18 +3370,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""

View File

@ -3374,18 +3374,6 @@ msgstr ""
msgid "Buttons"
msgstr ""
#: joy.rc:51
msgid "X,Y"
msgstr ""
#: joy.rc:52
msgid "Rx,Ry"
msgstr ""
#: joy.rc:53
msgid "Z, Rz"
msgstr ""
#: joy.rc:58
msgid "Test Force Feedback"
msgstr ""