summaryrefslogtreecommitdiff
path: root/keyboards/lime
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-11-27 03:14:45 +1100
committerGitHub <noreply@github.com>2022-11-27 03:14:45 +1100
commit1e95f7be8f214c544bf99f415916a4a5f07a1e9b (patch)
tree99e7148ab4c464f40da8f0ee01e079843a26cf14 /keyboards/lime
parenta5a20cc792540c0de61f064bd8dafcdc5815d4cc (diff)
Joystick feature improvements (#19052)
Diffstat (limited to 'keyboards/lime')
-rw-r--r--keyboards/lime/keymaps/default/keymap.c2
-rw-r--r--keyboards/lime/rev1/config.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/lime/keymaps/default/keymap.c b/keyboards/lime/keymaps/default/keymap.c
index 5760bd9359..9dd2894879 100644
--- a/keyboards/lime/keymaps/default/keymap.c
+++ b/keyboards/lime/keymaps/default/keymap.c
@@ -179,7 +179,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
}
/* Joystick axes settings */
- joystick_config_t joystick_axes[JOYSTICK_AXES_COUNT] = {
+ joystick_config_t joystick_axes[JOYSTICK_AXIS_COUNT] = {
[0] = JOYSTICK_AXIS_IN(JOYSTICK_X_PIN, 268, 514, 813),
[1] = JOYSTICK_AXIS_IN(JOYSTICK_Y_PIN, 865, 519, 260)
};
diff --git a/keyboards/lime/rev1/config.h b/keyboards/lime/rev1/config.h
index 942cb9c7b8..70f1cc419b 100644
--- a/keyboards/lime/rev1/config.h
+++ b/keyboards/lime/rev1/config.h
@@ -40,9 +40,9 @@
/* joystick support */
#ifdef JOYSTICK_ENABLE
-# define JOYSTICK_AXES_COUNT 2
+# define JOYSTICK_AXIS_COUNT 2
# define JOYSTICK_BUTTON_COUNT 1
-# define JOYSTICK_AXES_RESOLUTION 8
+# define JOYSTICK_AXIS_RESOLUTION 8
#endif
#define TAP_CODE_DELAY 10