Space Engineers
Public Member Functions | Properties | Events | List of all members
VRage.Input.MyDirectXInput Class Reference
Inheritance diagram for VRage.Input.MyDirectXInput:
VRage.Input.IMyInput VRage.ModAPI.IMyInput

Public Member Functions

 MyDirectXInput (IMyBufferedInputSource textInputBuffer, IMyControlNameLookup nameLookup, Dictionary< MyStringId, MyControl > gameControls, bool enableDevKeys)
 
void AddDefaultControl (MyStringId stringId, MyControl control)
 
void LoadData (SerializableDictionary< string, object > controlsGeneral, SerializableDictionary< string, object > controlsButtons)
 
void LoadContent (IntPtr windowHandle)
 
void UnloadData ()
 
List< string > EnumerateJoystickNames ()
 
bool Update (bool gameFocused)
 
bool IsAnyKeyPress ()
 
bool IsAnyNewKeyPress ()
 
bool IsAnyMousePressed ()
 
bool IsAnyNewMousePressed ()
 
bool IsAnyJoystickButtonPressed ()
 
bool IsAnyNewJoystickButtonPressed ()
 
bool IsNewGameControlJoystickOnlyPressed (MyStringId controlId)
 
bool IsGameControlJoystickOnlyPressed (MyStringId controlId)
 
bool IsNewGameControlJoystickOnlyReleased (MyStringId controlId)
 
bool IsAnyMouseOrJoystickPressed ()
 
bool IsAnyNewMouseOrJoystickPressed ()
 
bool IsNewPrimaryButtonPressed ()
 
bool IsNewSecondaryButtonPressed ()
 
bool IsNewPrimaryButtonReleased ()
 
bool IsNewSecondaryButtonReleased ()
 
bool IsPrimaryButtonReleased ()
 
bool IsSecondaryButtonReleased ()
 
bool IsPrimaryButtonPressed ()
 
bool IsSecondaryButtonPressed ()
 
bool IsNewButtonPressed (MySharedButtonsEnum button)
 
bool IsButtonPressed (MySharedButtonsEnum button)
 
bool IsNewButtonReleased (MySharedButtonsEnum button)
 
bool IsButtonReleased (MySharedButtonsEnum button)
 
bool IsAnyWinKeyPressed ()
 
bool IsAnyShiftKeyPressed ()
 
bool IsAnyAltKeyPressed ()
 
bool IsAnyCtrlKeyPressed ()
 
void GetPressedKeys (List< MyKeys > keys)
 
bool IsKeyPress (MyKeys key)
 
bool IsNewKeyPressed (MyKeys key)
 
bool IsNewKeyReleased (MyKeys key)
 
bool IsMousePressed (MyMouseButtonsEnum button)
 
bool IsMouseReleased (MyMouseButtonsEnum button)
 
bool WasMousePressed (MyMouseButtonsEnum button)
 
bool WasMouseReleased (MyMouseButtonsEnum button)
 
bool IsNewMousePressed (MyMouseButtonsEnum button)
 
bool IsNewMouseReleased (MyMouseButtonsEnum button)
 
bool IsNewLeftMousePressed ()
 
bool IsNewLeftMouseReleased ()
 
bool IsLeftMousePressed ()
 
bool IsLeftMouseReleased ()
 
bool WasLeftMouseReleased ()
 
bool WasLeftMousePressed ()
 
bool IsRightMousePressed ()
 
bool IsRightMouseReleased ()
 
bool IsNewRightMousePressed ()
 
bool IsNewRightMouseReleased ()
 
bool WasRightMousePressed ()
 
bool WasRightMouseReleased ()
 
bool IsMiddleMousePressed ()
 
bool IsMiddleMouseReleased ()
 
bool IsNewMiddleMousePressed ()
 
bool IsNewMiddleMouseReleased ()
 
bool WasMiddleMousePressed ()
 
bool WasMiddleMouseReleased ()
 
bool IsXButton1MousePressed ()
 
bool IsXButton1MouseReleased ()
 
bool IsNewXButton1MousePressed ()
 
bool IsNewXButton1MouseReleased ()
 
