diff options
| author | QMK Bot | 2025-11-30 20:25:52 +0100 |
|---|---|---|
| committer | QMK Bot | 2025-11-30 20:25:52 +0100 |
| commit | ee60542bd6aa8d96714516f7f42b02fbd8105fcb (patch) | |
| tree | facebc35a70d8890375388f963f05ec4c89a9369 /quantum/joystick.h | |
| parent | b5dfb2bd1ea38a37c58227eb17bde583f0c0e4d6 (diff) | |
| parent | 6ed61c65dd66cdbb450a4920a69bae193ec73f15 (diff) | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum/joystick.h')
| -rw-r--r-- | quantum/joystick.h | 6 |
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; |