Difference between revisions of "HPL3/SOMA/Scripting/cLuxInputHandler"

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting
Jump to navigation Jump to search
(Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== cLuxInputHandler has no public fields. =...")
 
 
Line 94: Line 94:
 
| <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> || WasAnalogueInputFromPad ||  ||
 
| <syntaxhighlight lang="c++" inline>bool</syntaxhighlight> || WasAnalogueInputFromPad ||  ||
 
|}
 
|}
 +
 +
{{ReferencesSection}}
  
 
{{HPL3SOMAScriptingCategories}}
 
{{HPL3SOMAScriptingCategories}}
 
__FORCETOC__
 
__FORCETOC__

Latest revision as of 14:56, 6 August 2020

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cLuxInputHandler has no public fields.

Functions

Return Type Function Name Parameters Description
void AddKeyboardLayoutKey eKey aKey,
eLuxKeyboardLayoutType aType,
const cImGuiGfx& aGfxKey,
const cImGuiLabelData& aLabelKey
void AddKeyboardLayoutRange eKey aFirstKey,
eKey aLastKey,
eLuxKeyboardLayoutType aType,
const cImGuiGfx& aGfxKey,
const cImGuiLabelData& aLabelKey
void AddPresetToProfile const tString &in asProfile,
const tString &in asPreset
void ClearKeyboardLayout
void CreateAction const tString &in asName,
int alId,
bool abConfigurable,
const tString &in asCat
void CreateActionInput const tString &in asInputType,
int alActionId
void CreateAnalogAction const tString &in asName,
int alId,
bool abConfigurable,
const tString &in asCat,
int alAxis,
float afMul,
int alAnalogId
void CreateAnalogGamepadAction const tString &in asName,
int alId,
const tString &in asCat,
int alAnalogId,
float afSmoothness,
int alDirectionLimit
void CreateAnalogGamepadActionInput const tString &in asInputType,
int alActionId
void CreateDebugAction const tString &in asName,
int alId
void CreateGamepadProfile const tString &in asName,
const tString &in asPrefix
void FetchGamepadInputLayoutString const tString& asInputName,
tString& asPrefixName,
tString& asLayoutString
tString GetActionName int alId,
bool abAnalog
void GetActionsAssociatedToGamepadControl const tString& asProfile,
const tString& asPreset,
const tString& asControl,
tString& asActions
bool GetGamepadMappingAction int alId,
int &out alAction,
tString &out asPrimary,
bool &out abAnalog
int GetGamepadMappingActionNum
float GetGamepadSensitivity
bool GetGamepadWasLastDeviceUsed
int GetLastUsedGamepadIndex float afTimeLimit = -1.0f
const tString& GetLatestKeyPressed
float GetMouseSensitivity
cVector2f GetRelMousePos
bool GetSmoothMouse
cVector2f GetSmoothMousePos const cVector2f &in avRelPosMouse
float GetTimeSinceGamepadWasUsed int alID
bool IsGamepadConnected
bool IsYAxisInverted
void LoadKeyConfig
void ResetSmoothMousePos
void SetGamepadColor int alDevice,
const cColor &in aColor
void SetGamepadMapping const tString &in asProfile,
const tString &in asPreset
void SetGamepadSensitivity float afX
void SetKeyboardLayoutDefaults const cImGuiGfx& aGfxKey,
const cImGuiLabelData& aLabelKey
void SetMaxSmoothMousePos int alX
void SetMouseLayout
void SetMouseSensitivity float afX
void SetPrevSmoothMousePosMul float afX
void SetPrimaryGamepad int alDevice
void SetRumble int alDevice,
float afStrength,
float afDuration
void SetSmoothMouse bool abX
bool WasAnalogueInputFromPad

References

See all references...