bool WasXButton1MousePressed ()
 
bool WasXButton1MouseReleased ()
 
bool IsXButton2MousePressed ()
 
bool IsXButton2MouseReleased ()
 
bool IsNewXButton2MousePressed ()
 
bool IsNewXButton2MouseReleased ()
 
bool WasXButton2MousePressed ()
 
bool WasXButton2MouseReleased ()
 
bool IsJoystickButtonPressed (MyJoystickButtonsEnum button)
 
bool IsJoystickButtonNewPressed (MyJoystickButtonsEnum button)
 
bool IsNewJoystickButtonReleased (MyJoystickButtonsEnum button)
 
bool IsJoystickButtonReleased (MyJoystickButtonsEnum button)
 
bool WasJoystickButtonPressed (MyJoystickButtonsEnum button)
 
bool WasJoystickButtonReleased (MyJoystickButtonsEnum button)
 
float GetJoystickAxisStateRaw (MyJoystickAxesEnum axis)
 
float GetPreviousJoystickAxisStateRaw (MyJoystickAxesEnum axis)
 
float GetJoystickX ()
 
float GetJoystickY ()
 
float GetJoystickAxisStateForGameplay (MyJoystickAxesEnum axis)
 
float GetPreviousJoystickAxisStateForGameplay (MyJoystickAxesEnum axis)
 
bool IsJoystickAxisPressed (MyJoystickAxesEnum axis)
 
bool IsJoystickAxisNewPressed (MyJoystickAxesEnum axis)
 
bool IsNewJoystickAxisReleased (MyJoystickAxesEnum axis)
 
bool IsJoystickAxisReleased (MyJoystickAxesEnum axis)
 
bool WasJoystickAxisPressed (MyJoystickAxesEnum axis)
 
bool WasJoystickAxisReleased (MyJoystickAxesEnum axis)
 
float GetJoystickSensitivity ()
 
void SetJoystickSensitivity (float newSensitivity)
 
float GetJoystickExponent ()
 
void SetJoystickExponent (float newExponent)
 
float GetJoystickDeadzone ()
 
void SetJoystickDeadzone (float newDeadzone)
 
int MouseScrollWheelValue ()
 
int PreviousMouseScrollWheelValue ()
 
int DeltaMouseScrollWheelValue ()
 
int GetMouseX ()
 
int GetMouseY ()
 
int GetMouseXForGamePlay ()
 
int GetMouseYForGamePlay ()
 
bool GetMouseXInversion ()
 
bool GetMouseYInversion ()
 
void SetMouseXInversion (bool inverted)
 
void SetMouseYInversion (bool inverted)
 
float GetMouseSensitivity ()
 
void SetMouseSensitivity (float sensitivity)
 
Vector2 GetMousePosition ()
 Returns immediatelly current cursor position. Obtains position on every call, it can get cursor data with higher rate than 60 fps More...
 
Vector2 GetMouseAreaSize ()
 
void SetMousePosition (int x, int y)
 
bool IsJoystickConnected ()
 
void SetJoystickConnected (bool value)
 
int[] POVDirection ()
 
bool GetGamepadKeyDirections (out int actual, out int previous)
 Get the actual and previous gamepad key directions (use the first POV controller). Returns false if this type of input is not available. More...
 
bool IsGamepadKeyRightPressed ()
 
bool IsGamepadKeyLeftPressed ()
 
bool IsGamepadKeyDownPressed ()
 
bool IsGamepadKeyUpPressed ()
 
bool WasGamepadKeyRightPressed ()
 
bool WasGamepadKeyLeftPressed ()
 
bool WasGamepadKeyDownPressed ()
 
bool WasGamepadKeyUpPressed ()
 
bool IsNewGamepadKeyRightPressed ()
 
bool IsNewGamepadKeyLeftPressed ()
 
bool IsNewGamepadKeyDownPressed ()
 
bool IsNewGamepadKeyUpPressed ()
 
bool IsNewGamepadKeyRightReleased ()
 
bool IsNewGamepadKeyLeftReleased ()
 
bool IsNewGamepadKeyDownReleased ()
 
