CommonLibSSE (powerof3)
InputMap.h File Reference

Go to the source code of this file.

Namespaces

 SKSE
 
 SKSE::InputMap
 

Enumerations

enum  {
  SKSE::InputMap::kMacro_KeyboardOffset = 0 , SKSE::InputMap::kMacro_NumKeyboardKeys = 256 , SKSE::InputMap::kMacro_MouseButtonOffset = kMacro_NumKeyboardKeys , SKSE::InputMap::kMacro_NumMouseButtons = 8 ,
  SKSE::InputMap::kMacro_MouseWheelOffset = kMacro_MouseButtonOffset + kMacro_NumMouseButtons , SKSE::InputMap::kMacro_MouseWheelDirections = 2 , SKSE::InputMap::kMacro_GamepadOffset = kMacro_MouseWheelOffset + kMacro_MouseWheelDirections , SKSE::InputMap::kMacro_NumGamepadButtons = 16 ,
  SKSE::InputMap::kMaxMacros = kMacro_GamepadOffset + kMacro_NumGamepadButtons
}
 
enum  {
  SKSE::InputMap::kGamepadButtonOffset_DPAD_UP = kMacro_GamepadOffset , SKSE::InputMap::kGamepadButtonOffset_DPAD_DOWN , SKSE::InputMap::kGamepadButtonOffset_DPAD_LEFT , SKSE::InputMap::kGamepadButtonOffset_DPAD_RIGHT ,
  SKSE::InputMap::kGamepadButtonOffset_START , SKSE::InputMap::kGamepadButtonOffset_BACK , SKSE::InputMap::kGamepadButtonOffset_LEFT_THUMB , SKSE::InputMap::kGamepadButtonOffset_RIGHT_THUMB ,
  SKSE::InputMap::kGamepadButtonOffset_LEFT_SHOULDER , SKSE::InputMap::kGamepadButtonOffset_RIGHT_SHOULDER , SKSE::InputMap::kGamepadButtonOffset_A , SKSE::InputMap::kGamepadButtonOffset_B ,
  SKSE::InputMap::kGamepadButtonOffset_X , SKSE::InputMap::kGamepadButtonOffset_Y , SKSE::InputMap::kGamepadButtonOffset_LT , SKSE::InputMap::kGamepadButtonOffset_RT
}
 

Functions

std::uint32_t SKSE::InputMap::XInputToScePadOffset (std::uint32_t keyMask)
 
std::uint32_t SKSE::InputMap::ScePadOffsetToXInput (std::uint32_t keyMask)
 
std::uint32_t SKSE::InputMap::GamepadMaskToKeycode (std::uint32_t keyMask)
 
std::uint32_t SKSE::InputMap::GamepadKeycodeToMask (std::uint32_t keyCode)
 
std::string SKSE::InputMap::GetKeyName (std::uint32_t keyCode)
 
std::string SKSE::InputMap::GetKeyboardKeyName (std::uint32_t keyCode)
 
std::string SKSE::InputMap::GetMouseButtonName (std::uint32_t keyCode)
 
std::string SKSE::InputMap::GetGamepadButtonName (std::uint32_t a_keyCode)