Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##==================================================================
- ## * DX Joystick Buttons and Hats
- ##
- ## for VKB Gladiator NXT (Premium) w/ SEM extension module
- ## PIDVID: 0204231D
- ##
- ## The button numbering requires following cfg:
- ## set g_nButtonsPerDevice 128
- ## set g_nHotasPinkyShiftMagnitude 2000
- ##
- ## Button Table:
- ## 0 => trigger1
- ## 1 => trigger2
- ## 2 => red-button (pickle)
- ## 3 => grey-button (missile-step)
- ## 4 => pinky-button
- ## 5-9 => lower-middle hat
- ## 10-14 => upper-right hat
- ## 15-19 => lower-stick hat
- ## 20,21 => trigger-switch
- ## 22,23 => left-encoder
- ## 24,25 => right-encoder
- ## 26 => center-base
- ## 27 => left-base
- ## 28 => right-base
- ## Hat => upper-left (click to toggle mode from analog Rx/Ry axes to digital hat)
- ## ---
- ## 40-56 => SEM side-extension module
- ##----------------------------------------
- ## Stick Buttons
- ##
- SimTriggerFirstDetent 0 -1 -2 0 0x0 0
- SimTriggerSecondDetent 1 -1 -2 0 0x0 0
- SimPickle 2 -1 -2 0 0x0 0
- SimMissileStep 3 -1 -2 0 0x0 0
- SimHotasPinkyShift 4 -1 -2 0 0x0 0
- # (shifted)
- SimTriggerFirstDetent 2000 -1 -2 0 0x0 0
- SimTriggerSecondDetent 2001 -1 -2 0 0x0 0
- SimPickle 2002 -1 -2 0 0x0 0
- SimToggleMissileCage 2003 -1 -2 0 0x0 0
- SimHotasPinkyShift 2004 -1 -2 0 0x0 0
- ##----------------------------------------
- ## Middle Hat Switches
- ##
- SimDMSUp 5 -1 -2 0 0x0 0
- SimDMSRight 6 -1 -2 0 0x0 0
- SimDMSDown 7 -1 -2 0 0x0 0
- SimDMSLeft 8 -1 -2 0 0x0 0
- SimCursorEnable 9 -1 -2 0 0x0 0
- # (shifted)
- OTWSelectF3PadlockModeAA 2005 -1 -2 0 0x0 0
- OTWStepNextPadlock 2006 -1 -2 0 0x0 0
- OTWSelectF3PadlockModeAG 2007 -1 -2 0 0x0 0
- OTWStepPrevPadlock 2008 -1 -2 0 0x0 0
- SimRadarCursorZero 2009 -1 -2 0 0x0 0
- ##----------------------------------------
- ## Upper Hat Switches
- ##
- SimTMSUp 10 -1 -2 0 0x0 0
- SimTMSRight 11 -1 -2 0 0x0 0
- SimTMSDown 12 -1 -2 0 0x0 0
- SimTMSLeft 13 -1 -2 0 0x0 0
- SimToggleMissileCage 14 -1 -2 0 0x0 0
- # (shifted)
- SimTMSUp 2010 -1 -2 0 0x0 0
- SimTMSRight 2011 -1 -2 0 0x0 0
- SimTMSDown 2012 -1 -2 0 0x0 0
- SimTMSLeft 2013 -1 -2 0 0x0 0
- SimToggleMissileCage 2014 -1 -2 0 0x0 0
- ##----------------------------------------
- ## Stick Hat Switches
- ##
- SimCMSUp 15 -1 -2 0 0x0 0
- SimCMSRight 16 -1 -2 0 0x0 0
- SimCMSDown 17 -1 -2 0 0x0 0
- SimCMSLeft 18 -1 -2 0 0x0 0
- SimSlapSwitch 19 -1 -2 0 0x0 0
- # (shifted)
- SimTransmitCom1 2015 -1 -2 0 0x0 0
- SimCommsSwitchRight 2016 -1 -2 0 0x0 0
- SimTransmitCom2 2017 -1 -2 0 0x0 0
- SimCommsSwitchLeft 2018 -1 -2 0 0x0 0
- SimSlapSwitch 2019 -1 -2 0 0x0 0
- ##----------------------------------------
- ## Trigger-Clicker Switch
- ##
- OTWGlanceForward 20 -1 -2 0 0x0 0
- OTWSelect3DCockpitMode 21 -1 -2 0 0x0 0
- # (shifted)
- FOVToggle 2020 -1 -2 0 0x0 0
- FOVDefault 2021 -1 -2 0 0x0 0
- ##----------------------------------------
- ## Left Encoder Wheel
- ##
- SimRadarElevationUp 22 -1 -2 0 0x0 0
- SimRadarElevationDown 23 -1 -2 0 0x0 0
- # (shifted)
- SimRadarElevationUp 2022 -1 -2 0 0x0 0
- SimRadarElevationDown 2023 -1 -2 0 0x0 0
- ##TODO: shifted encoder wheels: hmcs? fov-zoom? fcr/hsd-range? crs/hdg knobs?
- ##----------------------------------------
- ## Right Encoder Wheel
- ##
- SimRangeKnobUp 24 -1 -2 0 0x0 0
- SimRangeKnobDown 25 -1 -2 0 0x0 0
- # (shifted)
- SimRangeKnobUp 2024 -1 -2 0 0x0 0
- SimRangeKnobDown 2025 -1 -2 0 0x0 0
- ##----------------------------------------
- ## Base Buttons
- ##
- SimRightAPMid 26 -1 -2 0 0x0 0
- SimRightAPDown 27 -1 -2 0 0x0 0
- SimRightAPUp 28 -1 -2 0 0x0 0
- # (shifted)
- SimLeftAPMid 2026 -1 -2 0 0x0 0
- SimLeftAPDown 2027 -1 -2 0 0x0 0
- SimLeftAPUp 2028 -1 -2 0 0x0 0
- ##----------------------------------------
- ## Digital Hat - (bugbug: default POV-pan functionality seems to work smoother)
- ##
- ##OTWViewUp 0 -1 -3 0 0x0 -1
- ##OTWViewUpRight 0 -1 -3 1 0x0 -1
- ##OTWViewRight 0 -1 -3 2 0x0 -1
- ##OTWViewDownRight 0 -1 -3 3 0x0 -1
- ##OTWViewDown 0 -1 -3 4 0x0 -1
- ##OTWViewDownLeft 0 -1 -3 5 0x0 -1
- ##OTWViewLeft 0 -1 -3 6 0x0 -1
- ##OTWViewUpLeft 0 -1 -3 7 0x0 -1
- # (shifted)
- AFElevatorTrimUp 2 -1 -3 0 0x0 -1
- SimDoNothing 2 -1 -3 1 0x0 -1
- AFAileronTrimRight 2 -1 -3 2 0x0 -1
- SimDoNothing 2 -1 -3 3 0x0 -1
- AFElevatorTrimDown 2 -1 -3 4 0x0 -1
- SimDoNothing 2 -1 -3 5 0x0 -1
- AFAileronTrimLeft 2 -1 -3 6 0x0 -1
- SimDoNothing 2 -1 -3 7 0x0 -1
- ##----------------------------------------
- ## SEM (side-extension module)
- ##
- ## 40-41 => A1-2
- ## 42-44 => B1-3
- ## 45-50 => K1-2
- ## 51 => R1
- ## 52-55 => M1-4
- ## 56 => C1
- #
- # A1-2
- SimAPOverride 40 -1 -2 0 0x0 0
- SimTrimAPDisc 41 -2 -2 0 0x0 0
- SimTrimAPDisc 41 -2 -2 0x42 0x0 0
- #
- # A1-2 (shifted)
- SimLaunchBarToggle 2040 -1 -2 0 0x0 0
- SimHookToggle 2041 -1 -2 0 0x0 0
- #
- # B1-3
- SimTrimRollLeft 42 -1 -2 0 0x0 0
- AFResetTrim 43 -1 -2 0 0x0 0
- SimTrimRollRight 44 -1 -2 0 0x0 0
- #
- # B1-3 (shifted)
- SimTrimYawLeft 2042 -1 -2 0 0x0 0
- SimF18ThrottleATC 2043 -1 -2 0 0x0 0
- SimTrimYawRight 2044 -1 -2 0 0x0 0
- #
- # K1
- SimTransmitCom1 45 -1 -2 0 0x0 0
- SimRadarCursorZero 46 -1 -2 0 0x0 0
- SimTransmitCom2 47 -1 -2 0 0x0 0
- #
- # K1 (shifted)
- SimSelectMRMOverride 2045 -1 -2 0 0x0 0
- SimDeselectOverride 2046 -1 -2 0 0x0 0
- SimSelectSRMOverride 2047 -1 -2 0 0x0 0
- #
- # K2
- AFBrakesIn 48 -1 -2 0 0x0 0
- AFBrakesToggle 49 -1 -2 0 0x0 0
- AFBrakesOut 50 -1 -2 0 0x0 0
- #
- # K2 (shifted)
- AFGearUp 2048 -1 -2 0 0x0 0
- SimHookToggle 2049 -1 -2 0 0x0 0 ##dupe
- AFGearDown 2050 -1 -2 0 0x0 0
- #
- # R1
- SimEmergencyJettison 51 -1 -2 0 0x0 0
- #
- # R1 (shifted)
- SimEject 2051 -1 -2 0 0x0 0
- #
- # M1-4
- SimEWSProgOne 52 -1 -2 0 0x0 0
- SimEWSProgTwo 53 -1 -2 0 0x0 0
- SimEWSProgThree 54 -1 -2 0 0x0 0
- SimEWSProgFour 55 -1 -2 0 0x0 0
- #
- # M1-4 (shifted)
- SimEWSProgOne 2052 -1 -2 0 0x0 0
- SimEWSProgTwo 2053 -1 -2 0 0x0 0
- SimEWSProgThree 2054 -1 -2 0 0x0 0
- SimEWSProgFour 2055 -1 -2 0 0x0 0
- #
- # C1
- SimVisorToggle 56 -1 -2 0 0x0 0
- #
- # C1 (shifted)
- ToggleNVGMode 2056 -1 -2 0 0x0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement