summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2024-01-23 00:18:20 +1100
committerGitHub <noreply@github.com>2024-01-22 13:18:20 +0000
commit3495cbc6382d4fa08ee5b4294527ab66fb7dff59 (patch)
tree99a9029850655b675d2b7041767375e81e5648ca /keyboards
parentcdbfcb6c148fe1f4b929f148149d3c9d572dff67 (diff)
Fix missing joystick.h include (#22946)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/handwired/battleship_gamepad/config.h1
-rw-r--r--keyboards/handwired/onekey/keymaps/joystick/config.h1
-rw-r--r--keyboards/lime/rev1/config.h7
3 files changed, 1 insertions, 8 deletions
diff --git a/keyboards/handwired/battleship_gamepad/config.h b/keyboards/handwired/battleship_gamepad/config.h
index f2eee84a57..9853f7f39d 100644
--- a/keyboards/handwired/battleship_gamepad/config.h
+++ b/keyboards/handwired/battleship_gamepad/config.h
@@ -18,7 +18,6 @@
/* joystick configuration */
#define JOYSTICK_BUTTON_COUNT 25
-#define JOYSTICK_AXIS_COUNT 2
#define JOYSTICK_AXIS_RESOLUTION 10
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
diff --git a/keyboards/handwired/onekey/keymaps/joystick/config.h b/keyboards/handwired/onekey/keymaps/joystick/config.h
index 8a4e461b27..589e4dbf3d 100644
--- a/keyboards/handwired/onekey/keymaps/joystick/config.h
+++ b/keyboards/handwired/onekey/keymaps/joystick/config.h
@@ -1,4 +1,3 @@
#pragma once
-#define JOYSTICK_AXIS_COUNT 2
#define JOYSTICK_BUTTON_COUNT 1
diff --git a/keyboards/lime/rev1/config.h b/keyboards/lime/rev1/config.h
index ec2c061372..a87c01b938 100644
--- a/keyboards/lime/rev1/config.h
+++ b/keyboards/lime/rev1/config.h
@@ -16,11 +16,6 @@
#pragma once
-/* joystick support */
-#ifdef JOYSTICK_ENABLE
-# define JOYSTICK_AXIS_COUNT 2
-# define JOYSTICK_BUTTON_COUNT 1
-# define JOYSTICK_AXIS_RESOLUTION 8
-#endif
+#define JOYSTICK_BUTTON_COUNT 1
#define SPLIT_USB_DETECT