123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496 |
- //--- 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 ---
|