diff options
Diffstat (limited to 'keyboards/clueboard')
113 files changed, 2146 insertions, 4131 deletions
diff --git a/keyboards/clueboard/17/17.c b/keyboards/clueboard/17/17.c index f84e3253e9..627aa236dd 100644 --- a/keyboards/clueboard/17/17.c +++ b/keyboards/clueboard/17/17.c @@ -12,13 +12,11 @@ void matrix_init_kb(void) { MCUCR |= (1<<JTD); }; -void led_set_kb(uint8_t usb_led) -{ +void led_set_kb(uint8_t usb_led) { print("led_set\n"); } -void backlight_init_ports(void) -{ +void backlight_init_ports(void) { // Set C7 to output DDRC |= (1<<7); @@ -29,8 +27,7 @@ void backlight_init_ports(void) TCCR4B = 0b00000001; } -void backlight_set(uint8_t level) -{ +void backlight_set(uint8_t level) { // Determine the PWM level switch (level) { diff --git a/keyboards/clueboard/17/17.h b/keyboards/clueboard/17/17.h index 5e4a5999e2..af3be4f5a9 100644 --- a/keyboards/clueboard/17/17.h +++ b/keyboards/clueboard/17/17.h @@ -19,18 +19,21 @@ */ // The first section contains all of the arguments // The second converts the arguments into a two-dimensional array -#define KEYMAP( \ +#define LAYOUT_numpad_5x4( \ k00, k01, k02, k03, \ - k10, k11, k12, k13, \ - k20, k21, k22, \ - k30, k31, k32, k33, \ - k40, k42 \ + k10, k11, k12, \ |