]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Refactor and Configurator updates for Woodkeys/NovelKeys Big Series (#3073)
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>
Tue, 29 May 2018 10:53:03 +0000 (03:53 -0700)
committerDrashna Jaelre <drashna@live.com>
Tue, 29 May 2018 10:53:03 +0000 (03:53 -0700)
* Refactor for Woodkeys Big Series

* Configurator update for Woodkeys Big Series

keyboards/bigseries/bigseries.h
keyboards/bigseries/info.json [new file with mode: 0644]
keyboards/bigseries/keymaps/8ball/keymap.c
keyboards/bigseries/keymaps/default/keymap.c
keyboards/bigseries/keymaps/leddance/keymap.c

index 4a8ac1116cda61181af6d4d023c087e26a384d01..34414077986a6b20150dc706563dc9c2e15619de 100755 (executable)
@@ -19,7 +19,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include "quantum.h"
 
-#define KEYMAP( \
+#define LAYOUT( \
   K00  \
 ) { \
   { K00 }  \
diff --git a/keyboards/bigseries/info.json b/keyboards/bigseries/info.json
new file mode 100644 (file)
index 0000000..ff2fd54
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "keyboard_name": "Big Series 1-Key",
+  "url": "",
+  "maintainer": "qmk",
+  "width": 4,
+  "height": 4,
+  "layouts": {
+    "LAYOUT": {
+      "layout": [{"x":0, "y":0, "w":4, "h":4}]
+    }
+  }
+}
index df4e3dde8bacc37e7f917ae03538c7210b09afb0..1097eb94afa1cb198593c05399af89ebc4c88251 100755 (executable)
@@ -15,7 +15,7 @@ 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 "../../bigseries.h"
+#include QMK_KEYBOARD_H
 
 static const char * const ANSWERS[] = {
 // "Yes" answers
@@ -51,7 +51,7 @@ static const char * const ANSWERS[] = {
 
 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 
-KEYMAP(
+LAYOUT(
     KC_A),
 };
 
index 67cfb168c243504e52a05c0acd9bf1f44a8f071e..7ce837357f1309862492415f3ca8eb1d2fc58828 100755 (executable)
@@ -15,11 +15,11 @@ 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 "../../bigseries.h"
+#include QMK_KEYBOARD_H
 
 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 
-KEYMAP(
+LAYOUT(
     KC_A),
 
 
index 4cb57f4375aaf47bcd3e05945b8ab72793b0b746..3cd8f1db7f12eebce74a5b424e89af58b1010c5c 100755 (executable)
@@ -15,8 +15,8 @@ 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 "../../bigseries.h"
-#include "print.h"
+#include QMK_KEYBOARD_H
+
 
 extern rgblight_config_t rgblight_config;
 
@@ -66,9 +66,9 @@ qk_tap_dance_action_t tap_dance_actions[] = {
 
 const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 
-[BASE] = KEYMAP(
+[BASE] = LAYOUT(
     TD(TD_TOGGLE)),
-[LED] = KEYMAP(
+[LED] = LAYOUT(
     TD(TD_TOGGLE)
     )