summaryrefslogtreecommitdiff
path: root/keyboards/dc01/arrow
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-07-21 12:12:07 -0700
committerDrashna Jaelre <drashna@live.com>2018-07-21 12:12:07 -0700
commit1147fc24adfe22eac6e67f9d7f0f1184f358f141 (patch)
tree7d1b46e824e7fe5a8652f04f3739b76481aa2375 /keyboards/dc01/arrow
parentd4056a11d3b1e29800d6bccab4d601db211a7f53 (diff)
downloadqmk_firmware-1147fc24adfe22eac6e67f9d7f0f1184f358f141.tar.gz
qmk_firmware-1147fc24adfe22eac6e67f9d7f0f1184f358f141.zip
Keyboard: DC01 refactor and Configurator support (#3445)
* Arrow: matrix and keymap refactor * Left: matrix and keymap refactor * Numpad: matrix macro correction * Numpad: add support for community layouts numpad_5x4 and ortho_5x4 * Right: matrix and keymap refactor * DC01 global readme cleanup (minor grammar) * DC01 global Configurator support * Right: bugfixes for HHKB-style keymaps
Diffstat (limited to 'keyboards/dc01/arrow')
-rw-r--r--keyboards/dc01/arrow/arrow.h2
-rw-r--r--keyboards/dc01/arrow/info.json12
-rw-r--r--keyboards/dc01/arrow/keymaps/default/keymap.c2
-rw-r--r--keyboards/dc01/arrow/readme.md2
4 files changed, 15 insertions, 3 deletions
diff --git a/keyboards/dc01/arrow/arrow.h b/keyboards/dc01/arrow/arrow.h
index b7fec9ee84..a3a9987d58 100644
--- a/keyboards/dc01/arrow/arrow.h
+++ b/keyboards/dc01/arrow/arrow.h
@@ -23,7 +23,7 @@
// This a shortcut to help you visually see your layout.
// The first section contains all of the arguments
// The second converts the arguments into a two-dimensional array
-#define LAYOUT_ALL( \
+#define LAYOUT_all( \
K00, K01, K02, \
K10, K11, K12, \
\
diff --git a/keyboards/dc01/arrow/info.json b/keyboards/dc01/arrow/info.json
index e69de29bb2..b3b584fbd5 100644
--- a/keyboards/dc01/arrow/info.json
+++ b/keyboards/dc01/arrow/info.json
@@ -0,0 +1,12 @@
+{
+ "keyboard_name": "DC01 Arrow Cluster",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 3,
+ "height": 5,
+ "layouts": {
+ "LAYOUT_all": {
+ "layout": [{"label":"Insert", "x":0, "y":0}, {"label":"Home", "x":1, "y":0}, {"label":"PgUp", "x":2, "y":0}, {"label":"Delete", "x":0, "y":1}, {"label":"End", "x":1, "y":1}, {"label":"PgDn", "x":2, "y":1}, {"label":"\u2191", "x":1, "y":3}, {"label":"\u2190", "x":0, "y":4}, {"label":"\u2193", "x":1, "y":4}, {"label":"\u2192", "x":2, "y":4}]
+ }
+ }
+}
diff --git a/keyboards/dc01/arrow/keymaps/default/keymap.c b/keyboards/dc01/arrow/keymaps/default/keymap.c
index 591deb01c8..54eae570e8 100644
--- a/keyboards/dc01/arrow/keymaps/default/keymap.c
+++ b/keyboards/dc01/arrow/keymaps/default/keymap.c
@@ -16,7 +16,7 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-[0] = LAYOUT_ALL( /* Base */
+[0] = LAYOUT_all( /* Base */
KC_INS, KC_HOME, KC_PGUP, \
KC_DEL, KC_END, KC_PGDN, \
\
diff --git a/keyboards/dc01/arrow/readme.md b/keyboards/dc01/arrow/readme.md
index 3c0ece7a31..ae643114ad 100644
--- a/keyboards/dc01/arrow/readme.md
+++ b/keyboards/dc01/arrow/readme.md
@@ -2,7 +2,7 @@
![DC01 Arrow Cluster](https://i.imgur.com/PTn0sp8.jpg)
-A hotpluggable four part keyboard which comes together with magnets and pogo pins! This is the arrow cluster
+A hotpluggable four part keyboard which comes together with magnets and pogo pins! This is the arrow cluster.
Keyboard Maintainer: [Yiancar](https://github.com/yiancar)
Hardware Supported: Runs on an atmega32u4