fix: map throttle to axis 3 (AETR layout)
Verified via hid_discover caps and live data dump. Throttle responds on axis 3 (HID usage 0x33 = Rx), not axis 5 or 6.
This commit is contained in:
+2
-2
@@ -75,8 +75,8 @@ void test_named_accessors_map_correct_indices(void) {
|
||||
stk_state_t state = { 0 };
|
||||
state.axes[1] = 111;
|
||||
state.axes[2] = 222;
|
||||
state.axes[4] = 333;
|
||||
state.axes[5] = 444;
|
||||
state.axes[3] = 333;
|
||||
state.axes[4] = 444;
|
||||
|
||||
TEST_ASSERT_EQUAL_INT16(111, stk_right_x(&state));
|
||||
TEST_ASSERT_EQUAL_INT16(222, stk_right_y(&state));
|
||||
|
||||
Reference in New Issue
Block a user