I am using the valve index controllers and getting the same result from the 'controller_state_to_dict' function for both the A Button and Grip, and can't see a way to distinguish between them.
Here is the state that is returned
{'grip_button': True, 'menu_button': False, 'trackpad_pressed': False, 'trackpad_touched': False, 'trackpad_x': 0.0, 'trackpad_y': 0.0, 'trigger': 0.0, 'ulButtonPressed': 4, 'ulButtonTouched': 4, 'unPacketNum': 60}
I am using the valve index controllers and getting the same result from the 'controller_state_to_dict' function for both the A Button and Grip, and can't see a way to distinguish between them.
Here is the state that is returned
{'grip_button': True, 'menu_button': False, 'trackpad_pressed': False, 'trackpad_touched': False, 'trackpad_x': 0.0, 'trackpad_y': 0.0, 'trigger': 0.0, 'ulButtonPressed': 4, 'ulButtonTouched': 4, 'unPacketNum': 60}