wine/dlls/joy.cpl/joy.rc

111 lines
4.7 KiB
Text

/*
* Joystick testing control panel applet resource file
*
* Copyright 2012 Lucas Fialho Zawacki
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "resource.h"
#pragma makedep po
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
BEGIN
IDS_CPL_NAME "Game Controllers"
IDS_CPL_INFO "Test and configure game controllers."
END
IDD_LIST DIALOG 0, 0, 320, 300
STYLE WS_CAPTION | WS_CHILD | WS_DISABLED
CAPTION "Joysticks"
FONT 8, "Ms Shell Dlg"
{
PUSHBUTTON "&Disable", IDC_BUTTONDISABLE, 200, 20, 60, 15
PUSHBUTTON "&Reset", IDC_BUTTONRESET, 200, 40, 60, 15
PUSHBUTTON "&Enable", IDC_BUTTONENABLE, 200, 190, 60, 15
PUSHBUTTON "&Override", IDC_BUTTONOVERRIDE, 200, 100, 60, 15
LTEXT "Connected", IDC_STATIC, 10, 10, 180, 10
LISTBOX IDC_JOYSTICKLIST, 10, 20, 180, 70, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY
LTEXT "Connected (xinput device)", IDC_STATIC, 10, 90, 180, 10
LISTBOX IDC_XINPUTLIST, 10, 100, 180, 70, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY
LTEXT "Disabled", IDC_STATIC, 10, 180, 180, 10
LISTBOX IDC_DISABLEDLIST, 10, 190, 180, 70, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY
LTEXT "After disabling or enabling a device, the connected joysticks won't be updated here until you restart this applet.", IDC_STATIC, 10, 270, 200, 25
}
IDD_TEST_DI DIALOG 0, 0, 320, 300
STYLE WS_CAPTION | WS_CHILD | WS_DISABLED
CAPTION "DInput"
FONT 8, "Ms Shell Dlg"
{
COMBOBOX IDC_DI_DEVICES, 15, 10, 291, 60, CBS_DROPDOWNLIST | CBS_HASSTRINGS
GROUPBOX "Axes", IDC_DI_AXES, 15, 30, 214, 60
GROUPBOX "POVs", IDC_DI_POVS, 246, 30, 60, 60
GROUPBOX "Buttons", IDC_DI_BUTTONS, 15, 100, 291, 86
LTEXT "Force Feedback Effect", IDC_STATIC, 15, 196, 291, 10
LISTBOX IDC_DI_EFFECTS, 15, 206, 291, 54, WS_TABSTOP | WS_VSCROLL | LBS_NOTIFY
LTEXT "Press any button in the controller to activate the chosen effect. The effect direction can be changed with the controller axis.",
IDC_STATIC, 15, 260, 291, 25
}
IDD_TEST_XI DIALOG 0, 0, 320, 300
STYLE WS_CAPTION | WS_CHILD | WS_DISABLED
CAPTION "XInput"
FONT 8, "Ms Shell Dlg"
{
GROUPBOX "User #0", IDC_XI_USER_0, 15, 10, 291, 60
GROUPBOX "User #1", IDC_XI_USER_1, 15, 80, 291, 60
GROUPBOX "User #2", IDC_XI_USER_2, 15, 150, 291, 60
GROUPBOX "User #3", IDC_XI_USER_3, 15, 220, 291, 60
LTEXT "No user detected on slot #0, make sure your " \
"gamepad is plugged in, and not overridden for " \
"DInput in the Joysticks tab.",
IDC_XI_NO_USER_0, 15, 10, 291, 60
LTEXT "No user detected on slot #1, make sure your " \
"gamepad is plugged in, and not overridden for " \
"DInput in the Joysticks tab.",
IDC_XI_NO_USER_1, 15, 80, 291, 60
LTEXT "No user detected on slot #2, make sure your " \
"gamepad is plugged in, and not overridden for " \
"DInput in the Joysticks tab.",
IDC_XI_NO_USER_2, 15, 150, 291, 60
LTEXT "No user detected on slot #3, make sure your " \
"gamepad is plugged in, and not overridden for " \
"DInput in the Joysticks tab.",
IDC_XI_NO_USER_3, 15, 220, 291, 60
AUTOCHECKBOX "Rumble", IDC_XI_RUMBLE_0, 260, 10, 40, 10
AUTOCHECKBOX "Rumble", IDC_XI_RUMBLE_1, 260, 80, 40, 10
AUTOCHECKBOX "Rumble", IDC_XI_RUMBLE_2, 260, 150, 40, 10
AUTOCHECKBOX "Rumble", IDC_XI_RUMBLE_3, 260, 220, 40, 10
}
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: joy.manifest */
124 RT_MANIFEST joy.manifest
/* @makedep: joy.ico */
ICO_MAIN ICON "joy.ico"
#define WINE_FILENAME_STR "joy.cpl"
#define WINE_FILEDESCRIPTION_STR "Game Controllers Configuration Panel"
#include "wine/wine_common_ver.rc"