aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/joystick.h
diff options
context:
space:
mode:
authorQMK Bot2025-11-30 20:25:52 +0100
committerQMK Bot2025-11-30 20:25:52 +0100
commitee60542bd6aa8d96714516f7f42b02fbd8105fcb (patch)
treefacebc35a70d8890375388f963f05ec4c89a9369 /quantum/joystick.h
parentb5dfb2bd1ea38a37c58227eb17bde583f0c0e4d6 (diff)
parent6ed61c65dd66cdbb450a4920a69bae193ec73f15 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum/joystick.h')
-rw-r--r--quantum/joystick.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/joystick.h b/quantum/joystick.h
index 24f80c1ad6..4769cf28cb 100644
--- a/quantum/joystick.h
+++ b/quantum/joystick.h
@@ -64,10 +64,8 @@
// configure on input_pin of the joystick_axes array entry to NO_PIN
// to prevent it from being read from the ADC. This allows outputting forged axis value.
-#define JOYSTICK_AXIS_VIRTUAL \
- { NO_PIN, 0, JOYSTICK_MAX_VALUE / 2, JOYSTICK_MAX_VALUE }
-#define JOYSTICK_AXIS_IN(INPUT_PIN, LOW, REST, HIGH) \
- { INPUT_PIN, LOW, REST, HIGH }
+#define JOYSTICK_AXIS_VIRTUAL {NO_PIN, 0, JOYSTICK_MAX_VALUE / 2, JOYSTICK_MAX_VALUE}
+#define JOYSTICK_AXIS_IN(INPUT_PIN, LOW, REST, HIGH) {INPUT_PIN, LOW, REST, HIGH}
typedef struct {
pin_t input_pin;