aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkiwikey <75843996+kiwikey@users.noreply.github.com>2021-04-20 01:04:03 +0700
committerGitHub <noreply@github.com>2021-04-19 11:04:03 -0700
commitdffa0891736ef8aeec54285f6ceb732eb7aaadf7 (patch)
treea7fa9b967fc28bf9f42832558ef1a84357101112
parent3990c0f43d9048b10097487595e969bfeb5bc859 (diff)
downloadqmk_firmware-dffa0891736ef8aeec54285f6ceb732eb7aaadf7.tar.gz
qmk_firmware-dffa0891736ef8aeec54285f6ceb732eb7aaadf7.zip
[Keyboard] Add Wanderland - An Alice-layout keyboard (#12516)
Co-authored-by: Ryan <fauxpark@gmail.com>
-rw-r--r--keyboards/kiwikey/wanderland/config.h146
-rw-r--r--keyboards/kiwikey/wanderland/info.json150
-rw-r--r--keyboards/kiwikey/wanderland/keymaps/default/keymap.c39
-rw-r--r--keyboards/kiwikey/wanderland/keymaps/default/readme.md3
-rw-r--r--keyboards/kiwikey/wanderland/keymaps/via/keymap.c47
-rw-r--r--keyboards/kiwikey/wanderland/keymaps/via/readme.md3
-rw-r--r--keyboards/kiwikey/wanderland/keymaps/via/rules.mk1
-rw-r--r--keyboards/kiwikey/wanderland/readme.md17
-rw-r--r--keyboards/kiwikey/wanderland/rules.mk22
-rw-r--r--keyboards/kiwikey/wanderland/wanderland.c17
-rw-r--r--keyboards/kiwikey/wanderland/wanderland.h77
11 files changed, 522 insertions, 0 deletions
diff --git a/keyboards/kiwikey/wanderland/config.h b/keyboards/kiwikey/wanderland/config.h
new file mode 100644
index 000000000..546a03aa3
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/config.h
@@ -0,0 +1,146 @@
1/*
2Copyright 2021 KiwiKey
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x4B57 // KW - KiwiKey
24#define PRODUCT_ID 0x574C // WL - Wanderland
25#define DEVICE_VER 0x0001
26#define MANUFACTURER KiwiKey
27#define PRODUCT Wanderland
28
29/* key matrix size */
30#define MATRIX_ROWS 6
31#define MATRIX_COLS 13
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42 */
43#define MATRIX_ROW_PINS { F4, F1, E6, E2, C7, D4 }
44#define MATRIX_COL_PINS { F5, F6, B4, D7, D6, D5, D2, D3, B0, F0, B1, B2, B3 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW
49
50/* Indicator LEDs Assignments */
51#define LED_NUM_LOCK_PIN C6
52#define LED_CAPS_LOCK_PIN B6
53#define LED_SCROLL_LOCK_PIN B5
54
55#define BACKLIGHT_PIN B7
56#define BACKLIGHT_LEVELS 3
57#define BACKLIGHT_BREATHING
58
59#define RGB_DI_PIN F7
60//#ifdef RGB_DI_PIN
61#define RGBLED_NUM 18
62#define RGBLIGHT_HUE_STEP 8
63#define RGBLIGHT_SAT_STEP 8
64#define RGBLIGHT_VAL_STEP 8
65#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
66#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
67/*== all animations enable ==*/
68#define RGBLIGHT_ANIMATIONS
69/*== or choose animations ==*/
70//# define RGBLIGHT_EFFECT_BREATHING
71//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
72//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
73//# define RGBLIGHT_EFFECT_SNAKE
74//# define RGBLIGHT_EFFECT_KNIGHT
75//# define RGBLIGHT_EFFECT_CHRISTMAS
76//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
77//# define RGBLIGHT_EFFECT_RGB_TEST
78//# define RGBLIGHT_EFFECT_ALTERNATING
79/*== customize breathing effect ==*/
80/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
81//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
82/*==== use exp() and sin() ====*/
83//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
84//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
85//#endif
86
87/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
88#define DEBOUNCE 5
89
90/* define if matrix has ghost (lacks anti-ghosting diodes) */
91//#define MATRIX_HAS_GHOST
92
93/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
94#define LOCKING_SUPPORT_ENABLE
95/* Locking resynchronize hack */
96#define LOCKING_RESYNC_ENABLE
97
98/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
99 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
100 */
101//#define GRAVE_ESC_CTRL_OVERRIDE
102
103/*
104 * Force NKRO
105 *
106 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
107 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
108 * makefile for this to work.)
109 *
110 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
111 * until the next keyboard reset.
112 *
113 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
114 * fully operational during normal computer usage.
115 *
116 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
117 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
118 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
119 * power-up.
120 *
121 */
122//#define FORCE_NKRO
123
124/*
125 * Feature disable options
126 * These options are also useful to firmware size reduction.
127 */
128
129/* disable debug print */
130//#define NO_DEBUG
131
132/* disable print */
133//#define NO_PRINT
134
135/* disable action features */
136//#define NO_ACTION_LAYER
137//#define NO_ACTION_TAPPING
138//#define NO_ACTION_ONESHOT
139
140/* disable these deprecated features by default */
141#define NO_ACTION_MACRO
142#define NO_ACTION_FUNCTION
143
144/* Bootmagic Lite key configuration */
145//#define BOOTMAGIC_LITE_ROW 0
146//#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/kiwikey/wanderland/info.json b/keyboards/kiwikey/wanderland/info.json
new file mode 100644
index 000000000..4afd45613
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/info.json
@@ -0,0 +1,150 @@
1{
2 "keyboard_name": "Wanderland",
3 "url": "http://kiwikey.vn/wanderland",
4 "maintainer": "KiwiKey",
5 "width": 18.25,
6 "height": 5,
7 "layouts": {
8 "LAYOUT_alice_split_bs": {
9 "layout": [
10 {"label":"Esc", "x":0, "y":0},
11 {"label":"~", "x":1.25, "y":0},
12 {"label":"!", "x":2.25, "y":0},
13 {"label":"@", "x":3.25, "y":0},
14 {"label":"#", "x":4.25, "y":0},
15 {"label":"$", "x":5.25, "y":0},
16 {"label":"%", "x":6.25, "y":0},
17 {"label":"^", "x":7.25, "y":0},
18 {"label":"&", "x":10.25, "y":0},
19 {"label":"*", "x":11.25, "y":0},
20 {"label":"(", "x":12.25, "y":0},
21 {"label":")", "x":13.25, "y":0},
22 {"label":"_", "x":14.25, "y":0},
23 {"label":"+", "x":15.25, "y":0},
24 {"label":"Backspace", "x":16.25, "y":0},
25 {"label":"Del", "x":17.25, "y":0},
26 {"label":"Mute", "x":0, "y":1},
27 {"label":"Tab", "x":1.25, "y":1, "w":1.5},
28 {"label":"Q", "x":2.75, "y":1},
29 {"label":"W", "x":3.75, "y":1},
30 {"label":"E", "x":4.75, "y":1},
31 {"label":"R", "x":5.75, "y":1},
32 {"label":"T", "x":6.75, "y":1},
33 {"label":"Y", "x":9.75, "y":1},
34 {"label":"U", "x":10.75, "y":1},
35 {"label":"I", "x":11.75, "y":1},
36 {"label":"O", "x":12.75, "y":1},
37 {"label":"P", "x":13.75, "y":1},
38 {"label":"{", "x":14.75, "y":1},
39 {"label":"}", "x":15.75, "y":1},
40 {"label":"|", "x":16.75, "y":1, "w":1.5},
41 {"label":"Vol-", "x":0, "y":2},
42 {"label":"Caps Lock", "x":1.25, "y":2, "w":1.75},
43 {"label":"A", "x":3, "y":2},
44 {"label":"S", "x":4, "y":2},
45 {"label":"D", "x":5, "y":2},
46 {"label":"F", "x":6, "y":2},
47 {"label":"G", "x":7, "y":2},
48 {"label":"H", "x":10, "y":2},
49 {"label":"J", "x":11, "y":2},
50 {"label":"K", "x":12, "y":2},
51 {"label":"L", "x":13, "y":2},
52 {"label":":", "x":14, "y":2},
53 {"label":"\"", "x":15, "y":2},
54 {"label":"Enter", "x":16, "y":2, "w":2.25},
55 {"label":"Vol+", "x":0, "y":3},
56 {"label":"Shift", "x":1.25, "y":3, "w":2.25},
57 {"label":"Z", "x":3.5, "y":3},
58 {"label":"X", "x":4.5, "y":3},
59 {"label":"C", "x":5.5, "y":3},
60 {"label":"V", "x":6.5, "y":3},
61 {"label":"B", "x":7.5, "y":3},
62 {"label":"B", "x":9.5, "y":3},
63 {"label":"N", "x":10.5, "y":3},
64 {"label":"M", "x":11.5, "y":3},
65 {"label":"<", "x":12.5, "y":3},
66 {"label":">", "x":13.5, "y":3},
67 {"label":"?", "x":14.5, "y":3},
68 {"label":"Shift", "x":15.5, "y":3, "w":1.75},
69 {"label":"Win", "x":17.25, "y":3},
70 {"label":"Ctrl", "x":1.25, "y":4, "w":1.5},
71 {"label":"Alt", "x":4.25, "y":4, "w":1.25},
72 {"label":"Space", "x":5.5, "y":4, "w":2.25},
73 {"label":"FN", "x":7.75, "y":4, "w":1.25},
74 {"label":"Space", "x":9.5, "y":4, "w":2.75},
75 {"label":"Alt", "x":12.25, "y":4, "w":1.5},
76 {"label":"Ctrl", "x":16.75, "y":4, "w":1.5}
77 ]
78 },
79 "LAYOUT_alice": {
80 "layout": [
81 {"label":"Esc", "x":0, "y":0},
82 {"label":"~", "x":1.25, "y":0},
83 {"label":"!", "x":2.25, "y":0},
84 {"label":"@", "x":3.25, "y":0},
85 {"label":"#", "x":4.25, "y":0},
86 {"label":"$", "x":5.25, "y":0},
87 {"label":"%", "x":6.25, "y":0},
88 {"label":"^", "x":7.25, "y":0},
89 {"label":"&", "x":10.25, "y":0},
90 {"label":"*", "x":11.25, "y":0},
91 {"label":"(", "x":12.25, "y":0},
92 {"label":")", "x":13.25, "y":0},
93 {"label":"_", "x":14.25, "y":0},
94 {"label":"+", "x":15.25, "y":0},
95 {"label":"Backspace", "x":16.25, "y":0, "w":2},
96 {"label":"Mute", "x":0, "y":1},
97 {"label":"Tab", "x":1.25, "y":1, "w":1.5},
98 {"label":"Q", "x":2.75, "y":1},
99 {"label":"W", "x":3.75, "y":1},
100 {"label":"E", "x":4.75, "y":1},
101 {"label":"R", "x":5.75, "y":1},
102 {"label":"T", "x":6.75, "y":1},
103 {"label":"Y", "x":9.75, "y":1},
104 {"label":"U", "x":10.75, "y":1},
105 {"label":"I", "x":11.75, "y":1},
106 {"label":"O", "x":12.75, "y":1},
107 {"label":"P", "x":13.75, "y":1},
108 {"label":"{", "x":14.75, "y":1},
109 {"label":"}", "x":15.75, "y":1},
110 {"label":"|", "x":16.75, "y":1, "w":1.5},
111 {"label":"Vol-", "x":0, "y":2},
112 {"label":"Caps Lock", "x":1.25, "y":2, "w":1.75},
113 {"label":"A", "x":3, "y":2},
114 {"label":"S", "x":4, "y":2},
115 {"label":"D", "x":5, "y":2},
116 {"label":"F", "x":6, "y":2},
117 {"label":"G", "x":7, "y":2},
118 {"label":"H", "x":10, "y":2},
119 {"label":"J", "x":11, "y":2},
120 {"label":"K", "x":12, "y":2},
121 {"label":"L", "x":13, "y":2},
122 {"label":":", "x":14, "y":2},
123 {"label":"\"", "x":15, "y":2},
124 {"label":"Enter", "x":16, "y":2, "w":2.25},
125 {"label":"Vol+", "x":0, "y":3},
126 {"label":"Shift", "x":1.25, "y":3, "w":2.25},
127 {"label":"Z", "x":3.5, "y":3},
128 {"label":"X", "x":4.5, "y":3},
129 {"label":"C", "x":5.5, "y":3},
130 {"label":"V", "x":6.5, "y":3},
131 {"label":"B", "x":7.5, "y":3},
132 {"label":"B", "x":9.5, "y":3},
133 {"label":"N", "x":10.5, "y":3},
134 {"label":"M", "x":11.5, "y":3},
135 {"label":"<", "x":12.5, "y":3},
136 {"label":">", "x":13.5, "y":3},
137 {"label":"?", "x":14.5, "y":3},
138 {"label":"Shift", "x":15.5, "y":3, "w":1.75},
139 {"label":"Win", "x":17.25, "y":3},
140 {"label":"Ctrl", "x":1.25, "y":4, "w":1.5},
141 {"label":"Alt", "x":4.25, "y":4, "w":1.25},
142 {"label":"Space", "x":5.5, "y":4, "w":2.25},
143 {"label":"FN", "x":7.75, "y":4, "w":1.25},
144 {"label":"Space", "x":9.5, "y":4, "w":2.75},
145 {"label":"Alt", "x":12.25, "y":4, "w":1.5},
146 {"label":"Ctrl", "x":16.75, "y":4, "w":1.5}
147 ]
148 }
149 }
150}
diff --git a/keyboards/kiwikey/wanderland/keymaps/default/keymap.c b/keyboards/kiwikey/wanderland/keymaps/default/keymap.c
new file mode 100644
index 000000000..bb8a9bc0c
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/keymaps/default/keymap.c
@@ -0,0 +1,39 @@
1/* Copyright 2021 KiwiKey
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18// Defines names for use in layer keycodes and the keymap
19enum layer_names {
20 _BASE,
21 _FN
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [_BASE] = LAYOUT_alice_split_bs(
26 KC_ESC, KC_GRV, 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_BSPC, KC_DEL,
27 KC_MUTE, 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_RBRC, KC_BSLS,
28 KC_VOLD, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
29 KC_VOLU, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RGUI,
30 KC_LCTL, KC_LALT, KC_SPC, MO(_FN), KC_SPC, KC_MENU, KC_RCTRL
31 ),
32 [_FN] = LAYOUT_alice_split_bs(
33 _______, _______, 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_DEL,
34 _______, RGB_TOG, RGB_MOD, RGB_RMOD,_______, _______, _______, BL_TOGG, BL_STEP, BL_BRTG, KC_UP, _______, _______, _______, _______,
35 _______, _______, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
36 RESET, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______
38 )
39};
diff --git a/keyboards/kiwikey/wanderland/keymaps/default/readme.md b/keyboards/kiwikey/wanderland/keymaps/default/readme.md
new file mode 100644
index 000000000..02cf58d64
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/keymaps/default/readme.md
@@ -0,0 +1,3 @@
1# Default keymap for KiwiKey Wanderland
2
3With NO installation of OLED LCD. \ No newline at end of file
diff --git a/keyboards/kiwikey/wanderland/keymaps/via/keymap.c b/keyboards/kiwikey/wanderland/keymaps/via/keymap.c
new file mode 100644
index 000000000..7ada22d02
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/keymaps/via/keymap.c
@@ -0,0 +1,47 @@
1/* Copyright 2021 KiwiKey
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 [0] = LAYOUT_alice_split_bs(
20 KC_ESC, KC_GRV, 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_BSPC, KC_DEL,
21 KC_MUTE, 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_RBRC, KC_BSLS,
22 KC_VOLD, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
23 KC_VOLU, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RGUI,
24 KC_LCTL, KC_LALT, KC_SPC, MO(1), KC_SPC, KC_MENU, KC_RCTRL
25 ),
26 [1] = LAYOUT_alice_split_bs(
27 _______, _______, 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_DEL,
28 _______, RGB_TOG, RGB_MOD, RGB_RMOD,_______, _______, _______, BL_TOGG, BL_STEP, BL_BRTG, KC_UP, _______, _______, _______, _______,
29 _______, _______, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______,
30 RESET, _______, RGB_VAD, RGB_VAI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______
32 ),
33 [2] = LAYOUT_alice_split_bs(
34 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
35 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______
39 ),
40 [3] = LAYOUT_alice_split_bs(
41 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______
46 )
47};
diff --git a/keyboards/kiwikey/wanderland/keymaps/via/readme.md b/keyboards/kiwikey/wanderland/keymaps/via/readme.md
new file mode 100644
index 000000000..1278f6ea7
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/keymaps/via/readme.md
@@ -0,0 +1,3 @@
1# VIA keymap for KiwiKey Wanderland
2
3With NO installation of OLED LCD. \ No newline at end of file
diff --git a/keyboards/kiwikey/wanderland/keymaps/via/rules.mk b/keyboards/kiwikey/wanderland/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/kiwikey/wanderland/readme.md b/keyboards/kiwikey/wanderland/readme.md
new file mode 100644
index 000000000..1d06f7a30
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/readme.md
@@ -0,0 +1,17 @@
1# KiwiKey Wanderland
2
3![KiwiKey Wanderland](http://kiwikey.vn/media/Wanderland/Wanderland_TOP.png)
4
5Wanderland is an Alice-compatible PCB, comes with USB Type-C and OLED LCD 0.91". More pictures and information can be found at http://kiwikey.vn/wanderland/
6
7* Keyboard Maintainer: [KiwiKey](https://github.com/kiwikey)
8* Hardware Supported: Wanderland PCB
9* Hardware Availability: Abasic Keyboard Kit Group-buy, fulfilled by [Mechkey.store](https://mechkey.store/products/abasic-keyboard-kit), will be available on [KiwiKey Shop](http://shop.kiwikey.vn/) also
10
11Make example for this keyboard (after setting up your build environment):
12
13 make kiwikey/wanderland:default
14
15To reset the board into bootloader mode, press the reset button on the backside of PCB.
16
17See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/kiwikey/wanderland/rules.mk b/keyboards/kiwikey/wanderland/rules.mk
new file mode 100644
index 000000000..a48a691a9
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/rules.mk
@@ -0,0 +1,22 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = no # USB Nkey Rollover
19BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/kiwikey/wanderland/wanderland.c b/keyboards/kiwikey/wanderland/wanderland.c
new file mode 100644
index 000000000..33575e17a
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/wanderland.c
@@ -0,0 +1,17 @@
1/* Copyright 2021 KiwiKey
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include "wanderland.h"
diff --git a/keyboards/kiwikey/wanderland/wanderland.h b/keyboards/kiwikey/wanderland/wanderland.h
new file mode 100644
index 000000000..f207d01d6
--- /dev/null
+++ b/keyboards/kiwikey/wanderland/wanderland.h
@@ -0,0 +1,77 @@
1/* Copyright 2021 KiwiKey
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "quantum.h"
20
21/* Layout Alice split-backspace
22 * ┌───┐ ┌───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬───┬───┐
23 * │02 │ │10 │11 │12 │13 │14 │15 │05 │ │06 │16 │17 │18 │19 │1A │1B │1C │
24 * ├───┤ ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┘ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤
25 * │01 │ │ 20 │21 │22 │23 │24 │25 │ │07 │26 │27 │28 │29 │2A │2B │ 2C │
26 * ├───┤ ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ └┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
27 * │00 │ │ 30 │31 │32 │33 │34 │35 │ │36 │37 │38 │39 │3A │3B │ 3C │
28 * ├───┤ ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┐ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤
29 * │03 │ │ 40 │41 │42 │43 │44 │45 │ │46 │47 │48 │49 │4A │4B │ 5B │4C │
30 * └───┘ ├──────┬─┴──┬┴───┴┬──┴───┴┬──┴─┐ ├───┴───┴──┬┴───┴┬──┴───┴────┬─┴───┤
31 * │ 50 │ │ 52 │ 53 │ 55 │ │ 57 │ 59 │ │ 5C │
32 * └──────┘ └─────┴───────┴────┘ └──────────┴─────┘ └─────┘
33 */
34#define LAYOUT_alice_split_bs( \
35 k02, k10, k11, k12, k13, k14, k15, k05, k06, k16, k17, k18, k19, k1A, k1B, k1C, \
36 k01, k20, k21, k22, k23, k24, k25, k07, k26, k27, k28, k29, k2A, k2B, k2C, \
37 k00, k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, \
38 k03, k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k5B, k4C, \
39 k50, k52, k53, k55, k57, k59, k5C \
40) \
41{ \
42 { k00, k01, k02, k03, KC_NO, k05, k06, k07, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
43 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C }, \
44 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C }, \
45 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C }, \
46 { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C }, \
47 { k50, KC_NO, k52, k53, KC_NO, k55, KC_NO, k57, KC_NO, k59, KC_NO, k5B, k5C } \
48}
49
50/* Layout Alice
51 * ┌───┐ ┌───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬───────┐
52 * │02 │ │10 │11 │12 │13 │14 │15 │05 │ │06 │16 │17 │18 │19 │1A │ 1B │
53 * ├───┤ ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┘ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤
54 * │01 │ │ 20 │21 │22 │23 │24 │25 │ │07 │26 │27 │28 │29 │2A │2B │ 2C │
55 * ├───┤ ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ └┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤
56 * │00 │ │ 30 │31 │32 │33 │34 │35 │ │36 │37 │38 │39 │3A │3B │ 3C │
57 * ├───┤ ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┐ ┌─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤
58 * │03 │ │ 40 │41 │42 │43 │44 │45 │ │46 │47 │48 │49 │4A │4B │ 5B │4C │
59 * └───┘ ├──────┬─┴──┬┴───┴┬──┴───┴┬──┴─┐ ├───┴───┴──┬┴───┴┬──┴───┴────┬─┴───┤
60 * │ 50 │ │ 52 │ 53 │ 55 │ │ 57 │ 59 │ │ 5C │
61 * └──────┘ └─────┴───────┴────┘ └──────────┴─────┘ └─────┘
62 */
63#define LAYOUT_alice( \
64 k02, k10, k11, k12, k13, k14, k15, k05, k06, k16, k17, k18, k19, k1A, k1B, \
65 k01, k20, k21, k22, k23, k24, k25, k07, k26, k27, k28, k29, k2A, k2B, k2C, \
66 k00, k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, \
67 k03, k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k5B, k4C, \
68 k50, k52, k53, k55, k57, k59, k5C \
69) \
70{ \
71 { k00, k01, k02, k03, KC_NO, k05, k06, k07, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \
72 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, KC_NO }, \
73 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C }, \
74 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C }, \
75 { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4A, k4B, k4C }, \
76 { k50, KC_NO, k52, k53, KC_NO, k55, KC_NO, k57, KC_NO, k59, KC_NO, k5B, k5C } \
77}