bool IsNewGamepadKeyUpReleased ()
 
void GetActualJoystickState (StringBuilder text)
 
bool IsJoystickAxisSupported (MyJoystickAxesEnum axis)
 
bool IsNewGameControlPressed (MyStringId controlId)
 
bool IsGameControlPressed (MyStringId controlId)
 
bool IsNewGameControlReleased (MyStringId controlId)
 
float GetGameControlAnalogState (MyStringId controlId)
 
bool IsGameControlReleased (MyStringId controlId)
 
bool IsKeyValid (MyKeys key)
 
bool IsKeyDigit (MyKeys key)
 
bool IsMouseButtonValid (MyMouseButtonsEnum button)
 
bool IsJoystickButtonValid (MyJoystickButtonsEnum button)
 
bool IsJoystickAxisValid (MyJoystickAxesEnum axis)
 
MyControl GetControl (MyKeys key)
 
MyControl GetControl (MyMouseButtonsEnum button)
 
void GetListOfPressedKeys (List< MyKeys > keys)
 
void GetListOfPressedMouseButtons (List< MyMouseButtonsEnum > result)
 
DictionaryValuesReader< MyStringId, MyControlGetGameControlsList ()
 
void TakeSnapshot ()
 
void RevertChanges ()
 
String GetGameControlTextEnum (MyStringId controlId)
 
MyControl GetGameControl (MyStringId controlId)
 
void RevertToDefaultControls ()
 
void SaveControls (SerializableDictionary< string, object > controlsGeneral, SerializableDictionary< string, object > controlsButtons)
 
MyGuiInputDeviceEnum ParseMyGuiInputDeviceEnum (string s)
 
MyJoystickButtonsEnum ParseMyJoystickButtonsEnum (string s)
 
MyJoystickAxesEnum ParseMyJoystickAxesEnum (string s)
 
MyMouseButtonsEnum ParseMyMouseButtonsEnum (string s)
 
MyStringId TryParseMyGameControlEnums (string s)
 
MyGuiControlTypeEnum ParseMyGuiControlTypeEnum (string s)
 
string GetKeyName (MyStringId controlId)
 
string GetKeyName (MyKeys key)
 
string GetName (MyMouseButtonsEnum mouseButton)
 
string GetName (MyJoystickButtonsEnum joystickButton)
 
string GetName (MyJoystickAxesEnum joystickAxis)
 
string GetUnassignedName ()
 
void SetControlBlock (MyStringId controlEnum, bool block=false)
 
bool IsControlBlocked (MyStringId controlEnum)
 
void ClearBlacklist ()
 

Properties

bool IsCapsLock [get]
 
bool IsNumLock [get]
 
bool IsScrollLock [get]
 
MyMouseState ActualMouseState [get]
 
JoystickState ActualJoystickState [get]
 
string JoystickInstanceName [get, set]
 
bool IsMouseXInvertedDefault [get]
 
bool IsMouseYInvertedDefault [get]
 
float MouseSensitivityDefault [get]
 
string JoystickInstanceNameDefault [get]
 
float JoystickSensitivityDefault [get]
 
float JoystickExponentDefault [get]
 
float JoystickDeadzoneDefault [get]
 
IntPtr WindowHandle [get]
 
ListReader< char > TextInput [get]
 
bool JoystickAsMouse [get, set]
 
bool IsJoystickLastUsed [get, set]
 
bool ENABLE_DEVELOPER_KEYS [get]
 
bool Trichording [get, set]
 
- Properties inherited from VRage.Input.IMyInput
bool IsCapsLock [get]
 
string JoystickInstanceName [get, set]
 
IntPtr WindowHandle [get]
 
ListReader< char > TextInput [get]
 
bool JoystickAsMouse [get, set]
 
bool IsJoystickLastUsed [get]
 
bool ENABLE_DEVELOPER_KEYS [get]
 
- Properties inherited from VRage.ModAPI.IMyInput
bool IsCapsLock [get]
 
string JoystickInstanceName [get]
 
ListReader< char > TextInput [get]
 
bool JoystickAsMouse [get]
 
bool IsJoystickLastUsed [get]
 

