class ControllerEvent

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
input_typeuint32Type of controller input that caused the event_identifier
behavioruint32Controller behavior that occured
input_identifieruint32Controller input that caused the event

Member functions

Function nameReturn typeInput typeDescription
input_type() constuint32voidReturns the current value of input_type. If the input_type is not set, returns 0.
set_input_type()voiduint32Sets the value of input_type. After calling this, input_type() will return value.
clear_input_type()voidvoidClears the value of input_type. After calling this, input_type() will return the empty string/empty bytes.
behavior() constuint32voidReturns the current value of behavior. If the behavior is not set, returns 0.
set_behavior()voiduint32Sets the value of behavior. After calling this, behavior() will return value.
clear_behavior()voidvoidClears the value of behavior. After calling this, behavior() will return the empty string/empty bytes.
input_identifier()uint32voidReturns the current value of input_identifier. If the input_identifier is not set, returns 0.
set_input_identifier()voiduint32Sets the value of input_identifier. After calling this, input_identifier() will return value.
clear_input_identifier()voidvoidClears the value of input_identifier. After calling this, input_identifier() will return 0.

Parent topic: Base (C++)