aboutsummaryrefslogtreecommitdiff
path: root/quantum/joystick.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/joystick.c')
-rw-r--r--quantum/joystick.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/quantum/joystick.c b/quantum/joystick.c
new file mode 100644
index 000000000..7b87201ae
--- /dev/null
+++ b/quantum/joystick.c
@@ -0,0 +1,13 @@
1#include "joystick.h"
2
3joystick_t joystick_status = {.buttons = {0},
4 .axes =
5 {
6#if JOYSTICK_AXES_COUNT > 0
7 0
8#endif
9 },
10 .status = 0};
11
12// array defining the reading of analog values for each axis
13__attribute__((weak)) joystick_config_t joystick_axes[JOYSTICK_AXES_COUNT] = {};