Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.62 KB

File metadata and controls

26 lines (20 loc) · 1.62 KB

class ControllerEvent

Member values

Member name Data type Description
input_type uint32 Type of controller input that caused the event_identifier
behavior uint32 Controller behavior that occured
input_identifier uint32 Controller input that caused the event

Member functions

Function name Return type Input type Description
input_type() const uint32 void Returns the current value of input_type. If the input_type is not set, returns 0.
set_input_type() void uint32 Sets the value of input_type. After calling this, input_type() will return value.
clear_input_type() void void Clears the value of input_type. After calling this, input_type() will return the empty string/empty bytes.
behavior() const uint32 void Returns the current value of behavior. If the behavior is not set, returns 0.
set_behavior() void uint32 Sets the value of behavior. After calling this, behavior() will return value.
clear_behavior() void void Clears the value of behavior. After calling this, behavior() will return the empty string/empty bytes.
input_identifier() uint32 void Returns the current value of input_identifier. If the input_identifier is not set, returns 0.
set_input_identifier() void uint32 Sets the value of input_identifier. After calling this, input_identifier() will return value.
clear_input_identifier() void void Clears the value of input_identifier. After calling this, input_identifier() will return 0.

Parent topic: Base (C++)