Events

Action< bool > JoystickConnected
 
- Events inherited from VRage.Input.IMyInput
Action< bool > JoystickConnected
 
- Events inherited from VRage.ModAPI.IMyInput
Action< bool > JoystickConnected
 

Detailed Description

Definition at line 12 of file MyDirectXInput_ModAPI.cs.

Constructor & Destructor Documentation

VRage.Input.MyDirectXInput.MyDirectXInput ( IMyBufferedInputSource  textInputBuffer,
IMyControlNameLookup  nameLookup,
Dictionary< MyStringId, MyControl gameControls,
bool  enableDevKeys 
)
inline

Definition at line 150 of file MyDirectXInput.cs.

Member Function Documentation

void VRage.Input.MyDirectXInput.AddDefaultControl ( MyStringId  stringId,
MyControl  control 
)
inline

Implements VRage.Input.IMyInput.

Definition at line 165 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.ClearBlacklist ( )
inline

Definition at line 2499 of file MyDirectXInput.cs.

int VRage.Input.MyDirectXInput.DeltaMouseScrollWheelValue ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1722 of file MyDirectXInput.cs.

List<string> VRage.Input.MyDirectXInput.EnumerateJoystickNames ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 420 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.GetActualJoystickState ( StringBuilder  text)
inline

Implements VRage.Input.IMyInput.

Definition at line 1952 of file MyDirectXInput.cs.

MyControl VRage.Input.MyDirectXInput.GetControl ( MyKeys  key)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2145 of file MyDirectXInput.cs.

