summaryrefslogtreecommitdiff
path: root/keyboards/adpenrose
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/adpenrose')
-rw-r--r--keyboards/adpenrose/obi/info.json155
-rw-r--r--keyboards/adpenrose/obi/keymaps/default_625u_space/keymap.c41
-rw-r--r--keyboards/adpenrose/obi/keymaps/default_625u_space/rules.mk1
-rw-r--r--keyboards/adpenrose/obi/matrix_diagram.md16
4 files changed, 162 insertions, 51 deletions
diff --git a/keyboards/adpenrose/obi/info.json b/keyboards/adpenrose/obi/info.json
index 3f16b579df..7db370c935 100644
--- a/keyboards/adpenrose/obi/info.json
+++ b/keyboards/adpenrose/obi/info.json
@@ -25,64 +25,117 @@
"layouts": {
"LAYOUT_all": {
"layout": [
- {"matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "F1", "matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "Tab", "matrix": [0, 1], "x": 1.25, "y": 0, "w": 1.5},
+ {"label": "Q", "matrix": [0, 2], "x": 2.75, "y": 0},
+ {"label": "W", "matrix": [0, 3], "x": 3.75, "y": 0},
+ {"label": "E", "matrix": [0, 4], "x": 4.75, "y": 0},
+ {"label": "R", "matrix": [0, 5], "x": 5.75, "y": 0},
+ {"label": "T", "matrix": [0, 6], "x": 6.75, "y": 0},
+ {"label": "Y", "matrix": [0, 7], "x": 7.75, "y": 0},
+ {"label": "U", "matrix": [0, 8], "x": 8.75, "y": 0},
+ {"label": "I", "matrix": [0, 9], "x": 9.75, "y": 0},
+ {"label": "O", "matrix": [0, 10], "x": 10.75, "y": 0},
+ {"label": "P", "matrix": [0, 11], "x": 11.75, "y": 0},
+ {"label": "{", "matrix": [0, 12], "x": 12.75, "y": 0},
+ {"label": "Backspace", "matrix": [0, 13], "x": 13.75, "y": 0, "w": 1.5},
- {"matrix": [0, 1], "x": 1.25, "y": 0, "w": 1.5},
- {"matrix": [0, 2], "x": 2.75, "y": 0},
- {"matrix": [0, 3], "x": 3.75, "y": 0},
- {"matrix": [0, 4], "x": 4.75, "y": 0},
- {"matrix": [0, 5], "x": 5.75, "y": 0},
- {"matrix": [0, 6], "x": 6.75, "y": 0},
- {"matrix": [0, 7], "x": 7.75, "y": 0},
- {"matrix": [0, 8], "x": 8.75, "y": 0},
- {"matrix": [0, 9], "x": 9.75, "y": 0},
- {"matrix": [0, 10], "x": 10.75, "y": 0},
- {"matrix": [0, 11], "x": 11.75, "y": 0},
- {"matrix": [0, 12], "x": 12.75, "y": 0},
- {"matrix": [0, 13], "x": 13.75, "y": 0, "w": 1.5},
+ {"label": "F2", "matrix": [1, 0], "x": 0, "y": 1},
+ {"label": "Caps Lock", "matrix": [1, 1], "x": 1.25, "y": 1, "w": 1.75},
+ {"label": "A", "matrix": [1, 2], "x": 3, "y": 1},
+ {"label": "S", "matrix": [1, 3], "x": 4, "y": 1},
+ {"label": "D", "matrix": [1, 4], "x": 5, "y": 1},
+ {"label": "F", "matrix": [1, 5], "x": 6, "y": 1},
+ {"label": "G", "matrix": [1, 6], "x": 7, "y": 1},
+ {"label": "H", "matrix": [1, 7], "x": 8, "y": 1},
+ {"label": "J", "matrix": [1, 8], "x": 9, "y": 1},
+ {"label": "K", "matrix": [1, 9], "x": 10, "y": 1},
+ {"label": "L", "matrix": [1, 10], "x": 11, "y": 1},
+ {"label": ":", "matrix": [1, 11], "x": 12, "y": 1},
+ {"label": "Enter", "matrix": [1, 13], "x": 13, "y": 1, "w": 2.25},
- {"matrix": [1, 0], "x": 0, "y": 1},
+ {"label": "F3", "matrix": [2, 0], "x": 0, "y": 2},
+ {"label": "Shift", "matrix": [2, 1], "x": 1.25, "y": 2, "w": 2.25},
+ {"label": "Z", "matrix": [2, 2], "x": 3.5, "y": 2},
+ {"label": "X", "matrix": [2, 3], "x": 4.5, "y": 2},
+ {"label": "C", "matrix": [2, 4], "x": 5.5, "y": 2},
+ {"label": "V", "matrix": [2, 5], "x": 6.5, "y": 2},
+ {"label": "B", "matrix": [2, 6], "x": 7.5, "y": 2},
+ {"label": "N", "matrix": [2, 7], "x": 8.5, "y": 2},
+ {"label": "M", "matrix": [2, 8], "x": 9.5, "y": 2},
+ {"label": "<", "matrix": [2, 9], "x": 10.5, "y": 2},
+ {"label": "Shift", "matrix": [2, 10], "x": 11.5, "y": 2, "w": 1.75},
+ {"label": "Up", "matrix": [2, 12], "x": 13.25, "y": 2},
+ {"label": "?", "matrix": [2, 13], "x": 14.25, "y": 2},
- {"matrix": [1, 1], "x": 1.25, "y": 1, "w": 1.75},
- {"matrix": [1, 2], "x": 3, "y": 1},
- {"matrix": [1, 3], "x": 4, "y": 1},
- {"matrix": [1, 4], "x": 5, "y": 1},
- {"matrix": [1, 5], "x": 6, "y": 1},
- {"matrix": [1, 6], "x": 7, "y": 1},
- {"matrix": [1, 7], "x": 8, "y": 1},
- {"matrix": [1, 8], "x": 9, "y": 1},
- {"matrix": [1, 9], "x": 10, "y": 1},
- {"matrix": [1, 10], "x": 11, "y": 1},
- {"matrix": [1, 11], "x": 12, "y": 1},
- {"matrix": [1, 13], "x": 13, "y": 1, "w": 2.25},
+ {"label": "F4", "matrix": [3, 0], "x": 0, "y": 3},
+ {"label": "Ctrl", "matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
+ {"label": "Win", "matrix": [3, 2], "x": 2.5, "y": 3},
+ {"label": "Alt", "matrix": [3, 3], "x": 3.5, "y": 3, "w": 1.25},
+ {"label": "Spacebar", "matrix": [3, 5], "x": 4.75, "y": 3, "w": 2.25},
+ {"label": "Spacebar", "matrix": [3, 6], "x": 7, "y": 3, "w": 1.25},
+ {"label": "Spacebar", "matrix": [3, 7], "x": 8.25, "y": 3, "w": 2.75},
+ {"label": "Alt", "matrix": [3, 10], "x": 11, "y": 3, "w": 1.25},
+ {"label": "Left", "matrix": [3, 11], "x": 12.25, "y": 3},
+ {"label": "Down", "matrix": [3, 12], "x": 13.25, "y": 3},
+ {"label": "Right", "matrix": [3, 13], "x": 14.25, "y": 3}
+ ]
+ },
- {"matrix": [2, 0], "x": 0, "y": 2},
+ "LAYOUT_625u_space": {
+ "layout": [
+ {"label": "F1", "matrix": [0, 0], "x": 0, "y": 0},
+ {"label": "Tab", "matrix": [0, 1], "x": 1.25, "y": 0, "w": 1.5},
+ {"label": "Q", "matrix": [0, 2], "x": 2.75, "y": 0},
+ {"label": "W", "matrix": [0, 3], "x": 3.75, "y": 0},
+ {"label": "E", "matrix": [0, 4], "x": 4.75, "y": 0},
+ {"label": "R", "matrix": [0, 5], "x": 5.75, "y": 0},
+ {"label": "T", "matrix": [0, 6], "x": 6.75, "y": 0},
+ {"label": "Y", "matrix": [0, 7], "x": 7.75, "y": 0},
+ {"label": "U", "matrix": [0, 8], "x": 8.75, "y": 0},
+ {"label": "I", "matrix": [0, 9], "x": 9.75, "y": 0},
+ {"label": "O", "matrix": [0, 10], "x": 10.75, "y": 0},
+ {"label": "P", "matrix": [0, 11], "x": 11.75, "y": 0},
+ {"label": "{", "matrix": [0, 12], "x": 12.75, "y": 0},
+ {"label": "Backspace", "matrix": [0, 13], "x": 13.75, "y": 0, "w": 1.5},
- {"matrix": [2, 1], "x": 1.25, "y": 2, "w": 2.25},
- {"matrix": [2, 2], "x": 3.5, "y": 2},
- {"matrix": [2, 3], "x": 4.5, "y": 2},
- {"matrix": [2, 4], "x": 5.5, "y": 2},
- {"matrix": [2, 5], "x": 6.5, "y": 2},
- {"matrix": [2, 6], "x": 7.5, "y": 2},
- {"matrix": [2, 7], "x": 8.5, "y": 2},
- {"matrix": [2, 8], "x": 9.5, "y": 2},
- {"matrix": [2, 9], "x": 10.5, "y": 2},
- {"matrix": [2, 10], "x": 11.5, "y": 2, "w": 1.75},
- {"matrix": [2, 12], "x": 13.25, "y": 2},
- {"matrix": [2, 13], "x": 14.25, "y": 2},
+ {"label": "F2", "matrix": [1, 0], "x": 0, "y": 1},
+ {"label": "Caps Lock", "matrix": [1, 1], "x": 1.25, "y": 1, "w": 1.75},
+ {"label": "A", "matrix": [1, 2], "x": 3, "y": 1},
+ {"label": "S", "matrix": [1, 3], "x": 4, "y": 1},
+ {"label": "D", "matrix": [1, 4], "x": 5, "y": 1},
+ {"label": "F", "matrix": [1, 5], "x": 6, "y": 1},
+ {"label": "G", "matrix": [1, 6], "x": 7, "y": 1},
+ {"label": "H", "matrix": [1, 7], "x": 8, "y": 1},
+ {"label": "J", "matrix": [1, 8], "x": 9, "y": 1},
+ {"label": "K", "matrix": [1, 9], "x": 10, "y": 1},
+ {"label": "L", "matrix": [1, 10], "x": 11, "y": 1},
+ {"label": ":", "matrix": [1, 11], "x": 12, "y": 1},
+ {"label": "Enter", "matrix": [1, 13], "x": 13, "y": 1, "w": 2.25},
- {"matrix": [3, 0], "x": 0, "y": 3},
+ {"label": "F3", "matrix": [2, 0], "x": 0, "y": 2},
+ {"label": "Shift", "matrix": [2, 1], "x": 1.25, "y": 2, "w": 2.25},
+ {"label": "Z", "matrix": [2, 2], "x": 3.5, "y": 2},
+ {"label": "X", "matrix": [2, 3], "x": 4.5, "y": 2},
+ {"label": "C", "matrix": [2, 4], "x": 5.5, "y": 2},
+ {"label": "V", "matrix": [2, 5], "x": 6.5, "y": 2},
+ {"label": "B", "matrix": [2, 6], "x": 7.5, "y": 2},
+ {"label": "N", "matrix": [2, 7], "x": 8.5, "y": 2},
+ {"label": "M", "matrix": [2, 8], "x": 9.5, "y": 2},
+ {"label": "<", "matrix": [2, 9], "x": 10.5, "y": 2},
+ {"label": "Shift", "matrix": [2, 10], "x": 11.5, "y": 2, "w": 1.75},
+ {"label": "Up", "matrix": [2, 12], "x": 13.25, "y": 2},
+ {"label": "?", "matrix": [2, 13], "x": 14.25, "y": 2},
- {"matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
- {"matrix": [3, 2], "x": 2.5, "y": 3},
- {"matrix": [3, 3], "x": 3.5, "y": 3, "w": 1.25},
- {"matrix": [3, 5], "x": 4.75, "y": 3, "w": 2.25},
- {"matrix": [3, 6], "x": 7, "y": 3, "w": 1.25},
- {"matrix": [3, 7], "x": 8.25, "y": 3, "w": 2.75},
- {"matrix": [3, 10], "x": 11, "y": 3, "w": 1.25},
- {"matrix": [3, 11], "x": 12.25, "y": 3},
- {"matrix": [3, 12], "x": 13.25, "y": 3},
- {"matrix": [3, 13], "x": 14.25, "y": 3}
+ {"label": "F4", "matrix": [3, 0], "x": 0, "y": 3},
+ {"label": "Ctrl", "matrix": [3, 1], "x": 1.25, "y": 3, "w": 1.25},
+ {"label": "Win", "matrix": [3, 2], "x": 2.5, "y": 3},
+ {"label": "Alt", "matrix": [3, 3], "x": 3.5, "y": 3, "w": 1.25},
+ {"label": "Spacebar", "matrix": [3, 6], "x": 4.75, "y": 3, "w": 6.25},
+ {"label": "Alt", "matrix": [3, 10], "x": 11, "y": 3, "w": 1.25},
+ {"label": "Left", "matrix": [3, 11], "x": 12.25, "y": 3},
+ {"label": "Down", "matrix": [3, 12], "x": 13.25, "y": 3},
+ {"label": "Right", "matrix": [3, 13], "x": 14.25, "y": 3}
]
}
}
diff --git a/keyboards/adpenrose/obi/keymaps/default_625u_space/keymap.c b/keyboards/adpenrose/obi/keymaps/default_625u_space/keymap.c
new file mode 100644
index 0000000000..defb516962
--- /dev/null
+++ b/keyboards/adpenrose/obi/keymaps/default_625u_space/keymap.c
@@ -0,0 +1,41 @@
+// Copyright 2022 Arturo Avila (@ADPenrose)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* Base */
+ [0] = LAYOUT_625u_space(
+ KC_ESC, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_BSPC,
+ KC_MUTE, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
+ KC_VOLU, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_RSFT, KC_UP, KC_SLSH,
+ KC_VOLD, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(2), KC_LEFT, KC_DOWN, KC_RGHT
+ ),
+ [1] = LAYOUT_625u_space(
+ KC_DEL, KC_TRNS, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL,
+ KC_MPLY, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_QUOT, KC_BSLS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_DOT, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+ [2] = LAYOUT_625u_space(
+ KC_TILD, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_RBRC,
+ KC_TRNS, QK_BOOT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ ),
+ [3] = LAYOUT_625u_space(
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
+ KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
+ )
+};
+
+#if defined(ENCODER_MAP_ENABLE)
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
+ [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
+ [1] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
+ [2] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) },
+ [3] = { ENCODER_CCW_CW(KC_TRNS, KC_TRNS) }
+};
+#endif
diff --git a/keyboards/adpenrose/obi/keymaps/default_625u_space/rules.mk b/keyboards/adpenrose/obi/keymaps/default_625u_space/rules.mk
new file mode 100644
index 0000000000..ee32568148
--- /dev/null
+++ b/keyboards/adpenrose/obi/keymaps/default_625u_space/rules.mk
@@ -0,0 +1 @@
+ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/adpenrose/obi/matrix_diagram.md b/keyboards/adpenrose/obi/matrix_diagram.md
new file mode 100644
index 0000000000..b4af2f8ac8
--- /dev/null
+++ b/keyboards/adpenrose/obi/matrix_diagram.md
@@ -0,0 +1,16 @@
+# Matrix Diagram for ADPenrose Obi
+
+```
+┌───┐┌─────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
+│00 ││01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │
+├───┤├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
+│10 ││11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1D │
+├───┤├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴┬───┬───┤
+│20 ││21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2C │2D │
+├───┤├────┬───┼───┴┬──┴───┴─┬─┴──┬┴───┴───┴─┬─┴──┬───┼───┼───┤
+│30 ││31 │32 │33 │35 │36 │37 │3A │3B │3C │3D │
+└───┘└────┴───┴────┴────────┴────┴──────────┴────┴───┴───┴───┘
+ ┌────────────────────────┐
+ │36 │ 6.25u Space
+ └────────────────────────┘
+```