class ControllerConfiguration

February 26, 2020 · View on GitHub

Member values

Member nameData typeDescriptionUsage
handleControllerHandleController identifierTo set handle, you simply assign a value directly to a field within handle. You can also use the parent message's HasField() method to check if a message type field value has been set.
namestrController friendly nameYou can manipulate the field name as if it were a regular field. To clear the value of name and reset it to the default value for its type, you call the ClearField() method of the Message interface.
active_mapping_handleMappingHandleMapping that is active on this controllerTo set active_mapping_handle, you simply assign a value directly to a field within active_mapping_handle. You can also use the parent message's HasField() method to check if a message type field value has been set.
analog_input_identifier_enumstrName that identifies the enum used to interpret the ‘analog_input_identifier’ field (for example in ControllerEvent). Thus 'analog_input_identifier_enum' shall take the name of an existing enum (ex. Xbox360AnalogInputIdentifier)You can manipulate the field analog_input_identifier_enum as if it were a regular field. To clear the value of analog_input_identifier_enum and reset it to the default value for its type, you call the ClearField() method of the Message interface.
digital_input_identifier_enumstrName that identifies the enum used to interpret the ‘digital_input_identifier’ field (for example in ControllerEvent). Thus 'digital_input_identifier_enum' shall take the name of an existing enum (ex. Xbox360DigitalInputIdentifier, WristDigitalInputIdentifier)You can manipulate the field digital_input_identifier_enum as if it were a regular field. To clear the value of digital_input_identifier_enum and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: Base (Python)