diff options
author | Jay Greco <jayv.greco@gmail.com> | 2023-01-27 00:03:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 08:03:57 +0000 |
commit | b3dca4bb36d0c08e8145f6f25649aaf61b513fdd (patch) | |
tree | efa1166c6bae58dc30fd8f2d4157c64a1fbb4837 /keyboards/nullbitsco/scramble/scramble.h | |
parent | 6e42b5854902963469a4016abeca48a9df5c1c46 (diff) |
Add RP2040 SCRAMBLE v2 (#19489)
Diffstat (limited to 'keyboards/nullbitsco/scramble/scramble.h')
-rw-r--r-- | keyboards/nullbitsco/scramble/scramble.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/keyboards/nullbitsco/scramble/scramble.h b/keyboards/nullbitsco/scramble/scramble.h index 101645e51d..22c112040b 100644 --- a/keyboards/nullbitsco/scramble/scramble.h +++ b/keyboards/nullbitsco/scramble/scramble.h @@ -18,18 +18,13 @@ #include "quantum.h" -// Indication LED settings -#define LED_ON 2 -#define LED_DIM 1 -#define LED_OFF 0 - -#define GPIO_STATE_LOW 0 -#define GPIO_STATE_HIGH 1 - -#define PIN_LED B2 - -void set_scramble_LED(uint8_t mode); +#if defined(KEYBOARD_nullbitsco_scramble_v1) + #include "v1.h" +#elif defined(KEYBOARD_nullbitsco_scramble_v2) + #include "v2.h" +#endif +// Layout is the same in all revisions #define LAYOUT( \ K01, K02, K03, \ K11, K12, K13 \ |