summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2018-06-28 22:24:23 -0700
committerDrashna Jaelre <drashna@live.com>2018-06-28 22:24:23 -0700
commitb4888eee145628cbac0d523267a2c3bf5ccfd3a7 (patch)
treea4df44c3e080230f2df648ae0231c727c943c509
parent91e8e8d916eca4fb9db69876d91d7987946cf540 (diff)
Levinson Configurator support (#3260)
* Configurator support * Deleted deprecated KC_LAYOUT_ortho_4x12 matrix alias * Refactor valgrahf keymap for new matrix name
-rw-r--r--keyboards/levinson/info.json12
-rw-r--r--keyboards/levinson/keymaps/valgrahf/keymap.c6
-rw-r--r--keyboards/levinson/levinson.h1
3 files changed, 15 insertions, 4 deletions
diff --git a/keyboards/levinson/info.json b/keyboards/levinson/info.json
new file mode 100644
index 0000000000..4305135a1b
--- /dev/null
+++ b/keyboards/levinson/info.json
@@ -0,0 +1,12 @@
+{
+ "keyboard_name": "Levinson",
+ "url": "",
+ "maintainer": "qmk",
+ "width": 13,
+ "height": 4,
+ "layouts": {
+ "LAYOUT": {
+ "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}]
+ }
+ }
+}
diff --git a/keyboards/levinson/keymaps/valgrahf/keymap.c b/keyboards/levinson/keymaps/valgrahf/keymap.c
index 89c1864423..7b3df539db 100644
--- a/keyboards/levinson/keymaps/valgrahf/keymap.c
+++ b/keyboards/levinson/keymaps/valgrahf/keymap.c
@@ -26,7 +26,7 @@ extern keymap_config_t keymap_config;
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_BASE] = KC_LAYOUT_ortho_4x12(
+ [_BASE] = LAYOUT_kc_ortho_4x12(
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
TAB, Q , W , E , R , T , Y , U , I , O , P ,BSPC,
//|----+----+----+----+----+----| |----+----+----+----+----+----|
@@ -38,7 +38,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//`----+----+----+----+----+----' `----+----+----+----+----+----'
),
- [_FN1] = KC_LAYOUT_ortho_4x12(
+ [_FN1] = LAYOUT_kc_ortho_4x12(
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
GRV, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , ,
//|----+----+----+----+----+----| |----+----+----+----+----+----|
@@ -50,7 +50,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
//`----+----+----+----+----+----' `----+----+----+----+----+----'
),
- [_FN2] = KC_LAYOUT_ortho_4x12(
+ [_FN2] = LAYOUT_kc_ortho_4x12(
//,----+----+----+----+----+----. ,----+----+----+----+----+----.
TILD,EXLM, AT ,HASH,DLR ,PERC, CIRC,AMPR,ASTR,LPRN,RPRN, ,
//|----+----+----+----+----+----| |----+----+----+----+----+----|
diff --git a/keyboards/levinson/levinson.h b/keyboards/levinson/levinson.h
index b952ad3650..6b18b1a3e6 100644
--- a/keyboards/levinson/levinson.h
+++ b/keyboards/levinson/levinson.h
@@ -23,7 +23,6 @@
KC_##L30, KC_##L31, KC_##L32, KC_##L33, KC_##L34, KC_##L35, KC_##R30, KC_##R31, KC_##R32, KC_##R33, KC_##R34, KC_##R35 \
)
-#define KC_LAYOUT_ortho_4x12 LAYOUT_kc
#define LAYOUT_kc_ortho_4x12 LAYOUT_kc
#endif