Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Enumerations
InputLockManager.cs File Reference

Classes

class  InputLockManager
 

Enumerations

enum  ControlTypes : ulong {
  ControlTypes.None = 0ul, ControlTypes.All = (1ul << 60) - 1, ControlTypes.UI = ~0ul - All, ControlTypes.PITCH = 1ul << 0,
  ControlTypes.ROLL = 1ul << 2, ControlTypes.YAW = 1ul << 3, ControlTypes.THROTTLE = 1ul << 4, ControlTypes.LINEAR = 1ul << 13,
  ControlTypes.SAS = 1ul << 5, ControlTypes.PAUSE = 1ul << 6, ControlTypes.STAGING = 1ul << 7, ControlTypes.CAMERAMODES = 1ul << 8,
  ControlTypes.MISC = 1ul << 9, ControlTypes.CAMERACONTROLS = 1ul << 10, ControlTypes.TIMEWARP = 1ul << 11, ControlTypes.TWEAKABLES_ANYCONTROL = 1ul << 12,
  ControlTypes.QUICKSAVE = 1ul << 14, ControlTypes.QUICKLOAD = 1ul << 15, ControlTypes.VESSEL_SWITCHING = 1ul << 16, ControlTypes.CUSTOM_ACTION_GROUPS = 1ul << 17,
  ControlTypes.GROUP_ABORT = 1ul << 18, ControlTypes.GROUP_GEARS = 1ul << 19, ControlTypes.GROUP_LIGHTS = 1ul << 20, ControlTypes.GROUP_BRAKES = 1ul << 21,
  ControlTypes.GROUP_STAGE = 1ul << 22, ControlTypes.ACTIONS_SHIP = 1ul << 23, ControlTypes.ACTIONS_EXTERNAL = 1ul << 24, ControlTypes.RCS = 1ul << 25,
  ControlTypes.WHEEL_STEER = 1ul << 26, ControlTypes.WHEEL_THROTTLE = 1ul << 27, ControlTypes.EVA_INPUT = 1ul << 28, ControlTypes.EDITOR_ICON_HOVER = 1ul << 29,
  ControlTypes.EDITOR_ICON_PICK = 1ul << 30, ControlTypes.EDITOR_TAB_SWITCH = 1ul << 31, ControlTypes.EDITOR_SAVE = 1ul << 32, ControlTypes.EDITOR_LOAD = 1ul << 33,
  ControlTypes.EDITOR_EXIT = 1ul << 34, ControlTypes.EDITOR_NEW = 1ul << 35, ControlTypes.EDITOR_LAUNCH = 1ul << 36, ControlTypes.EDITOR_PAD_PICK_PLACE = 1ul << 37,
  ControlTypes.EDITOR_PAD_PICK_COPY = 1ul << 38, ControlTypes.EDITOR_GIZMO_TOOLS = 1ul << 39, ControlTypes.EDITOR_ROOT_REFLOW = 1ul << 40, ControlTypes.EDITOR_SYM_SNAP_UI = 1ul << 41,
  ControlTypes.EDITOR_EDIT_STAGES = 1ul << 42, ControlTypes.EDITOR_EDIT_NAME_FIELDS = 1ul << 43, ControlTypes.EDITOR_UNDO_REDO = 1ul << 44, ControlTypes.EDITOR_MODE_SWITCH = 1ul << 45,
  ControlTypes.TRACKINGSTATION_UI = 1ul << 46, ControlTypes.KSC_FACILITIES = 1ul << 47, ControlTypes.KSC_UI = 1ul << 48, ControlTypes.APPLAUNCHER_BUTTONS = 1ul << 49,
  ControlTypes.MAIN_MENU = 1ul << 50, ControlTypes.GUI = 1ul << 51, ControlTypes.MAP_UI = 1ul << 52, ControlTypes.MAP_TOGGLE = 1ul << 53,
  ControlTypes.FLIGHTUIMODE = 1ul << 54, ControlTypes.TARGETING = 1ul << 55, ControlTypes.MANNODE_ADDEDIT = 1ul << 56, ControlTypes.MANNODE_DELETE = 1ul << 57,
  ControlTypes.THROTTLE_CUT_MAX = 1ul << 58, ControlTypes.TWEAKABLES_FULLONLY = 1ul << 59, ControlTypes.UI_MAIN = 1ul << 60, ControlTypes.UI_DIALOGS = 1ul << 61,
  ControlTypes.UI_DRAGGING = 1ul << 62, ControlTypes.EDITOR_CREW = 1ul << 63, ControlTypes.ALLBUTCAMERAS = All & ~(CAMERACONTROLS | CAMERAMODES | TARGETING | MANNODE_ADDEDIT | MANNODE_DELETE), ControlTypes.ALLBUTTARGETING = All & ~(TARGETING),
  ControlTypes.MAP = MAP_UI | MAP_TOGGLE, ControlTypes.MAPVIEW = All & ~(PAUSE | TIMEWARP | MISC | CAMERACONTROLS | MAP | VESSEL_SWITCHING | QUICKLOAD | QUICKSAVE | GUI | EDITOR_EDIT_NAME_FIELDS | TARGETING | MANNODE_ADDEDIT | MANNODE_DELETE | THROTTLE_CUT_MAX), ControlTypes.GROUPS_ALL = CUSTOM_ACTION_GROUPS | GROUP_ABORT | GROUP_GEARS | GROUP_LIGHTS | GROUP_BRAKES | GROUP_STAGE, ControlTypes.ACTIONS_ALL = ACTIONS_SHIP | ACTIONS_EXTERNAL,
  ControlTypes.TWEAKABLES = TWEAKABLES_ANYCONTROL | TWEAKABLES_FULLONLY, ControlTypes.ALL_SHIP_CONTROLS = All & ~(MAP | PAUSE | CAMERAMODES | QUICKSAVE | QUICKLOAD | VESSEL_SWITCHING | CAMERACONTROLS | TIMEWARP | GUI | TARGETING | MANNODE_ADDEDIT | MANNODE_DELETE), ControlTypes.ALL_SHIP_CONTROLS_ALLOW_UIMODE = All & ~(FLIGHTUIMODE | MAP | PAUSE | CAMERAMODES | QUICKSAVE | QUICKLOAD | VESSEL_SWITCHING | CAMERACONTROLS | TIMEWARP | GUI | TARGETING | MANNODE_ADDEDIT | MANNODE_DELETE), ControlTypes.WARPTO_LOCK = ALL_SHIP_CONTROLS | QUICKLOAD | VESSEL_SWITCHING,
  ControlTypes.PARTIAL_SHIP_CONTROLS = YAW | PITCH | ROLL | THROTTLE | WHEEL_STEER | WHEEL_THROTTLE | LINEAR | TWEAKABLES_FULLONLY, ControlTypes.PARTIAL_SHIP_CONTROLS_SASRCS = YAW | PITCH | ROLL | SAS | RCS | THROTTLE | WHEEL_STEER | WHEEL_THROTTLE | LINEAR | TWEAKABLES_FULLONLY, ControlTypes.STAGE_IN_MAP_CONTROLS = None & (PITCH | ROLL | YAW | THROTTLE | LINEAR | SAS | PAUSE | STAGING | TIMEWARP | RCS | FLIGHTUIMODE | TARGETING | MANNODE_ADDEDIT | MANNODE_DELETE | THROTTLE_CUT_MAX), ControlTypes.EDITOR_UI_TOPRIGHT = EDITOR_EXIT | EDITOR_LAUNCH | EDITOR_SAVE | EDITOR_LOAD | EDITOR_NEW,
  ControlTypes.EDITOR_UI_TOPBAR = EDITOR_UI_TOPRIGHT | EDITOR_EDIT_NAME_FIELDS | EDITOR_MODE_SWITCH, ControlTypes.EDITOR_UI = EDITOR_UI_TOPBAR | EDITOR_SYM_SNAP_UI | EDITOR_UNDO_REDO | EDITOR_EDIT_STAGES, ControlTypes.EDITOR_LOCK, ControlTypes.EDITOR_SOFT_LOCK,
  ControlTypes.EDITOR_SOFT_LOCK_ALLOW_SNAP, ControlTypes.KSC_ALL = KSC_FACILITIES | KSC_UI | TIMEWARP, ControlTypes.TRACKINGSTATION_ALL = TRACKINGSTATION_UI | TIMEWARP | TARGETING | MANNODE_ADDEDIT | MANNODE_DELETE, ControlTypes.TUTORIALWINDOW,
  ControlTypes.KEYBOARDINPUT
}
 

Enumeration Type Documentation

enum ControlTypes : ulong
Enumerator
None 
All 
UI 
PITCH 
ROLL 
YAW 
THROTTLE 
LINEAR 
SAS 
PAUSE 
STAGING 
CAMERAMODES 
MISC 
CAMERACONTROLS 
TIMEWARP 
TWEAKABLES_ANYCONTROL 
QUICKSAVE 
QUICKLOAD 
VESSEL_SWITCHING 
CUSTOM_ACTION_GROUPS 
GROUP_ABORT 
GROUP_GEARS 
GROUP_LIGHTS 
GROUP_BRAKES 
GROUP_STAGE 
ACTIONS_SHIP 
ACTIONS_EXTERNAL 
RCS 
WHEEL_STEER 
WHEEL_THROTTLE 
EVA_INPUT 
EDITOR_ICON_HOVER 
EDITOR_ICON_PICK 
EDITOR_TAB_SWITCH 
EDITOR_SAVE 
EDITOR_LOAD 
EDITOR_EXIT 
EDITOR_NEW 
EDITOR_LAUNCH 
EDITOR_PAD_PICK_PLACE 
EDITOR_PAD_PICK_COPY 
EDITOR_GIZMO_TOOLS 
EDITOR_ROOT_REFLOW 
EDITOR_SYM_SNAP_UI 
EDITOR_EDIT_STAGES 
EDITOR_EDIT_NAME_FIELDS 
EDITOR_UNDO_REDO 
EDITOR_MODE_SWITCH 
TRACKINGSTATION_UI 
KSC_FACILITIES 
KSC_UI 
APPLAUNCHER_BUTTONS 
MAIN_MENU 
GUI 
MAP_UI 
MAP_TOGGLE 
FLIGHTUIMODE 
TARGETING 
MANNODE_ADDEDIT 
MANNODE_DELETE 
THROTTLE_CUT_MAX 
TWEAKABLES_FULLONLY 
UI_MAIN 
UI_DIALOGS 
UI_DRAGGING 
EDITOR_CREW 
ALLBUTCAMERAS 
ALLBUTTARGETING 
MAP 
MAPVIEW 
GROUPS_ALL 
ACTIONS_ALL 
TWEAKABLES 
ALL_SHIP_CONTROLS 
ALL_SHIP_CONTROLS_ALLOW_UIMODE 
WARPTO_LOCK 
PARTIAL_SHIP_CONTROLS 
PARTIAL_SHIP_CONTROLS_SASRCS 
STAGE_IN_MAP_CONTROLS 
EDITOR_UI_TOPRIGHT 
EDITOR_UI_TOPBAR 
EDITOR_UI 
EDITOR_LOCK 
EDITOR_SOFT_LOCK 
EDITOR_SOFT_LOCK_ALLOW_SNAP 
KSC_ALL 
TRACKINGSTATION_ALL 
TUTORIALWINDOW 
KEYBOARDINPUT