CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
SKSE::InputMap Namespace Reference

Enumerations

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

Functions

std::uint32_t GamepadMaskToKeycode (std::uint32_t keyMask)
 
std::uint32_t GamepadKeycodeToMask (std::uint32_t keyCode)
 
std::string GetKeyName (std::uint32_t keyCode)
 
std::string GetKeyboardKeyName (std::uint32_t keyCode)
 
std::string GetMouseButtonName (std::uint32_t keyCode)
 
std::string GetGamepadButtonName (std::uint32_t keyCode)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kMacro_KeyboardOffset 
kMacro_NumKeyboardKeys 
kMacro_MouseButtonOffset 
kMacro_NumMouseButtons 
kMacro_MouseWheelOffset 
kMacro_MouseWheelDirections 
kMacro_GamepadOffset 
kMacro_NumGamepadButtons 
kMaxMacros 

◆ anonymous enum

anonymous enum
Enumerator
kGamepadButtonOffset_DPAD_UP 
kGamepadButtonOffset_DPAD_DOWN 
kGamepadButtonOffset_DPAD_LEFT 
kGamepadButtonOffset_DPAD_RIGHT 
kGamepadButtonOffset_START 
kGamepadButtonOffset_BACK 
kGamepadButtonOffset_LEFT_THUMB 
kGamepadButtonOffset_RIGHT_THUMB 
kGamepadButtonOffset_LEFT_SHOULDER 
kGamepadButtonOffset_RIGHT_SHOULDER 
kGamepadButtonOffset_A 
kGamepadButtonOffset_B 
kGamepadButtonOffset_X 
kGamepadButtonOffset_Y 
kGamepadButtonOffset_LT 
kGamepadButtonOffset_RT 

Function Documentation

◆ GamepadKeycodeToMask()

std::uint32_t SKSE::InputMap::GamepadKeycodeToMask ( std::uint32_t  keyCode)

◆ GamepadMaskToKeycode()

std::uint32_t SKSE::InputMap::GamepadMaskToKeycode ( std::uint32_t  keyMask)

◆ GetGamepadButtonName()

std::string SKSE::InputMap::GetGamepadButtonName ( std::uint32_t  keyCode)

◆ GetKeyboardKeyName()

std::string SKSE::InputMap::GetKeyboardKeyName ( std::uint32_t  keyCode)

◆ GetKeyName()

std::string SKSE::InputMap::GetKeyName ( std::uint32_t  keyCode)

◆ GetMouseButtonName()

std::string SKSE::InputMap::GetMouseButtonName ( std::uint32_t  keyCode)