826 lines
28 KiB
Plaintext
826 lines
28 KiB
Plaintext
|
//Microsoft Developer Studio generated resource script.
|
||
|
//
|
||
|
// #include "resource.h"
|
||
|
|
||
|
#define APSTUDIO_READONLY_SYMBOLS
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Generated from the TEXTINCLUDE 2 resource.
|
||
|
//
|
||
|
#include "diquick.h"
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
#undef APSTUDIO_READONLY_SYMBOLS
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
// English (U.S.) resources
|
||
|
|
||
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||
|
#ifdef _WIN32
|
||
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||
|
#pragma code_page(1252)
|
||
|
#endif //_WIN32
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Bitmap
|
||
|
//
|
||
|
|
||
|
IDB_CHECK BITMAP DISCARDABLE "chk.bmp"
|
||
|
|
||
|
/*****************************************************************************
|
||
|
*
|
||
|
* Dialogs
|
||
|
*
|
||
|
*****************************************************************************/
|
||
|
|
||
|
#ifdef FE
|
||
|
#define DLGFONT
|
||
|
#else
|
||
|
#define DLGFONT FONT 8, "MS Shell Dlg"
|
||
|
#endif
|
||
|
|
||
|
IDD_MAIN DIALOG DISCARDABLE 0, 0, 223, 143
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "DirectInput8 QuickTest"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "De&vice:",-1,9,7,27,8
|
||
|
COMBOBOX IDC_MAIN_DEVICES,39,5,121,113,CBS_DROPDOWNLIST |
|
||
|
WS_VSCROLL | WS_TABSTOP
|
||
|
PUSHBUTTON "&Enumerate...",IDC_MAIN_REFRESH,164,4,50,14
|
||
|
GROUPBOX "Creation",-1,7,30,90,73
|
||
|
CONTROL "&OLE",IDC_MAIN_OLE,"Button",BS_AUTORADIOBUTTON |
|
||
|
WS_TABSTOP,16,40,35,10
|
||
|
CONTROL "&DirectInput8Create",IDC_MAIN_DI,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_TABSTOP,16,51,75,10
|
||
|
CONTROL "",-1,"Static",SS_ETCHEDHORZ,7,63,90,1
|
||
|
CONTROL "&1. DirectInput8A",IDC_MAIN_DIA,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,16,73,68,10
|
||
|
CONTROL "&2. DirectInput8W",IDC_MAIN_DIW,"Button",
|
||
|
BS_AUTORADIOBUTTON,16,85,68,10
|
||
|
GROUPBOX "Device Interface",-1,103,30,112,65
|
||
|
CONTROL "&3. DirectInputDevice8A",IDC_MAIN_DIDA,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,110,40,100,10
|
||
|
CONTROL "&4. DirectInputDevice8W",IDC_MAIN_DIDW,"Button",
|
||
|
BS_AUTORADIOBUTTON,110,52,100,10
|
||
|
//CONTROL "&5. DirectInputDevice2A",IDC_MAIN_DID2A,"Button",
|
||
|
// BS_AUTORADIOBUTTON,110,64,100,10
|
||
|
//CONTROL "&6. DirectInputDevice2W",IDC_MAIN_DID2W,"Button",
|
||
|
// BS_AUTORADIOBUTTON,110,76,100,10
|
||
|
CONTROL "&5. DirectInputJoyConfig8",IDC_MAIN_DIDJC,"Button",
|
||
|
BS_AUTORADIOBUTTON,110,100,100,10
|
||
|
DEFPUSHBUTTON "&Create",IDC_MAIN_CREATE,4,120,50,14
|
||
|
PUSHBUTTON "&Get Status",IDC_MAIN_GETSTAT,56,120,50,14
|
||
|
PUSHBUTTON "&Find",IDC_MAIN_FIND,110,120,50,14
|
||
|
PUSHBUTTON "Control &Panel",IDC_MAIN_CPL,164,120,50,14
|
||
|
END
|
||
|
|
||
|
IDD_DEV DIALOG DISCARDABLE 64, 64, 219, 156
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Mode"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
GROUPBOX "Cooperativity",-1,5,5,115,78
|
||
|
CONTROL "Passive &background",IDC_DEV_PASSIVE,"Button",
|
||
|
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,11,16,77,10
|
||
|
CONTROL "Passive &foreground",IDC_DEV_PASSIVE_FOREGROUND,"Button",
|
||
|
BS_AUTORADIOBUTTON,11,27,74,10
|
||
|
CONTROL "Exclusi&ve background",IDC_DEV_ACTIVE_BACKGROUND,"Button",
|
||
|
BS_AUTORADIOBUTTON,11,39,83,10
|
||
|
CONTROL "&Exclusive foreground",IDC_DEV_ACTIVE,"Button",
|
||
|
BS_AUTORADIOBUTTON,11,51,83,10
|
||
|
GROUPBOX "Data Mode",-1,5,89,121,44
|
||
|
CONTROL "Po&lled",IDC_DEV_POLLED,"Button",BS_AUTORADIOBUTTON |
|
||
|
WS_GROUP | WS_TABSTOP,11,101,32,10
|
||
|
CONTROL "&Event-driven",IDC_DEV_EVENT,"Button",
|
||
|
BS_AUTORADIOBUTTON,11,111,53,10
|
||
|
LTEXT "Buffer si&ze:",-1,7,139,38,8
|
||
|
EDITTEXT IDC_DEV_BUFSIZE,45,136,50,13,ES_RIGHT | ES_NUMBER
|
||
|
CONTROL "",IDC_DEV_BUFSIZEUD,"msctls_updown32",UDS_WRAP |
|
||
|
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
|
||
|
UDS_ARROWKEYS | WS_BORDER | WS_GROUP,85,124,9,14
|
||
|
GROUPBOX "Form of...",-1,132,5,79,66
|
||
|
CONTROL "A &mouse",IDC_DEV_MOUSE,"Button",BS_AUTORADIOBUTTON |
|
||
|
WS_GROUP | WS_TABSTOP,141,16,39,10
|
||
|
CONTROL "A &keyboard",IDC_DEV_KEYBOARD,"Button",
|
||
|
BS_AUTORADIOBUTTON,141,29,48,10
|
||
|
CONTROL "A &joystick",IDC_DEV_JOYSTICK,"Button",
|
||
|
BS_AUTORADIOBUTTON,141,41,50,10
|
||
|
CONTROL "A &device",IDC_DEV_DEVICE,"Button",BS_AUTORADIOBUTTON,
|
||
|
141,53,40,10
|
||
|
GROUPBOX "Axis Mode",-1,132,89,79,44
|
||
|
CONTROL "&Absolute",IDC_DEV_ABS,"Button",BS_AUTORADIOBUTTON |
|
||
|
WS_GROUP | WS_TABSTOP,143,101,40,10
|
||
|
CONTROL "&Relative",IDC_DEV_REL,"Button",BS_AUTORADIOBUTTON,143,
|
||
|
111,38,10
|
||
|
CONTROL "For &calibration",IDC_DEV_CAL,"Button",BS_AUTOCHECKBOX |
|
||
|
WS_GROUP,143,121,60,10
|
||
|
CONTROL "&Nowinkey for keyboard",IDC_DEV_NOWINKEY,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_DISABLED | WS_GROUP,11,66,89,10
|
||
|
END
|
||
|
|
||
|
IDD_CAPS DIALOG DISCARDABLE 0, 0, 212, 130
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Caps"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "&Attribute",-1,8,7,29,8
|
||
|
LISTBOX IDC_CAPS_LIST,6,17,73,100,LBS_SORT | WS_VSCROLL |
|
||
|
WS_TABSTOP
|
||
|
LTEXT "",IDC_CAPS_VALUE,88,17,111,13,NOT WS_VISIBLE
|
||
|
PUSHBUTTON "&Refresh",IDC_CAPS_REFRESH,85,121,50,14
|
||
|
PUSHBUTTON "&Run Control Panel",IDC_CAPS_CPL,139,121,64,14
|
||
|
END
|
||
|
|
||
|
IDD_ENUMOBJ DIALOG DISCARDABLE 0, 0, 212, 130
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Objects"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
GROUPBOX "Enumeration",-1,7,4,198,29
|
||
|
CONTROL "A&xes",IDC_ENUMOBJ_AXES,"Button",BS_AUTORADIOBUTTON,17,
|
||
|
16,27,10
|
||
|
CONTROL "&Buttons",IDC_ENUMOBJ_BUTTONS,"Button",
|
||
|
BS_AUTORADIOBUTTON,57,16,36,10
|
||
|
CONTROL "&POVs",IDC_ENUMOBJ_POVS,"Button",BS_AUTORADIOBUTTON,106,
|
||
|
16,35,10
|
||
|
CONTROL "A&ll",IDC_ENUMOBJ_ALL,"Button",BS_AUTORADIOBUTTON,154,
|
||
|
16,35,10
|
||
|
LISTBOX IDC_ENUMOBJ_LIST,7,40,198,78,WS_VSCROLL | WS_TABSTOP
|
||
|
PUSHBUTTON "P&roperties",IDC_ENUMOBJ_PROP,139,121,64,14
|
||
|
END
|
||
|
|
||
|
IDD_ENUMEFF DIALOG DISCARDABLE 0, 0, 212, 130
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Effects"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LISTBOX IDC_ENUMEFF_LIST,7,40,198,78,WS_VSCROLL | WS_TABSTOP
|
||
|
END
|
||
|
|
||
|
IDD_ACQ DIALOG DISCARDABLE 32, 32, 212, 42
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Data"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "",IDC_ACQ_STATE,7,4,64,104
|
||
|
LISTBOX IDC_ACQ_DATA,71,4,134,118,LBS_HASSTRINGS | WS_TABSTOP
|
||
|
PUSHBUTTON "&Unacquire",IDC_ACQ_UNACQ,7,111,50,14
|
||
|
END
|
||
|
|
||
|
IDD_OBJPROP DIALOG DISCARDABLE 32, 32, 262, 140
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "A&ttribute",-1,8,7,29,8
|
||
|
LISTBOX IDC_PROP_LIST,6,17,93,100,LBS_SORT | WS_VSCROLL |
|
||
|
WS_TABSTOP
|
||
|
LTEXT "",IDC_PROP_VALUE,108,17,161,13,NOT WS_VISIBLE
|
||
|
END
|
||
|
|
||
|
IDD_CPL DIALOG DISCARDABLE 32, 32, 303, 122
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Joystick Control Panel"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "Joystick &Types",-1,7,7,50,8
|
||
|
LISTBOX IDC_CPL_TYPES,7,19,126,69,LBS_HASSTRINGS | WS_VSCROLL |
|
||
|
WS_HSCROLL | WS_TABSTOP
|
||
|
LTEXT "Joystick &Configs",-1,151,7,54,8
|
||
|
LISTBOX IDC_CPL_CONFIGS,151,19,142,69,LBS_HASSTRINGS |
|
||
|
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
|
||
|
PUSHBUTTON "&User Values",IDC_CPL_USERVALUES,170,92,50,14,NOT
|
||
|
WS_VISIBLE
|
||
|
PUSHBUTTON "&Add Joystick",IDC_CPL_ADDJOYSTICK,83,92,50,14
|
||
|
PUSHBUTTON "&Delete Joystick",IDC_CPL_DELJOYSTICK,238,92,55,14
|
||
|
END
|
||
|
|
||
|
IDD_JOYTYPE DIALOG DISCARDABLE 32, 32, 146, 167
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Joystick Type"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "Flags",-1,7,7,30,8
|
||
|
CONTROL "",IDC_TYPE_CHECKLIST,"SysListView32",LVS_REPORT |
|
||
|
LVS_SINGLESEL | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER |
|
||
|
WS_BORDER | WS_TABSTOP,7,17,127,117
|
||
|
LTEXT "Buttons:",-1,6,141,28,8
|
||
|
LTEXT "?",IDC_TYPE_NUMBUTTONS,38,141,30,8
|
||
|
END
|
||
|
|
||
|
IDD_JOYUV DIALOG DISCARDABLE 0, 0, 195, 157
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "User Values"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "Axis:",-1,7,6,17,8
|
||
|
LISTBOX IDC_JOYUV_AXIS,28,8,64,54,WS_VSCROLL | WS_TABSTOP
|
||
|
RTEXT "Min:",-1,97,10,38,8
|
||
|
RTEXT "Center:",-1,97,22,38,8
|
||
|
RTEXT "Max:",-1,97,34,38,8
|
||
|
RTEXT "DeadZone:",-1,97,46,38,8
|
||
|
RTEXT "",IDC_JOYUV_MIN,143,10,38,8
|
||
|
RTEXT "",IDC_JOYUV_CENTER,143,23,38,8
|
||
|
RTEXT "",IDC_JOYUV_MAX,143,34,38,8
|
||
|
RTEXT "",IDC_JOYUV_DEADZONE,143,47,38,8
|
||
|
LTEXT "Callout:",-1,6,74,30,8
|
||
|
EDITTEXT IDC_JOYUV_CALLOUT,35,73,115,13,ES_AUTOHSCROLL
|
||
|
LTEXT "Emulator:",-1,6,88,30,8
|
||
|
EDITTEXT IDC_JOYUV_EMULATOR,35,87,115,13,ES_AUTOHSCROLL
|
||
|
END
|
||
|
|
||
|
IDD_FIND DIALOG DISCARDABLE 32, 32, 262, 73
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Find Device"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "&Name:",-1,13,12,40,8
|
||
|
EDITTEXT IDC_FIND_NAME,59,9,199,13,ES_AUTOHSCROLL
|
||
|
LTEXT "&GUID:",-1,18,30,35,8
|
||
|
EDITTEXT IDC_FIND_GUID,59,28,199,13,ES_AUTOHSCROLL | ES_READONLY
|
||
|
DEFPUSHBUTTON "&Find",IDC_FIND_FIND,208,50,50,14
|
||
|
END
|
||
|
|
||
|
IDD_ENUMDEV DIALOG DISCARDABLE 32, 32, 130, 181
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
CAPTION "Device Enumeration"
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
GROUPBOX "&Device Classes",-1,4,4,123,67
|
||
|
CONTROL "A&ll devices",IDC_ENUMDEV_ALL,"Button",
|
||
|
BS_AUTORADIOBUTTON,14,16,47,10
|
||
|
CONTROL "&Generic devices only",IDC_ENUMDEV_GEN,"Button",
|
||
|
BS_AUTORADIOBUTTON,14,26,80,10
|
||
|
CONTROL "&Keyboard devices only",IDC_ENUMDEV_KBD,"Button",
|
||
|
BS_AUTORADIOBUTTON,14,36,85,10
|
||
|
CONTROL "&Mouse devices only",IDC_ENUMDEV_MSE,"Button",
|
||
|
BS_AUTORADIOBUTTON,14,46,76,10
|
||
|
CONTROL "&Joystick devices only",IDC_ENUMDEV_JOY,"Button",
|
||
|
BS_AUTORADIOBUTTON,14,56,81,10
|
||
|
GROUPBOX "Enumeration Flags",-1,4,74,123,78
|
||
|
CONTROL "&Attached devices only",IDC_ENUMDEV_ATT,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_TABSTOP,14,84,84,10
|
||
|
CONTROL "&Force feedback devices only",IDC_ENUMDEV_FF,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_TABSTOP,14,94,105,10
|
||
|
CONTROL "&HID devices only",IDC_ENUMDEV_HID,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_TABSTOP,14,104,105,10
|
||
|
CONTROL "Include al&ias devices",IDC_ENUMDEV_ALIAS,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_TABSTOP,14,114,105,10
|
||
|
CONTROL "Include &phantom devices",IDC_ENUMDEV_PHANTOM,"Button",
|
||
|
BS_AUTOCHECKBOX | WS_TABSTOP,14,124,105,10
|
||
|
DEFPUSHBUTTON "OK",IDOK,19,155,50,14
|
||
|
PUSHBUTTON "Cancel",IDCANCEL,75,155,50,14
|
||
|
END
|
||
|
|
||
|
IDD_EFFPROP DIALOG DISCARDABLE 0, 0, 212, 130
|
||
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
RTEXT "Guid:",-1,5,9,29,8
|
||
|
LTEXT "<error>",IDC_EPROP_GUID,48,9,150,8
|
||
|
RTEXT "Type:",-1,5,21,29,8
|
||
|
LTEXT "<error>",IDC_EPROP_TYPE,48,21,150,8
|
||
|
RTEXT "Static Parms:",-1,17,35,44,8
|
||
|
LTEXT "<error>",IDC_EPROP_STATICPARM,68,35,44,8
|
||
|
RTEXT "Dynamic Parms:",-1,8,48,53,8
|
||
|
LTEXT "<error>",IDC_EPROP_DYNAMICPARM,68,48,53,8
|
||
|
CONTROL "",IDC_EPROP_FLAGS,"SysListView32",LVS_REPORT |
|
||
|
LVS_SINGLESEL | LVS_SHAREIMAGELISTS | LVS_NOCOLUMNHEADER |
|
||
|
WS_BORDER | WS_TABSTOP,5,63,200,57
|
||
|
END
|
||
|
|
||
|
IDD_VAL_BOOL DIALOG DISCARDABLE 0, 0, 111, 66
|
||
|
STYLE DS_CONTROL | WS_CHILD
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
CONTROL "&Yes",IDC_VBOOL_YES,"Button",BS_AUTORADIOBUTTON,0,0,35,
|
||
|
10
|
||
|
CONTROL "&No",IDC_VBOOL_NO,"Button",BS_AUTORADIOBUTTON,0,12,35,
|
||
|
10
|
||
|
PUSHBUTTON "&Apply",IDC_VBOOL_APPLY,40,0,50,14
|
||
|
END
|
||
|
|
||
|
IDD_VAL_EDIT DIALOG DISCARDABLE 0, 0, 111, 66
|
||
|
STYLE DS_CONTROL | WS_CHILD
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
EDITTEXT IDC_VEDIT_EDIT,0,0,97,13,ES_AUTOHSCROLL
|
||
|
PUSHBUTTON "&Apply",IDC_VEDIT_APPLY,0,20,50,14
|
||
|
END
|
||
|
|
||
|
IDD_VAL_INT DIALOG DISCARDABLE 0, 0, 111, 66
|
||
|
STYLE DS_CONTROL | WS_CHILD
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
EDITTEXT IDC_VINT_EDIT,0,0,97,13,ES_RIGHT
|
||
|
CONTROL "",IDC_VINT_UD,"msctls_updown32",UDS_WRAP |
|
||
|
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
|
||
|
UDS_ARROWKEYS | UDS_NOTHOUSANDS | WS_BORDER | WS_GROUP,0,
|
||
|
0,0,0
|
||
|
CONTROL "&Decimal",IDC_VINT_DEC,"Button",BS_AUTORADIOBUTTON,0,20,
|
||
|
50,10
|
||
|
CONTROL "He&x",IDC_VINT_HEX,"Button",BS_AUTORADIOBUTTON,0,30,50,
|
||
|
10
|
||
|
PUSHBUTTON "&Apply",IDC_VINT_APPLY,55,20,50,14
|
||
|
END
|
||
|
|
||
|
IDD_VAL_RANGE DIALOG DISCARDABLE 0, 0, 111, 66
|
||
|
STYLE DS_CONTROL | WS_CHILD
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "Min:",-1,0,3,15,8
|
||
|
EDITTEXT IDC_VRANGE_MIN,17,0,80,13,ES_RIGHT
|
||
|
CONTROL "",IDC_VRANGE_MINUD,"msctls_updown32",UDS_WRAP |
|
||
|
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
|
||
|
UDS_ARROWKEYS | UDS_NOTHOUSANDS | WS_BORDER | WS_GROUP,0,
|
||
|
0,0,0
|
||
|
LTEXT "Max:",-1,0,17,17,8
|
||
|
EDITTEXT IDC_VRANGE_MAX,17,15,80,13,ES_RIGHT
|
||
|
CONTROL "",IDC_VRANGE_MAXUD,"msctls_updown32",UDS_WRAP |
|
||
|
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
|
||
|
UDS_ARROWKEYS | UDS_NOTHOUSANDS | WS_BORDER | WS_GROUP,0,
|
||
|
0,0,0
|
||
|
CONTROL "&Decimal",IDC_VRANGE_DEC,"Button",BS_AUTORADIOBUTTON,0,
|
||
|
32,50,10
|
||
|
CONTROL "He&x",IDC_VRANGE_HEX,"Button",BS_AUTORADIOBUTTON,0,42,
|
||
|
50,10
|
||
|
PUSHBUTTON "&Apply",IDC_VRANGE_APPLY,55,32,50,14
|
||
|
END
|
||
|
|
||
|
IDD_VAL_CAL DIALOG DISCARDABLE 0, 0, 111, 66
|
||
|
STYLE DS_CONTROL | WS_CHILD
|
||
|
DLGFONT
|
||
|
BEGIN
|
||
|
LTEXT "Min:",-1,0,3,15,8
|
||
|
EDITTEXT IDC_VCAL_MIN,17,0,80,13,ES_RIGHT
|
||
|
CONTROL "",IDC_VCAL_MINUD,"msctls_updown32",UDS_WRAP |
|
||
|
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
|
||
|
UDS_ARROWKEYS | UDS_NOTHOUSANDS | WS_BORDER | WS_GROUP,0,
|
||
|
0,0,0
|
||
|
LTEXT "Ctr:",-1,0,17,17,8
|
||
|
EDITTEXT IDC_VCAL_CTR,17,15,80,13,ES_RIGHT
|
||
|
CONTROL "",IDC_VCAL_CTRUD,"msctls_updown32",UDS_WRAP |
|
||
|
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
|
||
|
UDS_ARROWKEYS | UDS_NOTHOUSANDS | WS_BORDER | WS_GROUP,0,
|
||
|
0,0,0
|
||
|
LTEXT "Max:",-1,0,31,17,8
|
||
|
EDITTEXT IDC_VCAL_MAX,17,29,80,13,ES_RIGHT
|
||
|
CONTROL "",IDC_VCAL_MAXUD,"msctls_updown32",UDS_WRAP |
|
||
|
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
|
||
|
UDS_ARROWKEYS | UDS_NOTHOUSANDS | WS_BORDER | WS_GROUP,0,
|
||
|
0,0,0
|
||
|
CONTROL "&Decimal",IDC_VCAL_DEC,"Button",BS_AUTORADIOBUTTON,0,46,
|
||
|
50,10
|
||
|
CONTROL "He&x",IDC_VCAL_HEX,"Button",BS_AUTORADIOBUTTON,0,56,50,
|
||
|
10
|
||
|
PUSHBUTTON "&Apply",IDC_VCAL_APPLY,55,46,50,14
|
||
|
END
|
||
|
|
||
|
|
||
|
#ifdef APSTUDIO_INVOKED
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// TEXTINCLUDE
|
||
|
//
|
||
|
|
||
|
1 TEXTINCLUDE DISCARDABLE
|
||
|
BEGIN
|
||
|
"resource.h\0"
|
||
|
END
|
||
|
|
||
|
2 TEXTINCLUDE DISCARDABLE
|
||
|
BEGIN
|
||
|
"#include ""diquick.h""\r\n"
|
||
|
"\0"
|
||
|
END
|
||
|
|
||
|
3 TEXTINCLUDE DISCARDABLE
|
||
|
BEGIN
|
||
|
"\r\n"
|
||
|
"\0"
|
||
|
END
|
||
|
|
||
|
#endif // APSTUDIO_INVOKED
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// DESIGNINFO
|
||
|
//
|
||
|
|
||
|
#ifdef APSTUDIO_INVOKED
|
||
|
GUIDELINES DESIGNINFO DISCARDABLE
|
||
|
BEGIN
|
||
|
IDD_DEV, DIALOG
|
||
|
BEGIN
|
||
|
RIGHTMARGIN, 217
|
||
|
BOTTOMMARGIN, 155
|
||
|
END
|
||
|
|
||
|
IDD_CPL, DIALOG
|
||
|
BEGIN
|
||
|
RIGHTMARGIN, 293
|
||
|
BOTTOMMARGIN, 116
|
||
|
END
|
||
|
END
|
||
|
#endif // APSTUDIO_INVOKED
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// String Table
|
||
|
//
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_ERR_CREATEOBJ "Error %08x creating IDirectInput object"
|
||
|
IDS_ERR_COOPERATIVITY "Unable to set cooperativity level"
|
||
|
IDS_ERR_CREATEDEV "Unable to create IDirectInputDevice interface"
|
||
|
IDS_ERR_SETEVENTNOT "Unable to set event notification"
|
||
|
IDS_ERR_DATAFORMAT "Unable to set data format"
|
||
|
IDS_ERR_ACQUIRE "Unable to acquire direct access"
|
||
|
IDS_ERR_BUFFERSIZE "Unable to set buffer size"
|
||
|
IDS_ERR_RUNCPL "Unable to run control panel: Error %08x"
|
||
|
IDS_ERR_GETOBJINFO "Unable to get object info"
|
||
|
IDS_ERR_AXISMODE "Unable to set axis mode"
|
||
|
IDS_ERR_HRESULT "Unable to set new value, error %08x"
|
||
|
IDS_ERR_COINIT "Error %08x on CoInitialize"
|
||
|
IDS_ERR_QICONFIG "Error %08x QI'ng for IDirectInputJoyConfig"
|
||
|
IDS_ERR_ADDNEWHARDWARE "Unable to add hardware: Error %08x"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_ERR_CALMODE "Unable to set calibration mode"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_SPACEPARENHID " (HID)"
|
||
|
IDS_INVALID "<invalid>"
|
||
|
IDS_CAPS_YES "Yes"
|
||
|
IDS_CAPS_NO "No"
|
||
|
END
|
||
|
|
||
|
//Device Types
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX7
|
||
|
257 "1 = Device"
|
||
|
258 "2 = Mouse"
|
||
|
259 "3 = Keyboard"
|
||
|
260 "4 = Joystick"
|
||
|
|
||
|
//DX8
|
||
|
273 "17 = Device"
|
||
|
274 "18 = Mouse"
|
||
|
275 "19 = Keyboard"
|
||
|
276 "20 = Joystick"
|
||
|
277 "21 = Gamepad"
|
||
|
278 "22 = Driving"
|
||
|
279 "23 = Flight"
|
||
|
280 "24 = 1stPerson"
|
||
|
281 "25 = DeviceCtrl"
|
||
|
282 "26 = ScreenPointer"
|
||
|
283 "27 = Remote"
|
||
|
284 "28 = Supplemental"
|
||
|
END
|
||
|
|
||
|
//Mouse Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX7
|
||
|
769 "1 = Unknown"
|
||
|
770 "2 = Traditional"
|
||
|
771 "3 = Fingerstick"
|
||
|
772 "4 = Touchpad"
|
||
|
773 "5 = Trackball"
|
||
|
|
||
|
//DX8
|
||
|
4865 "1 = Unknown"
|
||
|
4866 "2 = Traditional"
|
||
|
4867 "3 = Fingerstick"
|
||
|
4868 "4 = Touchpad"
|
||
|
4869 "5 = Trackball"
|
||
|
4870 "6 = Absolute"
|
||
|
END
|
||
|
|
||
|
//Keyboard subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX7
|
||
|
1024 "0 = Unknown"
|
||
|
1025 "1 = PC/XT 83-key"
|
||
|
1026 "2 = Olivetti 102-key"
|
||
|
1027 "3 = PC/AT 84-key"
|
||
|
1028 "4 = PC 101/102-key or Microsoft Natural"
|
||
|
1029 "5 = Nokia 1050"
|
||
|
1030 "6 = Nokia 9140"
|
||
|
1031 "7 = NEC 98"
|
||
|
1032 "8 = NEC 98 Laptop"
|
||
|
1033 "9 = NEC 98 106"
|
||
|
1034 "10 = Japanese 106"
|
||
|
1035 "11 = Japanese AX"
|
||
|
1036 "12 = Japanese J3100"
|
||
|
|
||
|
//DX8
|
||
|
5120 "0 = Unknown"
|
||
|
5121 "1 = PC/XT 83-key"
|
||
|
5122 "2 = Olivetti 102-key"
|
||
|
5123 "3 = PC/AT 84-key"
|
||
|
5124 "4 = PC 101/102-key or Microsoft Natural"
|
||
|
5125 "5 = Nokia 1050"
|
||
|
5126 "6 = Nokia 9140"
|
||
|
5127 "7 = NEC 98"
|
||
|
5128 "8 = NEC 98 Laptop"
|
||
|
5129 "9 = NEC 98 106"
|
||
|
5130 "10 = Japanese 106"
|
||
|
5131 "11 = Japanese AX"
|
||
|
5132 "12 = Japanese J3100"
|
||
|
END
|
||
|
|
||
|
//Joystick Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX7
|
||
|
1281 "1 = Unknown"
|
||
|
1282 "2 = Traditional"
|
||
|
1283 "3 = Flightstick"
|
||
|
1284 "4 = Gamepad"
|
||
|
1285 "5 = Rudder"
|
||
|
1286 "6 = Wheel"
|
||
|
1287 "7 = Headtracker"
|
||
|
|
||
|
//DX8
|
||
|
5377 "1 = Limited"
|
||
|
5378 "2 = Standard"
|
||
|
5379 "3 = Enhanced"
|
||
|
END
|
||
|
|
||
|
//Gamepad Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
5633 "1 = Limited"
|
||
|
5634 "2 = Standard"
|
||
|
5635 "3 = Tilt"
|
||
|
END
|
||
|
|
||
|
//Driving Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
5889 "1 = Limited"
|
||
|
5890 "2 = Combined Pedals"
|
||
|
5891 "3 = Dual Pedals"
|
||
|
5892 "4 = Three Pedals"
|
||
|
5893 "5 = Hand Held"
|
||
|
END
|
||
|
|
||
|
//Flight Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
6145 "1 = Limited"
|
||
|
6146 "2 = Stick"
|
||
|
6147 "3 = Yolk"
|
||
|
6148 "4 = RC"
|
||
|
END
|
||
|
|
||
|
//1stPerson Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
6401 "1 = Limited"
|
||
|
6402 "2 = Unknown"
|
||
|
6403 "3 = Six DOF"
|
||
|
6404 "4 = Shooter"
|
||
|
END
|
||
|
|
||
|
//Screen Ptr Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
6914 "2 = Unknown"
|
||
|
6915 "3 = Light Gun"
|
||
|
6916 "4 = Light Pen"
|
||
|
6917 "5 = Touch"
|
||
|
END
|
||
|
|
||
|
//Remote Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
7170 "2 = Unknown"
|
||
|
END
|
||
|
|
||
|
//Device Ctrl Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
6658 "2 = Unknown"
|
||
|
6659 "3 = Coms Selection"
|
||
|
6660 "4 = Coms Selection Hardwired"
|
||
|
END
|
||
|
|
||
|
//Supplemental Subtypes
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
//DX8
|
||
|
7426 "2 = Unknown"
|
||
|
7427 "3 = 2nd Hand Controller"
|
||
|
7428 "4 = Head Tracker"
|
||
|
7429 "5 = Hand Tracker"
|
||
|
7430 "6 = Shift Stick Gate"
|
||
|
7431 "7 = Shifter"
|
||
|
7432 "8 = Throttle"
|
||
|
7433 "9 = Split Throttle"
|
||
|
7434 "10 = Combined Pedals"
|
||
|
7435 "11 = Dual Pedals"
|
||
|
7436 "12 = Three Pedals"
|
||
|
7437 "13 = Rudder Pedals"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_ATTACHED "Attached?"
|
||
|
IDS_POLLEDDEVICE "Polled device?"
|
||
|
IDS_EMULATED "Emulated (non-accelerated) device?"
|
||
|
IDS_FORCEFEEDBACK "Force feedback?"
|
||
|
IDS_FFATTACK "Envelope attack?"
|
||
|
IDS_FFFADE "Envelope fade?"
|
||
|
IDS_SATURATION "Condition saturation?"
|
||
|
IDS_POSNEGCOEFFICIENTS "Independent pos/neg coefficients?"
|
||
|
IDS_POSNEGSATURATION "Independent pos/neg saturation?"
|
||
|
IDS_POLLEDDATAFORMAT "Polled data format?"
|
||
|
IDS_ALIASDEVICE "Alias device?"
|
||
|
IDS_PHANTOMDEVICE "Phantom device?"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_CLASS_KBD "Keyboard"
|
||
|
IDS_CLASS_MEDIA "Joystick"
|
||
|
IDS_CLASS_MOUSE "Mouse"
|
||
|
IDS_CLASS_HID "HID"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_HWS_HASZ "Has Z"
|
||
|
IDS_HWS_HASPOV "Has POV"
|
||
|
IDS_HWS_POVISBUTTONCOMBOS "POV is button combos"
|
||
|
IDS_HWS_POVISPOLL "POV is poll"
|
||
|
IDS_HWS_ISYOKE "Is yoke"
|
||
|
IDS_HWS_ISGAMEPAD "Is gamepad"
|
||
|
IDS_HWS_ISCARCTRL "Is car control"
|
||
|
IDS_HWS_XISJ1Y "X is J1Y"
|
||
|
IDS_HWS_XISJ2X "X is J2X"
|
||
|
IDS_HWS_XISJ2Y "X is J2Y"
|
||
|
IDS_HWS_YISJ1X "Y is J1X"
|
||
|
IDS_HWS_YISJ2X "Y is J2X"
|
||
|
IDS_HWS_YISJ2Y "Y is J2Y"
|
||
|
IDS_HWS_ZISJ1X "Z is J1X"
|
||
|
IDS_HWS_ZISJ1Y "Z is J1Y"
|
||
|
IDS_HWS_ZISJ2X "Z is J2X"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_HWS_POVISJ1X "POV is J2X"
|
||
|
IDS_HWS_POVISJ1Y "POV is J1Y"
|
||
|
IDS_HWS_POVISJ2X "POV is J2X"
|
||
|
IDS_HWS_HASR "Has R"
|
||
|
IDS_HWS_RISJ1X "R is J1X"
|
||
|
IDS_HWS_RISJ1Y "R is J1Y"
|
||
|
IDS_HWS_RISJ2Y "R is J2Y"
|
||
|
IDS_HWS_HASU "Has U"
|
||
|
IDS_HWS_HASV "Has V"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
2305 "1 - Constant force"
|
||
|
2306 "2 - Ramp force"
|
||
|
2307 "3 - Periodic"
|
||
|
2308 "4 - Condition"
|
||
|
2309 "5 - Custom force"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
2559 "255 - Hardware-specific"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_PROP_TYPE "Type GUID"
|
||
|
IDS_PROP_OFS "Offset"
|
||
|
IDS_PROP_OBJTYPE "Object type"
|
||
|
IDS_PROP_GRANULARITY "Granularity"
|
||
|
IDS_PROP_FFMAXFORCE "FF max force"
|
||
|
IDS_PROP_FFFORCERESOLUTION "FF force resolution"
|
||
|
IDS_PROP_COLLECTIONNUMBER "HID collection number"
|
||
|
IDS_PROP_DESIGNATORINDEX "HID designator index"
|
||
|
IDS_PROP_USAGEPAGE "HID usage page"
|
||
|
IDS_PROP_USAGE "HID usage"
|
||
|
IDS_PROP_FFACTUATOR "Is FF Actuator?"
|
||
|
IDS_PROP_FFEFFECTTRIGGER "Is FF Trigger?"
|
||
|
IDS_PROP_ASPECT "Aspect"
|
||
|
IDS_PROP_POLLED "Polled?"
|
||
|
IDS_PROP_DEADZONE "Dead Zone"
|
||
|
IDS_PROP_SATURATION "Saturation"
|
||
|
IDS_PROP_SCANCODE "Scan code"
|
||
|
IDS_PROP_KEYNAME "Key name"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_PROP_RANGE "Range"
|
||
|
IDS_PROP_CALIBRATIONMODE "Calibration mode?"
|
||
|
IDS_PROP_CAL "Calibration"
|
||
|
IDS_PROP_REPORTID "Report ID"
|
||
|
IDS_PROP_ENABLEREPORTID "Enable Report ID"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
2800 "None"
|
||
|
2801 "Position"
|
||
|
2802 "Velocity"
|
||
|
2803 "Acceleration"
|
||
|
2804 "Force"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_AXIS_X "X-Axis"
|
||
|
IDS_AXIS_Y "Y-Axis"
|
||
|
IDS_AXIS_Z "Z-Axis"
|
||
|
IDS_AXIS_R "R-Axis"
|
||
|
IDS_AXIS_U "U-Axis"
|
||
|
IDS_AXIS_V "V-Axis"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_CAPS_TYPE "Type"
|
||
|
IDS_CAPS_SUBTYPE "Subtype"
|
||
|
IDS_CAPS_HID "HID?"
|
||
|
IDS_CAPS_AXES "Axes"
|
||
|
IDS_CAPS_BUTTONS "Buttons"
|
||
|
IDS_CAPS_POVS "POVs"
|
||
|
IDS_CAPS_FFSAMPLEPERIOD "FFSamplePeriod"
|
||
|
IDS_CAPS_FFMINTIMERESOLUTION "FFMinTimerResolution"
|
||
|
IDS_CAPS_FIRMWAREREVISION "FirmwareRevision"
|
||
|
IDS_CAPS_HARDWAREREVISION "HardwareRevision"
|
||
|
IDS_CAPS_FFDRIVERVERSION "FFDriverVersion"
|
||
|
IDS_CAPS_GUIDINSTANCE "Instance GUID"
|
||
|
IDS_CAPS_GUIDPRODUCT "Product GUID"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_CAPS_DEVTYPE "DevType"
|
||
|
IDS_CAPS_INSTANCENAME "Instance Name"
|
||
|
IDS_CAPS_PRODUCTNAME "Product Name"
|
||
|
IDS_CAPS_GUIDFFDRIVER "FF Driver GUID"
|
||
|
IDS_CAPS_USAGEPAGE "Usage Page"
|
||
|
IDS_CAPS_USAGE "Usage"
|
||
|
IDS_CAPS_CLASSGUID "PNP Class GUID"
|
||
|
IDS_CAPS_PATH "Path"
|
||
|
IDS_CAPS_INSTPROP "Instance Property"
|
||
|
IDS_CAPS_MFGPROP "DevName Property"
|
||
|
IDS_CAPS_PORTNAME "Port Name"
|
||
|
IDS_CAPS_TYPENAME "Type Name"
|
||
|
IDS_CAPS_PORTID "Port ID"
|
||
|
IDS_CAPS_JOYSTICKID "Joystick ID"
|
||
|
IDS_CAPS_GUIDMAPPER "Mapper GUID"
|
||
|
IDS_CAPS_VID "Vendor ID"
|
||
|
IDS_CAPS_PID "Product ID"
|
||
|
END
|
||
|
|
||
|
STRINGTABLE DISCARDABLE
|
||
|
BEGIN
|
||
|
IDS_GETSTAT_OK "Device is attached"
|
||
|
IDS_GETSTAT_NOTATTACHED "Device is not attached"
|
||
|
IDS_GETSTAT_ERROR "Error getting device status (%08x)"
|
||
|
END
|
||
|
|
||
|
#endif // English (U.S.) resources
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
|
||
|
|
||
|
#ifndef APSTUDIO_INVOKED
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// Generated from the TEXTINCLUDE 3 resource.
|
||
|
//
|
||
|
|
||
|
|
||
|
/////////////////////////////////////////////////////////////////////////////
|
||
|
#endif // not APSTUDIO_INVOKED
|
||
|
|