Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
DeviceInput Struct Reference

Public Member Functions

 DeviceInput (InputDevice d, DeviceButton b, float l=0)
 
 DeviceInput (InputDevice d, DeviceButton b, float l, const std::chrono::steady_clock::time_point &t)
 
 DeviceInput (InputDevice d, DeviceButton b, const std::chrono::steady_clock::time_point &t, int zVal=0)
 
auto ToString () const -> std::string
 
auto FromString (const std::string &s) -> bool
 
auto IsValid () const -> bool
 
void MakeInvalid ()
 
auto IsJoystick () const -> bool
 
auto IsMouse () const -> bool
 

Public Attributes

InputDevice device { InputDevice_Invalid }
 
DeviceButton button { DeviceButton_Invalid }
 
float level { 0 }
 
int z { 0 }
 
bool bDown { false }
 
std::chrono::steady_clock::time_point ts
 

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