diff --git a/keyboards/handwired/adept42/config.h b/keyboards/handwired/adept42/config.h index 8fc586d164..0ba37be746 100644 --- a/keyboards/handwired/adept42/config.h +++ b/keyboards/handwired/adept42/config.h @@ -54,3 +54,7 @@ /* Releasing key without pressing another will send the original key */ #define RETRO_TAPPING + +/* Enable keyboard to funtion as a gamepad as well */ +#define JOYSTICK_BUTTON_COUNT 12 +#define JOYSTICK_AXES_COUNT 0 diff --git a/keyboards/handwired/adept42/rules.mk b/keyboards/handwired/adept42/rules.mk index 61ec737ced..6f3e1ecc50 100644 --- a/keyboards/handwired/adept42/rules.mk +++ b/keyboards/handwired/adept42/rules.mk @@ -31,3 +31,4 @@ BLUETOOTH_ENABLE = no SLEEP_LED_ENABLE = no SPLIT_KEYBOARD = yes LTO_ENABLE = yes +JOYSTICK_ENABLE = digital