@@ -44,27 +44,27 @@ std::list<Event> diff_states(const GameInputDeviceInfo& device_info,
4444 std::list<Event> events;
4545 if (old.leftThumbstickX != current.leftThumbstickX ) {
4646 events.push_back (
47- {time, " analog" , " dwXpos " , current.leftThumbstickX });
47+ {time, " analog" , " leftThumbstickX " , current.leftThumbstickX });
4848 }
4949 if (old.leftThumbstickY != current.leftThumbstickY ) {
5050 events.push_back (
51- {time, " analog" , " dwYpos " , current.leftThumbstickY });
51+ {time, " analog" , " leftThumbstickY " , current.leftThumbstickY });
5252 }
5353 if (old.rightThumbstickX != current.rightThumbstickX ) {
5454 events.push_back (
55- {time, " analog" , " dwZpos " , current.rightThumbstickX });
55+ {time, " analog" , " rightThumbstickX " , current.rightThumbstickX });
5656 }
5757 if (old.rightThumbstickY != current.rightThumbstickY ) {
5858 events.push_back (
59- {time, " analog" , " dwRpos " , current.rightThumbstickY });
59+ {time, " analog" , " rightThumbstickY " , current.rightThumbstickY });
6060 }
6161 if (old.leftTrigger != current.leftTrigger ) {
6262 events.push_back (
63- {time, " analog" , " dwUpos " , current.leftTrigger });
63+ {time, " analog" , " leftTrigger " , current.leftTrigger });
6464 }
6565 if (old.rightTrigger != current.rightTrigger ) {
6666 events.push_back (
67- {time, " analog" , " dwVpos " , current.rightTrigger });
67+ {time, " analog" , " rightTrigger " , current.rightTrigger });
6868 }
6969 if (old.buttons != current.buttons ) {
7070 for (uint32_t i = 0 ; i < device_info.controllerButtonCount ; ++i) {
0 commit comments