Skip to content

Commit c6a6693

Browse files
committed
Fix syntax error.
1 parent 94e6b94 commit c6a6693

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/TrackerDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void SlimeVRDriver::TrackerDevice::PositionMessage(messages::Position& position)
118118
void SlimeVRDriver::TrackerDevice::ControllerInputMessage(messages::ControllerInput& controllerInput) {
119119
// Get inputs from protobuf
120120
GetDriver()->GetInput()->UpdateScalarComponent(trigger_component_, controllerInput.trigger(), 0);
121-
GetDriver()->GetInput()->UpdateBooleanComponent(trigger_component_touch, controllerInput.trigger() > 0.5f, 0);
121+
GetDriver()->GetInput()->UpdateBooleanComponent(trigger_component_touch_, controllerInput.trigger() > 0.5f, 0);
122122
GetDriver()->GetInput()->UpdateScalarComponent(grip_value_component_, controllerInput.grip(), 0);
123123
GetDriver()->GetInput()->UpdateScalarComponent(stick_x_component_, controllerInput.thumbstick_x(), 0);
124124
GetDriver()->GetInput()->UpdateScalarComponent(stick_y_component_, controllerInput.thumbstick_y(), 0);

0 commit comments

Comments
 (0)