Skip to content

Commit

Permalink
More CR
Browse files Browse the repository at this point in the history
  • Loading branch information
bleroy committed Dec 23, 2024
1 parent 4316b57 commit a93eb3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keyboards/decent/numpad/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

#define JOYSTICK_AXIS_COUNT 4
#define JOYSTICK_BUTTON_COUNT 10
#define JOYSTICK_HAS_HAT
#define JOYSTICK_HAS_HAT
2 changes: 1 addition & 1 deletion keyboards/decent/numpad/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@
],
"driver": "ws2812"
}
}
}
4 changes: 2 additions & 2 deletions keyboards/decent/numpad/numpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void housekeeping_task_kb(void) {
else {
joystick_set_hat(-1);
}
int analog = analogReadPin(GP26);
int16_t analog = analogReadPin(GP26);
joystick_set_axis(0, analog);
analog = analogReadPin(GP27);
joystick_set_axis(1, analog);
Expand Down Expand Up @@ -108,4 +108,4 @@ bool rgb_matrix_indicators_advanced_kb(uint8_t led_min, uint8_t led_max) {
}

return false;
}
}

0 comments on commit a93eb3b

Please sign in to comment.