Torque3D/Templates/Modules/inputTest/scripts/gui/joystickSettings.gui

497 lines
15 KiB
Plaintext

//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(JoystickSettingsDlg) {
position = "0 0";
extent = "1024 768";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiModelessDialogProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
canSave = "1";
canSaveDynamicFields = "1";
axisDeadzone = "0.1";
maxLines = "500";
new GuiContainer() {
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "212 184";
extent = "600 404";
minExtent = "8 2";
horizSizing = "center";
vertSizing = "center";
profile = "GuiEventBackgroundProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
canSave = "1";
canSaveDynamicFields = "0";
new GuiTextCtrl() {
text = "Input Monitor Settings/Joystick Devices";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "12 4";
extent = "578 20";
minExtent = "8 8";
horizSizing = "width";
vertSizing = "bottom";
profile = "GuiMenuButtonProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiCheckBoxCtrl() {
text = "pref::Input::JoystickEnabled";
groupNum = "-1";
buttonType = "ToggleButton";
useMouseEvents = "0";
position = "40 28";
extent = "250 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
variable = "$pref::Input::JoystickEnabled";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "0";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiCheckBoxCtrl() {
text = "pref::Input::sdlControllerEnabled";
groupNum = "-1";
buttonType = "ToggleButton";
useMouseEvents = "0";
position = "326 28";
extent = "250 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
variable = "$pref::Input::sdlControllerEnabled";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "0";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiCheckBoxCtrl() {
text = "4 Axis Joystick Split L/R";
groupNum = "-1";
buttonType = "ToggleButton";
useMouseEvents = "0";
position = "40 52";
extent = "206 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
variable = "$pref::Input::JoystickSplitAxesLR";
tooltipProfile = "GuiToolTipProfile";
tooltip = "Split axis inputs on 4 axis joysticks. This has no effect on any other device.\n4 Axis joysticks use IDs 0-3 which get mapped to xaxis, yaxis, zaxis and rxaxis. When true, this will increment IDs 2 and 3 so the inputs map to xaxis, yaxis, rxaxis and ryaxis.";
hovertime = "1000";
isContainer = "0";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiCheckBoxCtrl() {
text = "POV Button Events";
groupNum = "-1";
buttonType = "ToggleButton";
useMouseEvents = "0";
position = "252 52";
extent = "155 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
variable = "$pref::Input::JoystickPOVButtons";
tooltipProfile = "GuiToolTipProfile";
tooltip = "(Joystick only) If true, the pov hat will be treated as 4 buttons and make/break events will be generated for upov, dpov, lpov and rpov.";
hovertime = "1000";
isContainer = "0";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiCheckBoxCtrl() {
text = "POV Mask Events";
groupNum = "-1";
buttonType = "ToggleButton";
useMouseEvents = "0";
position = "420 52";
extent = "156 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
variable = "$pref::Input::JoystickPOVMask";
tooltipProfile = "GuiToolTipProfile";
tooltip = "(Joystick only) If true, the pov hat will be treated as a single input with a 4 bit mask value. The povmask event will be generated with the current mask every time the mask value changes.";
hovertime = "1000";
isContainer = "0";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiTextCtrl() {
text = "Input Monitor Axis Deadzone";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "40 76";
extent = "208 20";
minExtent = "8 8";
horizSizing = "width";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiSliderCtrl() {
range = "0 1";
ticks = "0";
snap = "0";
value = "0";
position = "256 80";
extent = "215 20";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiSliderProfile";
visible = "1";
active = "1";
variable = "InputMonitorDlg.axisDeadzone";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "0";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiTextCtrl() {
text = "0";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "476 76";
extent = "100 20";
minExtent = "8 8";
horizSizing = "width";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
variable = "InputMonitorDlg.axisDeadzone";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiScrollCtrl(IEMDeviceScroll) {
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
lockHorizScroll = "0";
lockVertScroll = "0";
constantThumbHeight = "0";
childMargin = "0 0";
mouseWheelScrollSpeed = "-1";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "12 100";
extent = "578 268";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "ConsoleScrollProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
canSave = "1";
canSaveDynamicFields = "0";
new GuiDynamicCtrlArrayControl() {
colCount = "0";
colSize = "562";
rowCount = "0";
rowSize = "132";
rowSpacing = "2";
colSpacing = "0";
frozen = "0";
autoCellSize = "0";
fillRowFirst = "1";
dynamicSize = "1";
padding = "0 0 0 0";
position = "1 1";
extent = "566 189";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiDefaultProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
internalName = "deviceArray";
canSave = "1";
canSaveDynamicFields = "0";
};
};
new GuiContainer(DevicePrototype) {
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "0 0";
extent = "562 132";
minExtent = "8 2";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventBorderProfile";
visible = "0";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
hidden = "1";
canSave = "1";
canSaveDynamicFields = "0";
new GuiTextCtrl() {
text = "";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "8 8";
extent = "386 20";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventCheckboxProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
internalName = "DeviceName";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiTextCtrl() {
text = "";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "384 8";
extent = "166 20";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventTextProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
internalName = "DeviceOpen";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiTextCtrl() {
text = "";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "24 32";
extent = "530 20";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventTextProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
internalName = "DeviceGUID";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiTextCtrl() {
text = "";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "24 56";
extent = "530 20";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventTextProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
internalName = "DeviceSpecs";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiTextCtrl() {
text = "";
maxLength = "255";
margin = "0 0 0 0";
padding = "0 0 0 0";
anchorTop = "1";
anchorBottom = "0";
anchorLeft = "1";
anchorRight = "0";
position = "24 80";
extent = "530 20";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "bottom";
profile = "GuiEventTextProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "1";
internalName = "DeviceDetails";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiButtonCtrl() {
text = "Open as Joystick";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "30 104";
extent = "240 24";
minExtent = "8 8";
horizSizing = "right";
vertSizing = "top";
profile = "GuiMenuButtonProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "0";
internalName = "button1";
canSave = "1";
canSaveDynamicFields = "0";
};
new GuiButtonCtrl() {
text = "Open as Game Controller";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "292 104";
extent = "240 24";
minExtent = "8 8";
horizSizing = "left";
vertSizing = "top";
profile = "GuiMenuButtonProfile";
visible = "1";
active = "1";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "0";
internalName = "button2";
canSave = "1";
canSaveDynamicFields = "0";
};
};
new GuiButtonCtrl() {
text = "Done";
groupNum = "-1";
buttonType = "PushButton";
useMouseEvents = "0";
position = "260 376";
extent = "80 24";
minExtent = "8 8";
horizSizing = "center";
vertSizing = "top";
profile = "GuiMenuButtonProfile";
visible = "1";
active = "1";
command = "JoystickSettingsDlg.closeSettings();";
accelerator = "escape";
tooltipProfile = "GuiToolTipProfile";
hovertime = "1000";
isContainer = "0";
canSave = "1";
canSaveDynamicFields = "0";
};
};
};
//--- OBJECT WRITE END ---