Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

407 lines
17 KiB

//Microsoft Developer Studio generated resource script.
//
#include "resrc1.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#include "resource.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
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
#include <windows.h>
#ifdef WIN95
#include <windows.h>
//#include <version.h>
#include "verinfo.h"
#define VERSIONNAME "GCDEF.DLL"
#define VERSIONDESCRIPTION "Game Controllers Default Sheets"
#define VERSIONTYPE VFT_DLL
#define VERSIONSUBTYPE VFT2_UNKNOWN
#include "verinfo.ver"
#else
#include <ntverp.h>
#define VER_FILETYPE VFT_DLL
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Game Controllers Default Sheets"
#define VER_INTERNALNAME_STR "GCDEF.DLL"
//#define VER_OLESELFREGISTER
#include "common.ver"
#endif
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_BUTTONOFF ICON DISCARDABLE "res/BtnUp.ico"
IDI_BUTTONON ICON DISCARDABLE "res/BtnDwn.ico"
#if (_WIN32_WINNT>0x0500)
IDI_GCICON ICON DISCARDABLE "res/joy.ico"
#else
IDI_GCICON ICON DISCARDABLE "res/joystick.ico"
#endif
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resrc1.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""resource.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_POVHUB BITMAP DISCARDABLE "res/bitmap1.bmp"
IDB_CALHD BITMAP DISCARDABLE "res/calhd.bmp"
IDB_CAL BITMAP DISCARDABLE "res/cal.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SETTINGS DIALOG DISCARDABLE 0, 0, 252, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Settings"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Game Controller Calibration",IDC_SETTINGSGRP,9,6,237,70,
BS_LEFT
PUSHBUTTON "Reset to &default",IDC_RESETCALIBRATION,104,54,64,14
PUSHBUTTON "&Calibrate...",IDC_JOYCALIBRATE,174,54,64,14
LTEXT "If your game controller is not functioning properly on the Test page, it may need to be calibrated. Click Calibrate and follow the instructions to calibrate the controller.",
IDC_TEXT_CALHELP,15,21,225,27
END
IDD_TEST DIALOG DISCARDABLE 0, 0, 252, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Test"
FONT 8, "MS Shell Dlg"
BEGIN
CTEXT "",IDC_JOYLIST1_LABEL,23,95,46,8,NOT WS_VISIBLE | SS_ENDELLIPSIS
LISTBOX IDC_JOYLIST1,24,49,45,40,NOT LBS_NOTIFY | LBS_NOREDRAW | LBS_NOINTEGRALHEIGHT | NOT WS_VISIBLE
CONTROL "",IDC_JOYLIST2,"msctls_progress32",NOT WS_VISIBLE | PBS_VERTICAL | PBS_SMOOTH,80,49,16,42
LTEXT " ",IDC_JOYLIST2_LABEL,76,95,21,8,NOT WS_VISIBLE | SS_ENDELLIPSIS
CONTROL " ",IDC_JOYLIST3,"msctls_progress32",NOT WS_VISIBLE | PBS_VERTICAL | PBS_SMOOTH ,107,49,16,42
LTEXT " ",IDC_JOYLIST3_LABEL,101,95,21,8,NOT WS_VISIBLE | SS_ENDELLIPSIS
CONTROL " ",IDC_JOYLIST4,"msctls_progress32",NOT WS_VISIBLE | PBS_VERTICAL | PBS_SMOOTH ,134,49,16,42
LTEXT " ",IDC_JOYLIST4_LABEL,130,95,21,8,NOT WS_VISIBLE | SS_ENDELLIPSIS
CONTROL " ",IDC_JOYLIST5,"msctls_progress32",NOT WS_VISIBLE | PBS_VERTICAL | PBS_SMOOTH ,163,49,16,42
LTEXT " ",IDC_JOYLIST5_LABEL,157,95,21,8,NOT WS_VISIBLE | SS_ENDELLIPSIS
CONTROL " ",IDC_JOYLIST6,"msctls_progress32",NOT WS_VISIBLE | PBS_VERTICAL | PBS_SMOOTH ,188,49,16,42
LTEXT " ",IDC_JOYLIST6_LABEL,185,95,21,8,NOT WS_VISIBLE | SS_ENDELLIPSIS
CONTROL " ",IDC_JOYLIST7,"msctls_progress32",NOT WS_VISIBLE | PBS_VERTICAL | PBS_SMOOTH ,217,49,16,42
LTEXT " ",IDC_JOYLIST7_LABEL,212,95,21,8,NOT WS_VISIBLE | SS_ENDELLIPSIS
GROUPBOX "Axes",IDC_AXISGRP,8,26,238,85
GROUPBOX "Buttons",IDC_GROUP_BUTTONS,8,114,168,100
CONTROL "1",IDC_TESTJOYBTNICON1,"TESTBUTTON",0x0,12,128,20,20
CONTROL "2",IDC_TESTJOYBTNICON2,"TESTBUTTON",0x0,32,128,20,20
CONTROL "3",IDC_TESTJOYBTNICON3,"TESTBUTTON",0x0,52,128,20,20
CONTROL "4",IDC_TESTJOYBTNICON4,"TESTBUTTON",0x0,72,128,20,20
CONTROL "5",IDC_TESTJOYBTNICON5,"TESTBUTTON",0x0,92,128,20,20
CONTROL "6",IDC_TESTJOYBTNICON6,"TESTBUTTON",0x0,112,128,20,20
CONTROL "7",IDC_TESTJOYBTNICON7,"TESTBUTTON",0x0,132,128,20,20
CONTROL "8",IDC_TESTJOYBTNICON8,"TESTBUTTON",0x0,152,128,20,20
CONTROL "9",IDC_TESTJOYBTNICON9,"TESTBUTTON",0x0,12,148,20,20
CONTROL "10",IDC_TESTJOYBTNICON10,"TESTBUTTON",0x0,32,148,20,20
CONTROL "11",IDC_TESTJOYBTNICON11,"TESTBUTTON",0x0,52,148,20,20
CONTROL "12",IDC_TESTJOYBTNICON12,"TESTBUTTON",0x0,72,148,20,20
CONTROL "13",IDC_TESTJOYBTNICON13,"TESTBUTTON",0x0,92,148,20,20
CONTROL "14",IDC_TESTJOYBTNICON14,"TESTBUTTON",0x0,112,148,20,20
CONTROL "15",IDC_TESTJOYBTNICON15,"TESTBUTTON",0x0,132,148,20,20
CONTROL "16",IDC_TESTJOYBTNICON16,"TESTBUTTON",0x0,152,148,20,20
CONTROL "17",IDC_TESTJOYBTNICON17,"TESTBUTTON",0x0,12,168,20,20
CONTROL "18",IDC_TESTJOYBTNICON18,"TESTBUTTON",0x0,32,168,20,20
CONTROL "19",IDC_TESTJOYBTNICON19,"TESTBUTTON",0x0,52,168,20,20
CONTROL "20",IDC_TESTJOYBTNICON20,"TESTBUTTON",0x0,72,168,20,20
CONTROL "21",IDC_TESTJOYBTNICON21,"TESTBUTTON",0x0,92,168,20,20
CONTROL "22",IDC_TESTJOYBTNICON22,"TESTBUTTON",0x0,112,168,20,20
CONTROL "23",IDC_TESTJOYBTNICON23,"TESTBUTTON",0x0,132,168,20,20
CONTROL "24",IDC_TESTJOYBTNICON24,"TESTBUTTON",0x0,152,168,20,20
CONTROL "25",IDC_TESTJOYBTNICON25,"TESTBUTTON",0x0,12,188,20,20
CONTROL "26",IDC_TESTJOYBTNICON26,"TESTBUTTON",0x0,32,188,20,20
CONTROL "27",IDC_TESTJOYBTNICON27,"TESTBUTTON",0x0,52,188,20,20
CONTROL "28",IDC_TESTJOYBTNICON28,"TESTBUTTON",0x0,72,188,20,20
CONTROL "29",IDC_TESTJOYBTNICON29,"TESTBUTTON",0x0,92,188,20,20
CONTROL "30",IDC_TESTJOYBTNICON30,"TESTBUTTON",0x0,112,188,20,20
CONTROL "31",IDC_TESTJOYBTNICON31,"TESTBUTTON",0x0,132,188,20,20
CONTROL "32",IDC_TESTJOYBTNICON32,"TESTBUTTON",0x0,152,188,20,20
GROUPBOX "Point of View Hat",IDC_GROUP_POV,180,114,66,100,BS_CENTER
CONTROL "",IDC_JOYPOV,"POVHAT",0x0,186,142,52,52
LTEXT "Test the game controller. If the controller is not functioning properly, it may need to be calibrated. To calibrate it, go to the Settings page.",
IDC_TEXT_AXESHELP,11,6,239,17
END
#ifdef FORCE_FEEDBACK
IDD_FORCEFEEDBACK DIALOG DISCARDABLE 0, 0, 252, 218
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Force Feedback"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "&Magnitude",IDC_MAGNITUDE_GRP,10,17,231,60
GROUPBOX "&Coefficient",IDC_COEFFICIENT_GRP,10,83,231,60
GROUPBOX "&Gain",IDC_GAIN_GRP,10,150,231,60
CONTROL "Slider1",IDC_MAGNITUDE_SLIDER,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,28,41,197,15
CONTROL "Slider1",IDC_COEFFICIENT_SLIDER,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,27,110,197,15
CONTROL "Slider1",IDC_GAIN_SLIDER,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,29,177,197,15
END
#endif
IDD_INITIAL DIALOGEX 0, 0, 331, 192
STYLE WS_VISIBLE | WS_CAPTION
CAPTION "Game Device Calibration"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
CONTROL 115,IDC_BITMAP,"Static",SS_BITMAP,0,0,82,156
//CONTROL "",IDC_WHITEFILL,"Static",SS_WHITERECT,110,0,221,192
LTEXT "",IDC_WHITEFILL,110,0,221,192
LTEXT "Welcome to the Device Calibration Wizard",
IDC_INIT_TITLE,118,12,207,75
LTEXT "Use this wizard to calibrate the axes of your game controller.",
IDC_INIT_SUBTITLE,118,91,207,8
END
IDD_XY DIALOGEX 0, 0, 331, 192
STYLE WS_VISIBLE | WS_CAPTION
CAPTION "Game Device Calibration"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LISTBOX IDC_JOYLIST1,9,53,119,110,NOT LBS_NOTIFY | LBS_NOREDRAW |
LBS_NOINTEGRALHEIGHT
CTEXT "",IDC_JOYLIST1_LABEL,6,167,122,25
CONTROL "&Display raw data",IDC_RAWDATA,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,137,181,71,10
LTEXT "",IDC_RAWX,137,88,38,8,NOT WS_VISIBLE
LTEXT "",IDC_RAWXOUTPUT,179,88,140,8,NOT WS_VISIBLE
LTEXT "",IDC_RAWY,137,123,38,8,NOT WS_VISIBLE
LTEXT "",IDC_RAWYOUTPUT,179,123,140,8,NOT WS_VISIBLE
LTEXT "",IDC_BLACKBAR,0,35,331,1,SS_SUNKEN | NOT WS_GROUP,
WS_EX_CLIENTEDGE
LTEXT "",IDC_HEADERFRAME,0,0,331,35
CONTROL 129,IDC_HEADERBITMAP,"Static",SS_BITMAP,293,3,25,25
LTEXT "",IDC_WIZARD_MSG_HDR,13,8,275,8,0,WS_EX_TRANSPARENT
LTEXT "",IDC_WIZARD_MSG,26,18,262,16
#ifdef DEADZONE
LTEXT "Deadzone",IDC_DEADZONE_TITLE,138,59,174,10,
SS_CENTERIMAGE | NOT WS_VISIBLE
EDITTEXT IDC_X_DEADZONE,138,74,22,14,ES_CENTER | ES_AUTOHSCROLL |
ES_READONLY | NOT WS_VISIBLE
CONTROL "Spin1",IDC_X_DEADZONE_SPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNLEFT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK | NOT WS_VISIBLE,163,74,11,
14
EDITTEXT IDC_Y_DEADZONE,138,95,22,14,ES_CENTER | ES_AUTOHSCROLL |
ES_READONLY | NOT WS_VISIBLE
CONTROL "Spin1",IDC_Y_DEADZONE_SPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNLEFT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK | NOT WS_VISIBLE,163,95,11,
14
LTEXT ".",IDC_X_AXIS_LABEL_DEADZONE,179,74,141,14,SS_CENTERIMAGE | NOT WS_VISIBLE
LTEXT ".",IDC_Y_AXIS_LABEL_DEADZONE,179,95,141,14,SS_CENTERIMAGE | NOT WS_VISIBLE
LTEXT "Saturation",IDC_SATURATION_TITLE,138,116,174,11,NOT WS_VISIBLE
EDITTEXT IDC_X_SATURATION,138,130,22,14,ES_CENTER |
ES_AUTOHSCROLL | ES_READONLY | NOT WS_VISIBLE
CONTROL "Spin1",IDC_X_SATURATION_SPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNLEFT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK | NOT WS_VISIBLE,163,130,
11,14
LTEXT ".",IDC_X_AXIS_LABEL_SATURATION,179,130,141,14,SS_CENTERIMAGE | NOT WS_VISIBLE
EDITTEXT IDC_X_DEADZONE3,138,149,22,14,ES_CENTER | ES_AUTOHSCROLL | ES_READONLY | NOT WS_VISIBLE
CONTROL "Spin1",IDC_Y_SATURATION_SPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNLEFT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK | NOT WS_VISIBLE,163,149,
11,14
LTEXT ".",IDC_Y_AXIS_LABEL_SATURATION,179,149,141,14,SS_CENTERIMAGE | NOT WS_VISIBLE
#endif // DEADZONE
END
IDD_SLIDER DIALOGEX 0, 0, 331, 192
STYLE WS_VISIBLE | WS_CAPTION
CAPTION "Game Device Calibration"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
CONTROL "",IDC_SLIDER,"msctls_progress32",WS_GROUP | PBS_SMOOTH |
WS_TABSTOP | 0x1110,6,56,318,27
CONTROL "&Display raw data",IDC_RAWDATA,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,5,181,71,10
LTEXT "",IDC_RAWX,5,130,70,10,NOT WS_VISIBLE
LTEXT "",IDC_RAWXOUTPUT,96,130,227,10,NOT WS_VISIBLE
CTEXT "",IDC_JOYLIST2_LABEL,7,88,316,10
LTEXT "",IDC_HEADERFRAME,0,0,331,35
CONTROL 129,IDC_HEADERBITMAP,"Static",SS_BITMAP,293,3,25,25
LTEXT "",IDC_WIZARD_MSG_HDR,13,8,275,8,0,WS_EX_TRANSPARENT
LTEXT "",IDC_WIZARD_MSG,26,18,267,16
LTEXT "",IDC_BLACKBAR,0,35,331,1,SS_SUNKEN | NOT WS_GROUP,
WS_EX_CLIENTEDGE
END
//#ifndef _UNICODE
IDD_POV DIALOG DISCARDABLE 0, 0, 331, 193
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Game Device Calibration"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "",IDC_HEADERFRAME,0,0,331,35
CONTROL 129,IDC_HEADERBITMAP,"Static",SS_BITMAP,293,3,25,25
LTEXT "",IDC_WIZARD_MSG_HDR,13,8,275,8,0,WS_EX_TRANSPARENT
LTEXT "",IDC_WIZARD_MSG,26,18,267,16
LTEXT "",IDC_BLACKBAR,0,35,331,1,SS_SUNKEN | NOT WS_GROUP,WS_EX_CLIENTEDGE
CONTROL "",IDC_JOYPOV,"POVHAT",0x0,115,46,100,100
PUSHBUTTON "&Set POV",IDC_SETPOV,141,154,50,14
END
//#endif //_UNICODE
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_SLIDER, DIALOG
BEGIN
HORZGUIDE, 2
HORZGUIDE, 40
END
IDD_POV, DIALOG
BEGIN
HORZGUIDE, 3
HORZGUIDE, 40
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_JOYREADERROR "Game Controller Error"
IDS_JOYUNPLUGGED "Your game controller is not connected correctly.\n\nPlease verify that it is plugged into your computer."
IDS_HELPFILENAME "DIJOY.HLP"
IDS_SHEETCAPTION "%s properties"
IDS_JOYCALXY_CENTERYOKE "Leave the yoke centered, then press a button on the controller."
IDS_JOYCALXY_CENTERCAR "Keep the wheel centered, keep your feet off the pedals, then press a button on the controller."
IDS_JOYCALXY_CENTERGAMEPAD
"Leave the D-Pad centered, then press a button on the controller."
IDS_JOYCALXY_CENTER "Leave the handle centered, then press a button on the controller."
IDS_JOYCALXY_MOVEYOKE "Move the yoke all the way in and out, left and right, then press a button on the controller."
IDS_JOYCALXY_MOVECAR "Move the wheel all the way to the left and right, alternately depress pedals, then press a button on the controller."
IDS_JOYCALXY_MOVEGAMEPAD
"Press all of the D-Pad's corners, then press a button on the controller."
IDS_JOYCALXY_MOVE "Move the handle in complete circles, then press a button on the controller."
IDS_JOYCAL_MOVE "Move the %s all the way up and down, then press a button on the controller."
IDS_JOYCAL_DONE "To save your calibration, click Finish."
IDS_CENTER_HDR "Find Center Point"
IDS_VERIFY_CENTER_HDR "Verify Center Point"
IDS_AXIS_CALIBRATION "Axis Calibration"
IDS_CALIBRATION_FINI "Calibration Complete"
IDS_NO_DIJOYCONFIG "Necessary support files not found."
IDS_CALIBRATION "Game Device Calibration"
IDS_INTERNAL_ERROR "Internal Error!"
IDS_USER_MODE_TITLE "Security Privilege Error"
IDS_USER_MODE "The requested service is not available at your access privilege.\nPlease log in as administrator."
IDS_JOYCALPOV_MOVE "Press the POV in the direction of the arrow, then press the Set POV button."
IDS_POV_CALIBRATION "POV Calibration"
#ifdef DEADZONE
IDS_DEADZONE_TITLE "IDS_DEADZONE_TITLE"
IDS_JOYSTICK_DEADZONE "IDS_JOYSTICK_DEADZONE"
IDS_GAMEPAD_DEADZONE "IDS_GAMEPAD_DEADZONE"
IDS_CAR_DEADZONE "IDS_CAR_DEADZONE"
IDS_YOKE_DEADZONE "IDS_YOKE_DEADZONE"
#endif // DEADZONE
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED