Space Engineers
Classes | Enumerations
Package VRage.Input

Classes

interface  IMyControlNameLookup
 
interface  IMyInput
 
class  JoystickExtensions
 
class  MyControl
 
class  MyControllerHelper
 
class  MyDirectInput
 
class  MyDirectInputExtensions
 
class  MyDirectXInput
 
class  MyEnumsToStrings
 
class  MyGuiDescriptor
 
class  MyGuiGameControlsHelpers
 
class  MyGuiLocalizedKeyboardState
 
class  MyInput
 
class  MyInputExtensions
 
class  MyJoystickConstants
 
struct  MyKeyboardBuffer
 
struct  MyKeyboardState
 
class  MyKeyHasher
 
struct  MyMouseState
 
class  MyNullInput
 
class  MyWindowsKeyboard
 
class  MyWindowsMouse
 

Enumerations

enum  MyGuiControlTypeEnum : byte {
  MyGuiControlTypeEnum.General, MyGuiControlTypeEnum.Navigation, MyGuiControlTypeEnum.Navigation2, MyGuiControlTypeEnum.ToolsOrWeapons,
  MyGuiControlTypeEnum.ToolsOrWeapons2, MyGuiControlTypeEnum.Systems1, MyGuiControlTypeEnum.Systems2, MyGuiControlTypeEnum.Systems3,
  MyGuiControlTypeEnum.Spectator
}
 
enum  MyGuiInputDeviceEnum : byte { MyGuiInputDeviceEnum.None = 0, MyGuiInputDeviceEnum.Keyboard = 1, MyGuiInputDeviceEnum.Mouse = 2, MyGuiInputDeviceEnum.KeyboardSecond = 5 }
 
enum  MyJoystickAxesEnum : byte {
  MyJoystickAxesEnum.None = 0, MyJoystickAxesEnum.Xpos = 1, MyJoystickAxesEnum.Xneg = 2, MyJoystickAxesEnum.Ypos = 3,
  MyJoystickAxesEnum.Yneg = 4, MyJoystickAxesEnum.Zpos = 5, MyJoystickAxesEnum.Zneg = 6, MyJoystickAxesEnum.RotationXpos = 7,
  MyJoystickAxesEnum.RotationXneg = 8, MyJoystickAxesEnum.RotationYpos = 9, MyJoystickAxesEnum.RotationYneg = 10, MyJoystickAxesEnum.RotationZpos = 11,
  MyJoystickAxesEnum.RotationZneg = 12, MyJoystickAxesEnum.Slider1pos = 13, MyJoystickAxesEnum.Slider1neg = 14, MyJoystickAxesEnum.Slider2pos = 15,
  MyJoystickAxesEnum.Slider2neg = 16
}
 
enum  MyJoystickButtonsEnum : byte {
  MyJoystickButtonsEnum.None = 0, MyJoystickButtonsEnum.JDLeft = 1, MyJoystickButtonsEnum.JDRight = 2, MyJoystickButtonsEnum.JDUp = 3,
  MyJoystickButtonsEnum.JDDown = 4, MyJoystickButtonsEnum.J01 = 5, MyJoystickButtonsEnum.J02 = 6, MyJoystickButtonsEnum.J03 = 7,
  MyJoystickButtonsEnum.J04 = 8, MyJoystickButtonsEnum.J05 = 9, MyJoystickButtonsEnum.J06 = 10, MyJoystickButtonsEnum.J07 = 11,
  MyJoystickButtonsEnum.J08 = 12, MyJoystickButtonsEnum.J09 = 13, MyJoystickButtonsEnum.J10 = 14, MyJoystickButtonsEnum.J11 = 15,
  MyJoystickButtonsEnum.J12 = 16, MyJoystickButtonsEnum.J13 = 17, MyJoystickButtonsEnum.J14 = 18, MyJoystickButtonsEnum.J15 = 19,
  MyJoystickButtonsEnum.J16 = 20
}
 
enum  MyKeys : byte {
  MyKeys.None = 0x00, MyKeys.LeftButton = 0x01, MyKeys.RightButton = 0x02, MyKeys.Cancel = 0x03,
  MyKeys.MiddleButton = 0x04, MyKeys.ExtraButton1 = 0x05, MyKeys.ExtraButton2 = 0x06, MyKeys.Back = 0x08,
  MyKeys.Tab = 0x09, MyKeys.Clear = 0x0C, MyKeys.Enter = 0x0D, MyKeys.Shift = 0x10,
  MyKeys.Control = 0x11, MyKeys.Alt = 0x12, MyKeys.Pause = 0x13, MyKeys.CapsLock = 0x14,
  MyKeys.Kana = 0x15, MyKeys.Hangeul = 0x15, MyKeys.Hangul = 0x15, MyKeys.Junja = 0x17,
  MyKeys.Final = 0x18, MyKeys.Hanja = 0x19, MyKeys.Kanji = 0x19, MyKeys.Escape = 0x1B,
  MyKeys.Convert = 0x1C, MyKeys.NonConvert = 0x1D, MyKeys.Accept = 0x1E, MyKeys.ModeChange = 0x1F,
  MyKeys.Space = 0x20, MyKeys.PageUp = 0x21, MyKeys.PageDown = 0x22, MyKeys.End = 0x23,
  MyKeys.Home = 0x24, MyKeys.Left = 0x25, MyKeys.Up = 0x26, MyKeys.Right = 0x27,
  MyKeys.Down = 0x28, MyKeys.Select = 0x29, MyKeys.Print = 0x2A, MyKeys.Execute = 0x2B,
  MyKeys.Snapshot = 0x2C, MyKeys.Insert = 0x2D, MyKeys.Delete = 0x2E, MyKeys.Help = 0x2F,
  MyKeys.D0 = 0x30, MyKeys.D1 = 0x31, MyKeys.D2 = 0x32, MyKeys.D3 = 0x33,
  MyKeys.D4 = 0x34, MyKeys.D5 = 0x35, MyKeys.D6 = 0x36, MyKeys.D7 = 0x37,
  MyKeys.D8 = 0x38, MyKeys.D9 = 0x39, MyKeys.A = 0x41, MyKeys.B = 0x42,
  MyKeys.C = 0x43, MyKeys.D = 0x44, MyKeys.E = 0x45, MyKeys.F = 0x46,
  MyKeys.G = 0x47, MyKeys.H = 0x48, MyKeys.I = 0x49, MyKeys.J = 0x4A,
  MyKeys.K = 0x4B, MyKeys.L = 0x4C, MyKeys.M = 0x4D, MyKeys.N = 0x4E,
  MyKeys.O = 0x4F, MyKeys.P = 0x50, MyKeys.Q = 0x51, MyKeys.R = 0x52,
  MyKeys.S = 0x53, MyKeys.T = 0x54, MyKeys.U = 0x55, MyKeys.V = 0x56,
  MyKeys.W = 0x57, MyKeys.X = 0x58, MyKeys.Y = 0x59, MyKeys.Z = 0x5A,
  MyKeys.LeftWindows = 0x5B, MyKeys.RightWindows = 0x5C, MyKeys.Apps = 0x5D, MyKeys.Sleep = 0x5F,
  MyKeys.NumPad0 = 0x60, MyKeys.NumPad1 = 0x61, MyKeys.NumPad2 = 0x62, MyKeys.NumPad3 = 0x63,
  MyKeys.NumPad4 = 0x64, MyKeys.NumPad5 = 0x65, MyKeys.NumPad6 = 0x66, MyKeys.NumPad7 = 0x67,
  MyKeys.NumPad8 = 0x68, MyKeys.NumPad9 = 0x69, MyKeys.Multiply = 0x6A, MyKeys.Add = 0x6B,
  MyKeys.Separator = 0x6C, MyKeys.Subtract = 0x6D, MyKeys.Decimal = 0x6E, MyKeys.Divide = 0x6F,
  MyKeys.F1 = 0x70, MyKeys.F2 = 0x71, MyKeys.F3 = 0x72, MyKeys.F4 = 0x73,
  MyKeys.F5 = 0x74, MyKeys.F6 = 0x75, MyKeys.F7 = 0x76, MyKeys.F8 = 0x77,
  MyKeys.F9 = 0x78, MyKeys.F10 = 0x79, MyKeys.F11 = 0x7A, MyKeys.F12 = 0x7B,
  MyKeys.F13 = 0x7C, MyKeys.F14 = 0x7D, MyKeys.F15 = 0x7E, MyKeys.F16 = 0x7F,
  MyKeys.F17 = 0x80, MyKeys.F18 = 0x81, MyKeys.F19 = 0x82, MyKeys.F20 = 0x83,
  MyKeys.F21 = 0x84, MyKeys.F22 = 0x85, MyKeys.F23 = 0x86, MyKeys.F24 = 0x87,
  MyKeys.NumLock = 0x90, MyKeys.ScrollLock = 0x91, MyKeys.NEC_Equal = 0x92, MyKeys.Fujitsu_Jisho = 0x92,
  MyKeys.Fujitsu_Masshou = 0x93, MyKeys.Fujitsu_Touroku = 0x94, MyKeys.Fujitsu_Loya = 0x95, MyKeys.Fujitsu_Roya = 0x96,
  MyKeys.LeftShift = 0xA0, MyKeys.RightShift = 0xA1, MyKeys.LeftControl = 0xA2, MyKeys.RightControl = 0xA3,
  MyKeys.LeftAlt = 0xA4, MyKeys.RightAlt = 0xA5, MyKeys.BrowserBack = 0xA6, MyKeys.BrowserForward = 0xA7,
  MyKeys.BrowserRefresh = 0xA8, MyKeys.BrowserStop = 0xA9, MyKeys.BrowserSearch = 0xAA, MyKeys.BrowserFavorites = 0xAB,
  MyKeys.BrowserHome = 0xAC, MyKeys.VolumeMute = 0xAD, MyKeys.VolumeDown = 0xAE, MyKeys.VolumeUp = 0xAF,
  MyKeys.MediaNextTrack = 0xB0, MyKeys.MediaPrevTrack = 0xB1, MyKeys.MediaStop = 0xB2, MyKeys.MediaPlayPause = 0xB3,
  MyKeys.LaunchMail = 0xB4, MyKeys.LaunchMediaSelect = 0xB5, MyKeys.LaunchApplication1 = 0xB6, MyKeys.LaunchApplication2 = 0xB7,
  MyKeys.OemSemicolon = 0xBA, MyKeys.OemPlus = 0xBB, MyKeys.OemComma = 0xBC, MyKeys.OemMinus = 0xBD,
  MyKeys.OemPeriod = 0xBE, MyKeys.OemQuestion = 0xBF, MyKeys.OemTilde = 0xC0, MyKeys.ChatPadGreen = 0xCA,
  MyKeys.ChatPadOrange = 0xCB, MyKeys.OemOpenBrackets = 0xDB, MyKeys.OemPipe = 0xDC, MyKeys.OemCloseBrackets = 0xDD,
  MyKeys.OemQuotes = 0xDE, MyKeys.Oem8 = 0xDF, MyKeys.OEMAX = 0xE1, MyKeys.OemBackslash = 0xE2,
  MyKeys.ICOHelp = 0xE3, MyKeys.ICO00 = 0xE4, MyKeys.ProcessKey = 0xE5, MyKeys.ICOClear = 0xE6,
  MyKeys.Packet = 0xE7, MyKeys.OEMReset = 0xE9, MyKeys.OEMJump = 0xEA, MyKeys.OEMPA1 = 0xEB,
  MyKeys.OEMPA2 = 0xEC, MyKeys.OEMPA3 = 0xED, MyKeys.OEMWSCtrl = 0xEE, MyKeys.OEMCUSel = 0xEF,
  MyKeys.OEMATTN = 0xF0, MyKeys.OEMFinish = 0xF1, MyKeys.OEMCopy = 0xF2, MyKeys.OEMAuto = 0xF3,
  MyKeys.OEMENLW = 0xF4, MyKeys.OEMBackTab = 0xF5, MyKeys.ATTN = 0xF6, MyKeys.CRSel = 0xF7,
  MyKeys.EXSel = 0xF8, MyKeys.EREOF = 0xF9, MyKeys.Play = 0xFA, MyKeys.Zoom = 0xFB,
  MyKeys.Noname = 0xFC, MyKeys.PA1 = 0xFD, MyKeys.OEMClear = 0xFE
}
 Enumeration for virtual keys. More...
 
enum  MyMouseButtonsEnum : byte {
  MyMouseButtonsEnum.None = 0, MyMouseButtonsEnum.Left = 1, MyMouseButtonsEnum.Middle = 2, MyMouseButtonsEnum.Right = 3,
  MyMouseButtonsEnum.XButton1 = 4, MyMouseButtonsEnum.XButton2 = 5
}
 
enum  MySharedButtonsEnum : byte { MySharedButtonsEnum.None, MySharedButtonsEnum.Primary, MySharedButtonsEnum.Secondary }
 
enum  MyControlStateType { MyControlStateType.NEW_PRESSED, MyControlStateType.PRESSED, MyControlStateType.NEW_RELEASED }
 
enum  MyControlType { MyControlType.JoystickAxis, MyControlType.JoystickButton }
 

Enumeration Type Documentation

Enumerator
NEW_PRESSED 
PRESSED 
NEW_RELEASED 

Definition at line 6 of file MyControllerHelper.cs.

Enumerator
JoystickAxis 
JoystickButton 

Definition at line 13 of file MyControllerHelper.cs.

Enumerator
General 
Navigation 
Navigation2 
ToolsOrWeapons 
ToolsOrWeapons2 
Systems1 
Systems2 
Systems3 
Spectator 

Definition at line 4 of file MyGuiControlTypeEnum.cs.

Enumerator
None 
Keyboard 
Mouse 
KeyboardSecond 

Definition at line 4 of file MyGuiInputDeviceEnum.cs.

Enumerator
None 
Xpos 
Xneg 
Ypos 
Yneg 
Zpos 
Zneg 
RotationXpos 
RotationXneg 
RotationYpos 
RotationYneg 
RotationZpos 
RotationZneg 
Slider1pos 
Slider1neg 
Slider2pos 
Slider2neg 

Definition at line 4 of file MyJoystickAxesEnum.cs.

Enumerator
None 
JDLeft 
JDRight 
JDUp 
JDDown 
J01 
J02 
J03 
J04 
J05 
J06 
J07 
J08 
J09 
J10 
J11 
J12 
J13 
J14 
J15 
J16 

Definition at line 4 of file MyJoystickButtonsEnum.cs.

enum VRage.Input.MyKeys : byte

Enumeration for virtual keys.

Enumerator
None 
LeftButton 
RightButton 
Cancel 
MiddleButton 
ExtraButton1 
ExtraButton2 
Back 
Tab 
Clear 
Enter 
Shift 
Control 
Alt 
Pause 
CapsLock 
Kana 
Hangeul 
Hangul 
Junja 
Final 
Hanja 
Kanji 
Escape 
Convert 
NonConvert 
Accept 
ModeChange 
Space 
PageUp 
PageDown 
End 
Home 
Left 
Up 
Right 
Down 
Select 
Print 
Execute 
Snapshot 
Insert 
Delete 
Help 
D0 
D1 
D2 
D3 
D4 
D5 
D6 
D7 
D8 
D9 
LeftWindows 
RightWindows 
Apps 
Sleep 
NumPad0 
NumPad1 
NumPad2 
NumPad3 
NumPad4 
NumPad5 
NumPad6 
NumPad7 
NumPad8 
NumPad9 
Multiply 
Add 
Separator 
Subtract 
Decimal 
Divide 
F1 
F2 
F3 
F4 
F5 
F6 
F7 
F8 
F9 
F10 
F11 
F12 
F13 
F14 
F15 
F16 
F17 
F18 
F19 
F20 
F21 
F22 
F23 
F24 
NumLock 
ScrollLock 
NEC_Equal 
Fujitsu_Jisho 
Fujitsu_Masshou 
Fujitsu_Touroku 
Fujitsu_Loya 
Fujitsu_Roya 
LeftShift 
RightShift 
LeftControl 
RightControl 
LeftAlt 
RightAlt 
BrowserBack 
BrowserForward 
BrowserRefresh 
BrowserStop 
BrowserSearch 
BrowserFavorites 
BrowserHome 
VolumeMute 
VolumeDown 
VolumeUp 
MediaNextTrack 
MediaPrevTrack 
MediaStop 
MediaPlayPause 
LaunchMail 
LaunchMediaSelect 
LaunchApplication1 
LaunchApplication2 
OemSemicolon 
OemPlus 
OemComma 
OemMinus 
OemPeriod 
OemQuestion 
OemTilde 
ChatPadGreen 
ChatPadOrange 
OemOpenBrackets 
OemPipe 
OemCloseBrackets 
OemQuotes 
Oem8 
OEMAX 
OemBackslash 
ICOHelp 
ICO00 
ProcessKey 
ICOClear 
Packet 
OEMReset 
OEMJump 
OEMPA1 
OEMPA2 
OEMPA3 
OEMWSCtrl 
OEMCUSel 
OEMATTN 
OEMFinish 
OEMCopy 
OEMAuto 
OEMENLW 
OEMBackTab 
ATTN 
CRSel 
EXSel 
EREOF 
Play 
Zoom 
Noname 
PA1 
OEMClear 

Definition at line 11 of file MyKeys.cs.

Enumerator
None 
Left 
Middle 
Right 
XButton1 
XButton2 

Definition at line 4 of file MyMouseButtonsEnum.cs.

Enumerator
None 
Primary 
Secondary 

Definition at line 9 of file MySharedButtonsEnum.cs.