MyControl VRage.Input.MyDirectXInput.GetControl ( MyMouseButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2156 of file MyDirectXInput.cs.

MyControl VRage.Input.MyDirectXInput.GetGameControl ( MyStringId  controlId)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2207 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetGameControlAnalogState ( MyStringId  controlId)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2072 of file MyDirectXInput.cs.

DictionaryValuesReader<MyStringId, MyControl> VRage.Input.MyDirectXInput.GetGameControlsList ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 2182 of file MyDirectXInput.cs.

String VRage.Input.MyDirectXInput.GetGameControlTextEnum ( MyStringId  controlId)
inline

Definition at line 2202 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.GetGamepadKeyDirections ( out int  actual,
out int  previous 
)
inline

Get the actual and previous gamepad key directions (use the first POV controller). Returns false if this type of input is not available.

Definition at line 1863 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetJoystickAxisStateForGameplay ( MyJoystickAxesEnum  axis)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1482 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetJoystickAxisStateRaw ( MyJoystickAxesEnum  axis)
inline

Definition at line 1390 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetJoystickDeadzone ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 1695 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetJoystickExponent ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 1685 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetJoystickSensitivity ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 1675 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetJoystickX ( )
inline

Definition at line 1469 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetJoystickY ( )
inline

Definition at line 1474 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.GetKeyName ( MyStringId  controlId)
inline

Definition at line 2446 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.GetKeyName ( MyKeys  key)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2457 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.GetListOfPressedKeys ( List< MyKeys keys)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2165 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.GetListOfPressedMouseButtons ( List< MyMouseButtonsEnum result)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2170 of file MyDirectXInput.cs.

Vector2 VRage.Input.MyDirectXInput.GetMouseAreaSize ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1792 of file MyDirectXInput.cs.

Vector2 VRage.Input.MyDirectXInput.GetMousePosition ( )
inline

Returns immediatelly current cursor position. Obtains position on every call, it can get cursor data with higher rate than 60 fps

Implements VRage.ModAPI.IMyInput.

Definition at line 1787 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetMouseSensitivity ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1773 of file MyDirectXInput.cs.

int VRage.Input.MyDirectXInput.GetMouseX ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1728 of file MyDirectXInput.cs.

int VRage.Input.MyDirectXInput.GetMouseXForGamePlay ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1740 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.GetMouseXInversion ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1753 of file MyDirectXInput.cs.

int VRage.Input.MyDirectXInput.GetMouseY ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1734 of file MyDirectXInput.cs.

int VRage.Input.MyDirectXInput.GetMouseYForGamePlay ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1747 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.GetMouseYInversion ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1758 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.GetName ( MyMouseButtonsEnum  mouseButton)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2462 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.GetName ( MyJoystickButtonsEnum  joystickButton)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2467 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.GetName ( MyJoystickAxesEnum  joystickAxis)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2472 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.GetPressedKeys ( List< MyKeys keys)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 949 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetPreviousJoystickAxisStateForGameplay ( MyJoystickAxesEnum  axis)
inline

Definition at line 1529 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.GetPreviousJoystickAxisStateRaw ( MyJoystickAxesEnum  axis)
inline

Definition at line 1430 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.GetUnassignedName ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2477 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyAltKeyPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 936 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyCtrlKeyPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 942 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyJoystickButtonPressed ( )
inline

Definition at line 736 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyKeyPress ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 705 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyMouseOrJoystickPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 826 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 717 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyNewJoystickButtonPressed ( )
inline

Definition at line 752 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyNewKeyPress ( )
inline

Definition at line 711 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyNewMouseOrJoystickPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 831 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyNewMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 726 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyShiftKeyPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 930 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsAnyWinKeyPressed ( )
inline

Definition at line 924 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsButtonPressed ( MySharedButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 888 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsButtonReleased ( MySharedButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 912 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsControlBlocked ( MyStringId  controlEnum)
inline

Implements VRage.Input.IMyInput.

Definition at line 2494 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsGameControlJoystickOnlyPressed ( MyStringId  controlId)
inline

Definition at line 781 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsGameControlPressed ( MyStringId  controlId)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2046 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsGameControlReleased ( MyStringId  controlId)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2085 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsGamepadKeyDownPressed ( )
inline

Definition at line 1898 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsGamepadKeyLeftPressed ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 1891 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsGamepadKeyRightPressed ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 1884 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsGamepadKeyUpPressed ( )
inline

Definition at line 1905 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickAxisNewPressed ( MyJoystickAxesEnum  axis)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1592 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickAxisPressed ( MyJoystickAxesEnum  axis)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1576 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickAxisReleased ( MyJoystickAxesEnum  axis)
inline

Definition at line 1624 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickAxisSupported ( MyJoystickAxesEnum  axis)
inline

Definition at line 2006 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickAxisValid ( MyJoystickAxesEnum  axis)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2135 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickButtonNewPressed ( MyJoystickButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1277 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickButtonPressed ( MyJoystickButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1255 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickButtonReleased ( MyJoystickButtonsEnum  button)
inline

Definition at line 1319 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickButtonValid ( MyJoystickButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2125 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickConnected ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1805 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsKeyDigit ( MyKeys  key)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2109 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsKeyPress ( MyKeys  key)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 957 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsKeyValid ( MyKeys  key)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2099 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsLeftMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1078 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsLeftMouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1084 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsMiddleMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1143 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsMiddleMouseReleased ( )
inline

Definition at line 1149 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsMouseButtonValid ( MyMouseButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2115 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsMousePressed ( MyMouseButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 977 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsMouseReleased ( MyMouseButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 991 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewButtonPressed ( MySharedButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 876 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewButtonReleased ( MySharedButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 900 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGameControlJoystickOnlyPressed ( MyStringId  controlId)
inline

Implements VRage.Input.IMyInput.

Definition at line 765 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGameControlJoystickOnlyReleased ( MyStringId  controlId)
inline

Definition at line 797 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGameControlPressed ( MyStringId  controlId)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2032 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGameControlReleased ( MyStringId  controlId)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 2059 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyDownPressed ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 1944 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyDownReleased ( )
inline

Definition at line 1949 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyLeftPressed ( )
inline

Definition at line 1943 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyLeftReleased ( )
inline

Definition at line 1948 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyRightPressed ( )
inline

Definition at line 1942 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyRightReleased ( )
inline

Definition at line 1947 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyUpPressed ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 1945 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewGamepadKeyUpReleased ( )
inline

Definition at line 1950 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewJoystickAxisReleased ( MyJoystickAxesEnum  axis)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1609 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewJoystickButtonReleased ( MyJoystickButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1298 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewKeyPressed ( MyKeys  key)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 963 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewKeyReleased ( MyKeys  key)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 969 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewLeftMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1066 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewLeftMouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1072 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewMiddleMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1155 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewMiddleMouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1161 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewMousePressed ( MyMouseButtonsEnum  button)
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1033 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewMouseReleased ( MyMouseButtonsEnum  button)
inline

Definition at line 1047 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewPrimaryButtonPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 836 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewPrimaryButtonReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 846 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewRightMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1117 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewRightMouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1123 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewSecondaryButtonPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 841 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewSecondaryButtonReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 851 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewXButton1MousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1193 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewXButton1MouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1198 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewXButton2MousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1230 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNewXButton2MouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1235 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsPrimaryButtonPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 866 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsPrimaryButtonReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 856 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsRightMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1105 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsRightMouseReleased ( )
inline

Definition at line 1111 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsSecondaryButtonPressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 871 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsSecondaryButtonReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 861 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsXButton1MousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1181 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsXButton1MouseReleased ( )
inline

Definition at line 1187 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsXButton2MousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1218 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsXButton2MouseReleased ( )
inline

Definition at line 1224 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.LoadContent ( IntPtr  windowHandle)
inline

Implements VRage.Input.IMyInput.

Definition at line 368 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.LoadData ( SerializableDictionary< string, object >  controlsGeneral,
SerializableDictionary< string, object >  controlsButtons 
)
inline

Implements VRage.Input.IMyInput.

Definition at line 171 of file MyDirectXInput.cs.

int VRage.Input.MyDirectXInput.MouseScrollWheelValue ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1710 of file MyDirectXInput.cs.

MyGuiControlTypeEnum VRage.Input.MyDirectXInput.ParseMyGuiControlTypeEnum ( string  s)
inline

Definition at line 2417 of file MyDirectXInput.cs.

MyGuiInputDeviceEnum VRage.Input.MyDirectXInput.ParseMyGuiInputDeviceEnum ( string  s)
inline

Definition at line 2372 of file MyDirectXInput.cs.

MyJoystickAxesEnum VRage.Input.MyDirectXInput.ParseMyJoystickAxesEnum ( string  s)
inline

Definition at line 2390 of file MyDirectXInput.cs.

MyJoystickButtonsEnum VRage.Input.MyDirectXInput.ParseMyJoystickButtonsEnum ( string  s)
inline

Definition at line 2381 of file MyDirectXInput.cs.

MyMouseButtonsEnum VRage.Input.MyDirectXInput.ParseMyMouseButtonsEnum ( string  s)
inline

Definition at line 2399 of file MyDirectXInput.cs.

int [] VRage.Input.MyDirectXInput.POVDirection ( )
inline

Definition at line 1850 of file MyDirectXInput.cs.

int VRage.Input.MyDirectXInput.PreviousMouseScrollWheelValue ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1716 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.RevertChanges ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 2195 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.RevertToDefaultControls ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 2228 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SaveControls ( SerializableDictionary< string, object >  controlsGeneral,
SerializableDictionary< string, object >  controlsButtons 
)
inline

Implements VRage.Input.IMyInput.

Definition at line 2241 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetControlBlock ( MyStringId  controlEnum,
bool  block = false 
)
inline

Implements VRage.Input.IMyInput.

Definition at line 2482 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetJoystickConnected ( bool  value)
inline

Definition at line 1810 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetJoystickDeadzone ( float  newDeadzone)
inline

Implements VRage.Input.IMyInput.

Definition at line 1700 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetJoystickExponent ( float  newExponent)
inline

Implements VRage.Input.IMyInput.

Definition at line 1690 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetJoystickSensitivity ( float  newSensitivity)
inline

Implements VRage.Input.IMyInput.

Definition at line 1680 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetMousePosition ( int  x,
int  y 
)
inline

Implements VRage.Input.IMyInput.

Definition at line 1797 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetMouseSensitivity ( float  sensitivity)
inline

Implements VRage.Input.IMyInput.

Definition at line 1778 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetMouseXInversion ( bool  inverted)
inline

Implements VRage.Input.IMyInput.

Definition at line 1763 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.SetMouseYInversion ( bool  inverted)
inline

Implements VRage.Input.IMyInput.

Definition at line 1768 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.TakeSnapshot ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 2188 of file MyDirectXInput.cs.

MyStringId VRage.Input.MyDirectXInput.TryParseMyGameControlEnums ( string  s)
inline

Definition at line 2408 of file MyDirectXInput.cs.

void VRage.Input.MyDirectXInput.UnloadData ( )
inline

Implements VRage.Input.IMyInput.

Definition at line 404 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.Update ( bool  gameFocused)
inline

Implements VRage.Input.IMyInput.

Definition at line 643 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasGamepadKeyDownPressed ( )
inline

Definition at line 1927 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasGamepadKeyLeftPressed ( )
inline

Definition at line 1920 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasGamepadKeyRightPressed ( )
inline

Definition at line 1913 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasGamepadKeyUpPressed ( )
inline

Definition at line 1934 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasJoystickAxisPressed ( MyJoystickAxesEnum  axis)
inline

Definition at line 1640 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasJoystickAxisReleased ( MyJoystickAxesEnum  axis)
inline

Definition at line 1656 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasJoystickButtonPressed ( MyJoystickButtonsEnum  button)
inline

Definition at line 1341 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasJoystickButtonReleased ( MyJoystickButtonsEnum  button)
inline

Definition at line 1363 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasLeftMousePressed ( )
inline

Definition at line 1095 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasLeftMouseReleased ( )
inline

Definition at line 1089 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasMiddleMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1166 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasMiddleMouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1171 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasMousePressed ( MyMouseButtonsEnum  button)
inline

Definition at line 1005 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasMouseReleased ( MyMouseButtonsEnum  button)
inline

Definition at line 1019 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasRightMousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1128 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasRightMouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1133 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasXButton1MousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1203 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasXButton1MouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1208 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasXButton2MousePressed ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1240 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.WasXButton2MouseReleased ( )
inline

Implements VRage.ModAPI.IMyInput.

Definition at line 1245 of file MyDirectXInput.cs.

Property Documentation

JoystickState VRage.Input.MyDirectXInput.ActualJoystickState
get

Definition at line 73 of file MyDirectXInput.cs.

MyMouseState VRage.Input.MyDirectXInput.ActualMouseState
get

Definition at line 67 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.ENABLE_DEVELOPER_KEYS
get

Definition at line 2440 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsCapsLock
get

Definition at line 52 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsJoystickLastUsed
getset

Definition at line 1827 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsMouseXInvertedDefault
get

Definition at line 107 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsMouseYInvertedDefault
get

Definition at line 108 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsNumLock
get

Definition at line 53 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.IsScrollLock
get

Definition at line 54 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.JoystickAsMouse
getset

Definition at line 1821 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.JoystickDeadzoneDefault
get

Definition at line 113 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.JoystickExponentDefault
get

Definition at line 112 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.JoystickInstanceName
getset

Definition at line 91 of file MyDirectXInput.cs.

string VRage.Input.MyDirectXInput.JoystickInstanceNameDefault
get

Definition at line 110 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.JoystickSensitivityDefault
get

Definition at line 111 of file MyDirectXInput.cs.

float VRage.Input.MyDirectXInput.MouseSensitivityDefault
get

Definition at line 109 of file MyDirectXInput.cs.

ListReader<char> VRage.Input.MyDirectXInput.TextInput
get

Definition at line 399 of file MyDirectXInput.cs.

bool VRage.Input.MyDirectXInput.Trichording
getset

Definition at line 2453 of file MyDirectXInput.cs.

IntPtr VRage.Input.MyDirectXInput.WindowHandle
get

Definition at line 394 of file MyDirectXInput.cs.

Event Documentation

Action<bool> VRage.Input.MyDirectXInput.JoystickConnected

Definition at line 1832 of file MyDirectXInput.cs.


The documentation for this class was generated from the following files: