Skip to content

Commit

Permalink
Fix X and Y axis for SDVX knobs being switched
Browse files Browse the repository at this point in the history
  • Loading branch information
ASleepyCat committed Aug 3, 2024
1 parent c6583a4 commit ae19c19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fw/axis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include "config.h"

int8_t tt_transitions[4][4];
AnalogAxis analog_x(PINF4);
AnalogAxis analog_y(PINF5);
AnalogAxis analog_x(PINF5);
AnalogAxis analog_y(PINF4);
QeAxis tt_x(&PINF, PINF0, PINF1);
QeAxis tt_y(&PINF, PINF2, PINF3);

Expand Down
2 changes: 1 addition & 1 deletion fw/devices/sdvx/sdvx_usb_desc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace SDVX {
// Analog
HID_RI_USAGE(8, 0x01),
HID_RI_COLLECTION(8, 0x02),
HID_RI_USAGE(8, 0x31), // Y
HID_RI_USAGE(8, 0x30), // X
HID_RI_USAGE(8, 0x31), // Y
HID_RI_LOGICAL_MINIMUM(16, 0),
HID_RI_LOGICAL_MAXIMUM(16, 255),
HID_RI_PHYSICAL_MINIMUM(8, -1),
Expand Down

0 comments on commit ae19c19

Please sign in to comment.