From 9bb259b660925c7a5cd64b3a0a4484cdf757b504 Mon Sep 17 00:00:00 2001 From: skullY Date: Sat, 21 Oct 2017 13:51:02 -0700 Subject: Fix the naming for clueboard files --- keyboards/clueboard/17/17.c | 60 +++++++++++++++++++++++++ keyboards/clueboard/17/17.h | 36 +++++++++++++++ keyboards/clueboard/17/clueboard_17.c | 60 ------------------------- keyboards/clueboard/17/clueboard_17.h | 36 --------------- keyboards/clueboard/17/keymaps/default/keymap.c | 2 +- 5 files changed, 97 insertions(+), 97 deletions(-) create mode 100644 keyboards/clueboard/17/17.c create mode 100644 keyboards/clueboard/17/17.h delete mode 100644 keyboards/clueboard/17/clueboard_17.c delete mode 100644 keyboards/clueboard/17/clueboard_17.h (limited to 'keyboards/clueboard/17') diff --git a/keyboards/clueboard/17/17.c b/keyboards/clueboard/17/17.c new file mode 100644 index 0000000000..f84e3253e9 --- /dev/null +++ b/keyboards/clueboard/17/17.c @@ -0,0 +1,60 @@ +#include "17.h" + +int pwm_level; + +void matrix_init_kb(void) { + // put your keyboard start-up code here + // runs once when the firmware starts up + matrix_init_user(); + + // JTAG disable for PORT F. write JTD bit twice within four cycles. + MCUCR |= (1<> 8; + OCR4A = 0xFF & pwm_level; +} diff --git a/keyboards/clueboard/17/17.h b/keyboards/clueboard/17/17.h new file mode 100644 index 0000000000..5e4a5999e2 --- /dev/null +++ b/keyboards/clueboard/17/17.h @@ -0,0 +1,36 @@ +#ifndef CLUEPAD_H +#define CLUEPAD_H + +#include "quantum.h" + + +/* Cluepad matrix layout + * .-------------------. + * |NLCK| /| *| -| + * |-------------------| + * | 7| 8| 9| | + * |--------------| | + * | 4| 5| 6| +| + * |-------------------| + * | 1| 2| 3| | + * |--------------| | + * | 0| .| Ent| + * '-------------------' + */ +// The first section contains all of the arguments +// The second converts the arguments into a two-dimensional array +#define KEYMAP( \ + k00, k01, k02, k03, \ + k10, k11, k12, k13, \ + k20, k21, k22, \ + k30, k31, k32, k33, \ + k40, k42 \ +) { \ + { k00, k01, k02, k03, }, \ + { k10, k11, k12, k13, }, \ + { k20, k21, k22, KC_NO, }, \ + { k30, k31, k32, k33, }, \ + { k40, KC_NO, k42, KC_NO } \ +} + +#endif diff --git a/keyboards/clueboard/17/clueboard_17.c b/keyboards/clueboard/17/clueboard_17.c deleted file mode 100644 index 04cc812178..0000000000 --- a/keyboards/clueboard/17/clueboard_17.c +++ /dev/null @@ -1,60 +0,0 @@ -#include "clueboard_17.h" - -int pwm_level; - -void matrix_init_kb(void) { - // put your keyboard start-up code here - // runs once when the firmware starts up - matrix_init_user(); - - // JTAG disable for PORT F. write JTD bit twice within four cycles. - MCUCR |= (1<> 8; - OCR4A = 0xFF & pwm_level; -} diff --git a/keyboards/clueboard/17/clueboard_17.h b/keyboards/clueboard/17/clueboard_17.h deleted file mode 100644 index 5e4a5999e2..0000000000 --- a/keyboards/clueboard/17/clueboard_17.h +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef CLUEPAD_H -#define CLUEPAD_H - -#include "quantum.h" - - -/* Cluepad matrix layout - * .-------------------. - * |NLCK| /| *| -| - * |-------------------| - * | 7| 8| 9| | - * |--------------| | - * | 4| 5| 6| +| - * |-------------------| - * | 1| 2| 3| | - * |--------------| | - * | 0| .| Ent| - * '-------------------' - */ -// The first section contains all of the arguments -// The second converts the arguments into a two-dimensional array -#define KEYMAP( \ - k00, k01, k02, k03, \ - k10, k11, k12, k13, \ - k20, k21, k22, \ - k30, k31, k32, k33, \ - k40, k42 \ -) { \ - { k00, k01, k02, k03, }, \ - { k10, k11, k12, k13, }, \ - { k20, k21, k22, KC_NO, }, \ - { k30, k31, k32, k33, }, \ - { k40, KC_NO, k42, KC_NO } \ -} - -#endif diff --git a/keyboards/clueboard/17/keymaps/default/keymap.c b/keyboards/clueboard/17/keymaps/default/keymap.c index 7a0d518515..e8f3525a86 100644 --- a/keyboards/clueboard/17/keymaps/default/keymap.c +++ b/keyboards/clueboard/17/keymaps/default/keymap.c @@ -1,4 +1,4 @@ -#include "clueboard_17.h" +#include "17.h" #include "backlight.h" -- cgit v1.2.1