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:
2026-06-14 19:26:37 +02:00
parent 4d15897b87
commit 8276b7bad5
3 changed files with 21 additions and 18 deletions
+2 -2
View File
@@ -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));