]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Fix the naming for clueboard files
authorskullY <skullydazed@gmail.com>
Sat, 21 Oct 2017 20:51:02 +0000 (13:51 -0700)
committerskullY <skullydazed@gmail.com>
Sat, 21 Oct 2017 20:51:18 +0000 (13:51 -0700)
42 files changed:
docs/contributing.md
keyboards/clueboard/17/17.c [new file with mode: 0644]
keyboards/clueboard/17/17.h [new file with mode: 0644]
keyboards/clueboard/17/clueboard_17.c [deleted file]
keyboards/clueboard/17/clueboard_17.h [deleted file]
keyboards/clueboard/17/keymaps/default/keymap.c
keyboards/clueboard/60/60.c [new file with mode: 0644]
keyboards/clueboard/60/60.h [new file with mode: 0644]
keyboards/clueboard/60/clueboard_60.c [deleted file]
keyboards/clueboard/60/clueboard_60.h [deleted file]
keyboards/clueboard/60/keymaps/default/keymap.c
keyboards/clueboard/60/keymaps/default_aek/keymap.c
keyboards/clueboard/66/66.c [new file with mode: 0644]
keyboards/clueboard/66/66.h [new file with mode: 0644]
keyboards/clueboard/66/clueboard_66.c [deleted file]
keyboards/clueboard/66/clueboard_66.h [deleted file]
keyboards/clueboard/66/keymaps/bloodlvst/keymap.c
keyboards/clueboard/66/keymaps/caps_fn/keymap.c
keyboards/clueboard/66/keymaps/colemak/keymap.c
keyboards/clueboard/66/keymaps/default/keymap.c
keyboards/clueboard/66/keymaps/jokrik/keymap.c
keyboards/clueboard/66/keymaps/mac_optimized/keymap.c
keyboards/clueboard/66/keymaps/magicmonty/keymap.c
keyboards/clueboard/66/keymaps/maximised/keymap.c
keyboards/clueboard/66/keymaps/mouse_keys/keymap.c
keyboards/clueboard/66/keymaps/serubin/keymap.c
keyboards/clueboard/66/keymaps/shift_fn/keymap.c
keyboards/clueboard/66/keymaps/skully/keymap.c
keyboards/clueboard/66/keymaps/smt/keymap.c
keyboards/clueboard/66/keymaps/tetris/keymap.c
keyboards/clueboard/66/keymaps/unix_optimized/keymap.c
keyboards/clueboard/66/keymaps/win_optimized/keymap.c
keyboards/clueboard/66/keymaps/xyverz/keymap.c
keyboards/clueboard/66/rev1/rev1.h
keyboards/clueboard/66/rev2/rev2.h
keyboards/clueboard/66/rev3/rev3.h
keyboards/clueboard/card/card.c [new file with mode: 0644]
keyboards/clueboard/card/card.h [new file with mode: 0644]
keyboards/clueboard/card/cluecard.c [deleted file]
keyboards/clueboard/card/cluecard.h [deleted file]
keyboards/clueboard/card/keymaps/default/keymap.c
keyboards/clueboard/card/keymaps/rgb_effects/keymap.c

index 755dd012f3ca82116b276bdb5df7cd0b83740e6a..58af8ce53b177cc0ea99f354f4eee8c9bc78c6f7 100644 (file)
@@ -80,7 +80,7 @@ We have a few different types of changes in QMK, each requiring a different leve
 * Make sure your code change actually compiles.
   * Keymaps: Make sure that `make keyboard:your_new_keymap` does not return an error
   * Keyboards: Make sure that `make keyboard:all` does not return any errors
-  * Core: Make sure that `make allkb` does not return any errors.
+  * Core: Make sure that `make all` does not return any errors.
 * Make sure commit messages are understandable on their own. You should put a short description (no more than 70 characters) on the first line, the second line should be empty, and on the 3rd and later lines you should describe your commit in detail, if required. Example:
 
 ```
diff --git a/keyboards/clueboard/17/17.c b/keyboards/clueboard/17/17.c
new file mode 100644 (file)
index 0000000..f84e325
--- /dev/null
@@ -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<<JTD);
+    MCUCR |= (1<<JTD);
+};
+
+void led_set_kb(uint8_t usb_led)
+{
+    print("led_set\n");
+}
+
+void backlight_init_ports(void)
+{
+    // Set C7 to output
+    DDRC |= (1<<7);
+
+    // Initialize the timer
+    TC4H = 0x03;
+    OCR4C = 0xFF;
+    TCCR4A = 0b10000010;
+    TCCR4B = 0b00000001;
+}
+
+void backlight_set(uint8_t level)
+{
+    // Determine the PWM level
+    switch (level)
+    {
+        case 0:
+            // 33%
+            pwm_level = 0x54;
+            break;
+        case 1:
+            // 66%
+            pwm_level = 0xA8;
+            break;
+        case 2:
+            // 100%
+            pwm_level = 0xFF;
+            break;
+        case 3:
+            // 0%
+            pwm_level = 0x00;
+            break;
+        default:
+            xprintf("Unknown level: %d\n", level);
+    }
+
+    // Write the PWM level to the timer
+    TC4H = pwm_level >> 8;
+    OCR4A = 0xFF & pwm_level;
+}
diff --git a/keyboards/clueboard/17/17.h b/keyboards/clueboard/17/17.h
new file mode 100644 (file)
index 0000000..5e4a599
--- /dev/null
@@ -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 (file)
index 04cc812..0000000
+++ /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<<JTD);
-    MCUCR |= (1<<JTD);
-};
-
-void led_set_kb(uint8_t usb_led)
-{
-    print("led_set\n");
-}
-
-void backlight_init_ports(void)
-{
-    // Set C7 to output
-    DDRC |= (1<<7);
-
-    // Initialize the timer
-    TC4H = 0x03;
-    OCR4C = 0xFF;
-    TCCR4A = 0b10000010;
-    TCCR4B = 0b00000001;
-}
-
-void backlight_set(uint8_t level)
-{
-    // Determine the PWM level
-    switch (level)
-    {
-        case 0:
-            // 33%
-            pwm_level = 0x54;
-            break;
-        case 1:
-            // 66%
-            pwm_level = 0xA8;
-            break;
-        case 2:
-            // 100%
-            pwm_level = 0xFF;
-            break;
-        case 3:
-            // 0%
-            pwm_level = 0x00;
-            break;
-        default:
-            xprintf("Unknown level: %d\n", level);
-    }
-
-    // Write the PWM level to the timer
-    TC4H = pwm_level >> 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 (file)
index 5e4a599..0000000
+++ /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
index 7a0d51851508ba57ce8344741a8348e12ff07223..e8f3525a869fb01214f8149ac7032541af5b6ca7 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_17.h"
+#include "17.h"
 
 #include "backlight.h"
 
diff --git a/keyboards/clueboard/60/60.c b/keyboards/clueboard/60/60.c
new file mode 100644 (file)
index 0000000..aac4e94
--- /dev/null
@@ -0,0 +1,24 @@
+/* Copyright 2017 skully <skullydazed@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "60.h"
+
+void matrix_init_kb(void) {
+
+}
+
+void matrix_scan_kb(void) {
+
+}
diff --git a/keyboards/clueboard/60/60.h b/keyboards/clueboard/60/60.h
new file mode 100644 (file)
index 0000000..ffff18f
--- /dev/null
@@ -0,0 +1,105 @@
+/* Copyright 2017 skully <skullydazed@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef CLUEBOARD60_H
+#define CLUEBOARD60_H
+
+#include "quantum.h"
+
+/*
+ * These are shortcuts to help you work with the various layout options. If your 
+ * keymap works with one of the LAYOUT_...() macros you are encouraged to use that
+ * and to contribute your keymap to the corresponding layout in 
+ * `qmk_firmware/layouts/community`.
+ */
+
+/* The fully-featured KEYMAP() that has every single key available in the matrix.
+ */
+#define KEYMAP(\
+    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
+     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
+     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c,  k2e, \
+    k30, k31,  k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,     k3c, k3e, \
+    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
+) { \
+    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, }, \
+    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
+    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO, k2e, }, \
+    { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, k3e, }, \
+    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
+}
+
+/* A layout that matches the Apple Extended Keyboard's main area. No split keys,
+ * 3 mods on either side of the spacebar.
+ */
+#define KEYMAP_AEK(\
+    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c,   k0e, \
+     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
+     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,    k2e, \
+       k30,   k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,      k3c, \
+    k40,  k41,  k42,               k47,                         k4b, k4c, k4e \
+) { \
+    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, k0e, }, \
+    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
+    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, KC_NO, KC_NO, k2e, }, \
+    { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, KC_NO, }, \
+    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, KC_NO, k4b, k4c, KC_NO, k4e, }, \
+}
+
+/* Standard 60% ANSI layout */
+#define LAYOUT_60_ansi(\
+    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c,   k0e, \
+     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
+     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,    k2e, \
+       k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,        k3c, \
+    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
+) { \
+    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, k0e, }, \
+    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
+    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, KC_NO, KC_NO, k2e, }, \
+    { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, KC_NO, }, \
+    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
+}
+
+/* Standard 60% ISO layout */
+#define LAYOUT_60_iso(\
+    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c,   k0e, \
+     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   \
+     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c,  k2e, \
+    k30, k31,  k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,     k3c, \
+    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
+) { \
+    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, k0e, }, \
+    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, KC_NO, }, \
+    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO, k2e, }, \
+    { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, KC_NO, }, \
+    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
+}
+
+/* Split Backspace and Right Shift ANSI layout. */
+#define LAYOUT_60_ansi_split_bs_rshift(\
+    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
+     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
+     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,    k2e, \
+       k30,    k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,     k3c, k3e, \
+    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
+) { \
+    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, }, \
+    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
+    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, KC_NO, KC_NO, k2e, }, \
+    { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, k3e, }, \
+    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
+}
+#endif
diff --git a/keyboards/clueboard/60/clueboard_60.c b/keyboards/clueboard/60/clueboard_60.c
deleted file mode 100644 (file)
index a0b74db..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Copyright 2017 skully <skullydazed@gmail.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#include "clueboard_60.h"
-
-void matrix_init_kb(void) {
-
-}
-
-void matrix_scan_kb(void) {
-
-}
diff --git a/keyboards/clueboard/60/clueboard_60.h b/keyboards/clueboard/60/clueboard_60.h
deleted file mode 100644 (file)
index ffff18f..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-/* Copyright 2017 skully <skullydazed@gmail.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-#ifndef CLUEBOARD60_H
-#define CLUEBOARD60_H
-
-#include "quantum.h"
-
-/*
- * These are shortcuts to help you work with the various layout options. If your 
- * keymap works with one of the LAYOUT_...() macros you are encouraged to use that
- * and to contribute your keymap to the corresponding layout in 
- * `qmk_firmware/layouts/community`.
- */
-
-/* The fully-featured KEYMAP() that has every single key available in the matrix.
- */
-#define KEYMAP(\
-    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
-     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
-     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c,  k2e, \
-    k30, k31,  k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,     k3c, k3e, \
-    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
-) { \
-    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, }, \
-    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
-    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO, k2e, }, \
-    { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, k3e, }, \
-    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
-}
-
-/* A layout that matches the Apple Extended Keyboard's main area. No split keys,
- * 3 mods on either side of the spacebar.
- */
-#define KEYMAP_AEK(\
-    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c,   k0e, \
-     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
-     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,    k2e, \
-       k30,   k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,      k3c, \
-    k40,  k41,  k42,               k47,                         k4b, k4c, k4e \
-) { \
-    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, k0e, }, \
-    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
-    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, KC_NO, KC_NO, k2e, }, \
-    { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, KC_NO, }, \
-    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, KC_NO, k4b, k4c, KC_NO, k4e, }, \
-}
-
-/* Standard 60% ANSI layout */
-#define LAYOUT_60_ansi(\
-    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c,   k0e, \
-     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
-     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,    k2e, \
-       k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,        k3c, \
-    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
-) { \
-    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, k0e, }, \
-    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
-    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, KC_NO, KC_NO, k2e, }, \
-    { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, KC_NO, }, \
-    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
-}
-
-/* Standard 60% ISO layout */
-#define LAYOUT_60_iso(\
-    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c,   k0e, \
-     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   \
-     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c,  k2e, \
-    k30, k31,  k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,     k3c, \
-    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
-) { \
-    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO, k0e, }, \
-    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, KC_NO, }, \
-    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO, k2e, }, \
-    { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, KC_NO, }, \
-    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
-}
-
-/* Split Backspace and Right Shift ANSI layout. */
-#define LAYOUT_60_ansi_split_bs_rshift(\
-    k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \
-     k10,   k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c,   k1e, \
-     k20,    k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,    k2e, \
-       k30,    k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b,     k3c, k3e, \
-    k40,  k41,  k42,               k47,                    k4a, k4b, k4c, k4e \
-) { \
-    { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, }, \
-    { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, }, \
-    { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, KC_NO, KC_NO, k2e, }, \
-    { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, KC_NO, k3e, }, \
-    { k40, k41, k42, KC_NO, KC_NO, KC_NO, KC_NO, k47, KC_NO, KC_NO, k4a, k4b, k4c, KC_NO, k4e, }, \
-}
-#endif
index e662057f086ffe3f527257df80a0253787ae97a6..1b0c7126409782a459095e64ecdcc25d7f02cc16 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_60.h"
+#include "60.h"
 
 #define _______ KC_TRNS
 
index d2d3db7720e8a260c55709f44ff0738763ef2b48..63b1d8ba2e6bf5b0b24926058c25e8d1b5741576 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_60.h"
+#include "60.h"
 
 #define _______ KC_TRNS
 
diff --git a/keyboards/clueboard/66/66.c b/keyboards/clueboard/66/66.c
new file mode 100644 (file)
index 0000000..15d7422
--- /dev/null
@@ -0,0 +1 @@
+#include "66.h"
diff --git a/keyboards/clueboard/66/66.h b/keyboards/clueboard/66/66.h
new file mode 100644 (file)
index 0000000..c898998
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef CLUEBOARD_H
+#define CLUEBOARD_H
+
+#include "quantum.h"
+
+#ifdef KEYBOARD_clueboard_66_rev1
+    #include "rev1.h"
+#endif
+#ifdef KEYBOARD_clueboard_66_rev2
+    #include "rev2.h"
+#endif
+#ifdef KEYBOARD_clueboard_66_rev3
+    #include "rev3.h"
+#endif
+
+#endif
diff --git a/keyboards/clueboard/66/clueboard_66.c b/keyboards/clueboard/66/clueboard_66.c
deleted file mode 100644 (file)
index 1e000e6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include "clueboard_66.h"
diff --git a/keyboards/clueboard/66/clueboard_66.h b/keyboards/clueboard/66/clueboard_66.h
deleted file mode 100644 (file)
index c898998..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef CLUEBOARD_H
-#define CLUEBOARD_H
-
-#include "quantum.h"
-
-#ifdef KEYBOARD_clueboard_66_rev1
-    #include "rev1.h"
-#endif
-#ifdef KEYBOARD_clueboard_66_rev2
-    #include "rev2.h"
-#endif
-#ifdef KEYBOARD_clueboard_66_rev3
-    #include "rev3.h"
-#endif
-
-#endif
index bc50afa2f247d8bc60f2248be97fdb7a2822719f..d23b4cb84634a900052aa82d61f239eaa6b8d624 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 78eb43390e7de40365d0ff48572ecdad3bc4e9e2..4a5fa72db1d8ee3f72fb1f8eeda60bd5a565fbd7 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index b2921cca242c627c11b3776bf403d1996af296c1..4759823e8a24bb981f64ac407f8d6561f6dd054d 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index ad623c5480031d821d51ebb832047e18e66500bd..869165392060ac8c031bfab541c0c1a7036f7f4f 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index dd38e904c21289eb4b7cfe222b86e085a95deed7..9b03ae3ad5f42e1049352f0e2fe35560221555f5 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 8c3568e5930ec6abd36d14060ccb619573672e51..8f54a7bea91c1869eb59e75ee5a36a96da87b34e 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 6df7d7869708877ffa0bac9887714257333f5419..66915de1be3bf4a1a73de355829f6a5549f0d5ea 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 260f97477333566f6c3d1cfc94635ee1e9396b9e..bf577d1aaf4f74f95c86bc9457511550602e6cf4 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 15e068aa148647634a41b75dde450ca475bfd711..e3422a5a6ba039678facfca6df7d60d1a2315993 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 112670d662be7cae792e33c8ca8186b86628102b..1c9f21d42720d50e130067e746a6d9d99a0918d0 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 0d57e38a10bb852da37ebd9796929958d5303ca2..cf6223efbab159d41f23dbb00d188c68b4556673 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index 2e23948b2301b4e2b36067d56cac44e3056d701a..8ec2bed077f79e824abffc29510a737545931d4d 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index c61b32f8b6c9d97ea023ca8d13ce32847dadf428..095623ccc80a88ed5a13c3c91f5bb33344f1683b 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Each layer gets a name for readability, which is then used in the keymap matrix below.
 // The underscores don't mean anything - you can have a layer called STUFF or any other name.
index 4bf2465a9fd28569788663a495733bb2a400a8e1..4eeb719f92c45b81032abfeb06609371e58d1c27 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 #include "tetris_text.h"
 
 // Helpful defines
index dab959bdc7e2d78b13d9fdc6ade7c0bf4668ad0a..91f5250c7e8faf1f92f9229dc105ef3026a16bd4 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index fb83aaa24ce721642266c28c4417f440821d3755..83c9a6716c2159ae01738cb098f38e4216edb09d 100644 (file)
@@ -1,4 +1,4 @@
-#include "clueboard_66.h"
+#include "66.h"
 
 // Helpful defines
 #define _______ KC_TRNS
index b725b11dd77ce24ed2e7a1ab99368d42404cb654..d7093f0a3c84c53be62f6ba6687844e51cb1d5bc 100644 (file)
@@ -1,7 +1,7 @@
 // Xyverz' keymap.
 // It's based on the default keymap, but Dvorak!
 
-#include "clueboard_66.h"
+#include "66.h"
 
 // Used for SHIFT_ESC
 #define MODS_CTRL_MASK  (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
index cc94085f9292b26faec9867052438412e298f7d7..ca54df1ec2a384577c81aa1bc9e3b8b7d2c1d5e4 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef REV1_H
 #define REV1_H
 
-#include "../clueboard_66.h"
+#include "../66.h"
 
 /* Clueboard matrix layout
  * ,-----------------------------------------------------------.  ,---.
index da7ce500f9e80807127e26d63e0cbd4ea9216c4d..9a1b7271987d7b3f94d9e12fb31bf7d7fcde9407 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef REV2_H
 #define REV2_H
 
-#include "clueboard_66.h"
+#include "66.h"
 
 /* Clueboard matrix layout
  * ,-----------------------------------------------------------.  ,---.
index 7fd243c80920372f9b50574f7c8e8aac38c6ec01..9f3cdb10509a0afa5ba87ca889d9ebef1323ca73 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef REV3_H
 #define REV3_H
 
-#include "clueboard_66.h"
+#include "66.h"
 
 /* Clueboard matrix layout
  * ,-----------------------------------------------------------.  ,---.
diff --git a/keyboards/clueboard/card/card.c b/keyboards/clueboard/card/card.c
new file mode 100644 (file)
index 0000000..9b4b397
--- /dev/null
@@ -0,0 +1,98 @@
+#include "card.h"
+#define BL_RED OCR1B
+#define BL_GREEN OCR1A
+#define BL_BLUE OCR1C
+
+void matrix_init_kb(void) {
+       // put your keyboard start-up code here
+       // runs once when the firmware starts up
+
+       matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+       // put your looping keyboard code here
+       // runs every cycle (a lot)
+
+       matrix_scan_user();
+}
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+       // put your per-action keyboard code here
+       // runs for every action, just before processing by the firmware
+
+       return process_record_user(keycode, record);
+}
+
+void led_set_kb(uint8_t usb_led) {
+       // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+
+       led_set_user(usb_led);
+}
+
+void backlight_init_ports(void)
+{
+       // Set B5, B6, and B7 as output
+       DDRB |= (1<<7)|(1<<6)|(1<<5);
+
+       // Setup PWM
+       ICR1 = 0xFFFF;
+       TCCR1A = 0b10101010;
+       TCCR1B = 0b00011001;
+
+       BL_RED = 0xFFFF;
+       BL_GREEN = 0xFFFF;
+       BL_BLUE = 0xFFFF;
+}
+
+void backlight_set(uint8_t level)
+{
+       // Set the RGB color
+       switch (level)
+       {
+       case 0:
+               // Off
+               BL_RED = 0xFFFF;
+               BL_GREEN = 0xFFFF;
+               BL_BLUE = 0xFFFF;
+               break;
+       case 1:
+               // Red
+               BL_RED = 0x0000;
+               BL_GREEN = 0xFFFF;
+               BL_BLUE = 0xFFFF;
+               break;
+       case 2:
+               // Green
+               BL_RED = 0xFFFF;
+               BL_GREEN = 0x0000;
+               BL_BLUE = 0xFFFF;
+               break;
+       case 3:
+               // Blue
+               BL_RED = 0xFFFF;
+               BL_GREEN = 0xFFFF;
+               BL_BLUE = 0x0000;
+               break;
+       case 4:
+               // Magenta
+               BL_RED = 0x4000;
+               BL_GREEN = 0x4000;
+               BL_BLUE = 0x4000;
+               break;
+       case 5:
+               // Purple
+               BL_RED = 0x0000;
+               BL_GREEN = 0xFFFF;
+               BL_BLUE = 0x0000;
+               break;
+       case 6:
+               // Yellow
+               BL_RED = 0x0000;
+               BL_GREEN = 0x0000;
+               BL_BLUE = 0xFFFF;
+               break;
+       default:
+               xprintf("Unknown level: %d\n", level);
+       }
+}
diff --git a/keyboards/clueboard/card/card.h b/keyboards/clueboard/card/card.h
new file mode 100644 (file)
index 0000000..3342a08
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef CLUECARD_H
+#define CLUECARD_H
+
+#include "quantum.h"
+
+// This a shortcut to help you visually see your layout.
+// The first section contains all of the arguements
+// The second converts the arguments into a two-dimensional array
+#define KEYMAP( \
+       k00, k01, k02, \
+       k10, k12, \
+       k20, k21, k22, \
+       k11, \
+       k30, k31, k32 \
+) { \
+       { k00, k01, k02, }, \
+       { k10, k11, k12, }, \
+       { k20, k21, k22, }, \
+       { k30, k31, k32, } \
+}
+
+#endif
diff --git a/keyboards/clueboard/card/cluecard.c b/keyboards/clueboard/card/cluecard.c
deleted file mode 100644 (file)
index 81db252..0000000
+++ /dev/null
@@ -1,98 +0,0 @@
-#include "cluecard.h"
-#define BL_RED OCR1B
-#define BL_GREEN OCR1A
-#define BL_BLUE OCR1C
-
-void matrix_init_kb(void) {
-       // put your keyboard start-up code here
-       // runs once when the firmware starts up
-
-       matrix_init_user();
-}
-
-void matrix_scan_kb(void) {
-       // put your looping keyboard code here
-       // runs every cycle (a lot)
-
-       matrix_scan_user();
-}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
-       // put your per-action keyboard code here
-       // runs for every action, just before processing by the firmware
-
-       return process_record_user(keycode, record);
-}
-
-void led_set_kb(uint8_t usb_led) {
-       // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
-
-       led_set_user(usb_led);
-}
-
-void backlight_init_ports(void)
-{
-       // Set B5, B6, and B7 as output
-       DDRB |= (1<<7)|(1<<6)|(1<<5);
-
-       // Setup PWM
-       ICR1 = 0xFFFF;
-       TCCR1A = 0b10101010;
-       TCCR1B = 0b00011001;
-
-       BL_RED = 0xFFFF;
-       BL_GREEN = 0xFFFF;
-       BL_BLUE = 0xFFFF;
-}
-
-void backlight_set(uint8_t level)
-{
-       // Set the RGB color
-       switch (level)
-       {
-       case 0:
-               // Off
-               BL_RED = 0xFFFF;
-               BL_GREEN = 0xFFFF;
-               BL_BLUE = 0xFFFF;
-               break;
-       case 1:
-               // Red
-               BL_RED = 0x0000;
-               BL_GREEN = 0xFFFF;
-               BL_BLUE = 0xFFFF;
-               break;
-       case 2:
-               // Green
-               BL_RED = 0xFFFF;
-               BL_GREEN = 0x0000;
-               BL_BLUE = 0xFFFF;
-               break;
-       case 3:
-               // Blue
-               BL_RED = 0xFFFF;
-               BL_GREEN = 0xFFFF;
-               BL_BLUE = 0x0000;
-               break;
-       case 4:
-               // Magenta
-               BL_RED = 0x4000;
-               BL_GREEN = 0x4000;
-               BL_BLUE = 0x4000;
-               break;
-       case 5:
-               // Purple
-               BL_RED = 0x0000;
-               BL_GREEN = 0xFFFF;
-               BL_BLUE = 0x0000;
-               break;
-       case 6:
-               // Yellow
-               BL_RED = 0x0000;
-               BL_GREEN = 0x0000;
-               BL_BLUE = 0xFFFF;
-               break;
-       default:
-               xprintf("Unknown level: %d\n", level);
-       }
-}
diff --git a/keyboards/clueboard/card/cluecard.h b/keyboards/clueboard/card/cluecard.h
deleted file mode 100644 (file)
index 3342a08..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef CLUECARD_H
-#define CLUECARD_H
-
-#include "quantum.h"
-
-// This a shortcut to help you visually see your layout.
-// The first section contains all of the arguements
-// The second converts the arguments into a two-dimensional array
-#define KEYMAP( \
-       k00, k01, k02, \
-       k10, k12, \
-       k20, k21, k22, \
-       k11, \
-       k30, k31, k32 \
-) { \
-       { k00, k01, k02, }, \
-       { k10, k11, k12, }, \
-       { k20, k21, k22, }, \
-       { k30, k31, k32, } \
-}
-
-#endif
index cd87750a8149ffc8e728f8d7d1e372938601fa29..5fa6ae20a9335644fab13d0e18824cbc237bef55 100644 (file)
@@ -1,4 +1,4 @@
-#include "cluecard.h"
+#include "card.h"
 #ifdef AUDIO_ENABLE
        #include "audio.h"
 #endif
index 74c95ce8a83a64f842916952e07b332091e6d22b..15cf5325d0343fd063cda481c39bac2fe745014f 100644 (file)
@@ -1,4 +1,4 @@
-#include "cluecard.h"
+#include "card.h"
 
 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
        [0] = KEYMAP(