aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkb-elmo <lorwel@mailbox.org>2020-08-07 05:47:00 +0200
committerGitHub <noreply@github.com>2020-08-06 20:47:00 -0700
commit2d8703f6cc61918aaefd3ce04a064a82ab238140 (patch)
tree42d61cae87c2e5f40fbb30da5967c9326f55e8d2
parentc125d0a7a0daa539d425c6c01ace4175ebffa2f1 (diff)
downloadqmk_firmware-2d8703f6cc61918aaefd3ce04a064a82ab238140.tar.gz
qmk_firmware-2d8703f6cc61918aaefd3ce04a064a82ab238140.zip
[Keyboard] add kb-elmo boards (#9898)
* add kb-elmo boards * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * fix wrong names * fix VID and UID
-rw-r--r--keyboards/kb_elmo/aek2_usb/aek2_usb.c37
-rw-r--r--keyboards/kb_elmo/aek2_usb/aek2_usb.h45
-rw-r--r--keyboards/kb_elmo/aek2_usb/config.h49
-rw-r--r--keyboards/kb_elmo/aek2_usb/info.json118
-rw-r--r--keyboards/kb_elmo/aek2_usb/keymaps/default/keymap.c36
-rw-r--r--keyboards/kb_elmo/aek2_usb/readme.md15
-rw-r--r--keyboards/kb_elmo/aek2_usb/rules.mk25
-rw-r--r--keyboards/kb_elmo/elmopad/config.h44
-rw-r--r--keyboards/kb_elmo/elmopad/elmopad.c17
-rw-r--r--keyboards/kb_elmo/elmopad/elmopad.h43
-rw-r--r--keyboards/kb_elmo/elmopad/info.json34
-rw-r--r--keyboards/kb_elmo/elmopad/keymaps/default/keymap.c28
-rw-r--r--keyboards/kb_elmo/elmopad/readme.md15
-rw-r--r--keyboards/kb_elmo/elmopad/rules.mk27
-rw-r--r--keyboards/kb_elmo/m0110a_usb/config.h49
-rw-r--r--keyboards/kb_elmo/m0110a_usb/info.json91
-rw-r--r--keyboards/kb_elmo/m0110a_usb/keymaps/default/keymap.c34
-rw-r--r--keyboards/kb_elmo/m0110a_usb/m0110a_usb.c17
-rw-r--r--keyboards/kb_elmo/m0110a_usb/m0110a_usb.h41
-rw-r--r--keyboards/kb_elmo/m0110a_usb/readme.md15
-rw-r--r--keyboards/kb_elmo/m0110a_usb/rules.mk25
-rw-r--r--keyboards/kb_elmo/m0116_usb/config.h53
-rw-r--r--keyboards/kb_elmo/m0116_usb/info.json94
-rw-r--r--keyboards/kb_elmo/m0116_usb/keymaps/default/keymap.c36
-rw-r--r--keyboards/kb_elmo/m0116_usb/m0116_usb.c17
-rw-r--r--keyboards/kb_elmo/m0116_usb/m0116_usb.h42
-rw-r--r--keyboards/kb_elmo/m0116_usb/readme.md15
-rw-r--r--keyboards/kb_elmo/m0116_usb/rules.mk25
-rw-r--r--keyboards/kb_elmo/sesame/config.h48
-rw-r--r--keyboards/kb_elmo/sesame/info.json78
-rw-r--r--keyboards/kb_elmo/sesame/keymaps/default/keymap.c34
-rw-r--r--keyboards/kb_elmo/sesame/readme.md15
-rw-r--r--keyboards/kb_elmo/sesame/rules.mk25
-rw-r--r--keyboards/kb_elmo/sesame/sesame.c17
-rw-r--r--keyboards/kb_elmo/sesame/sesame.h41
35 files changed, 1345 insertions, 0 deletions
diff --git a/keyboards/kb_elmo/aek2_usb/aek2_usb.c b/keyboards/kb_elmo/aek2_usb/aek2_usb.c
new file mode 100644
index 000000000..b83faf5da
--- /dev/null
+++ b/keyboards/kb_elmo/aek2_usb/aek2_usb.c
@@ -0,0 +1,37 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 "aek2_usb.h"
18
19void keyboard_pre_init_kb(void) {
20 led_init_ports();
21 keyboard_pre_init_user();
22}
23
24void led_init_ports(void) {
25 setPinOutput(B0);
26 setPinOutput(B1);
27 setPinOutput(B2);
28}
29
30bool led_update_kb(led_t led_state) {
31 if (led_update_user(led_state)) {
32 writePin(B0, led_state.scroll_lock);
33 writePin(B1, led_state.caps_lock);
34 writePin(B2, led_state.num_lock);
35 }
36 return true;
37} \ No newline at end of file
diff --git a/keyboards/kb_elmo/aek2_usb/aek2_usb.h b/keyboards/kb_elmo/aek2_usb/aek2_usb.h
new file mode 100644
index 000000000..37c252f29
--- /dev/null
+++ b/keyboards/kb_elmo/aek2_usb/aek2_usb.h
@@ -0,0 +1,45 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k52, k12, k105, k91, k90, k84, \
31 k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, k25, k26, k104, k78, k79, k80, k81, k83, k85, \
32 k27, k28, k29, k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k40, k92, k93, k94, k95, k82, k97, k99, \
33 k41, k42, k43, k44, k45, k46, k47, k48, k49, k50, k51, k53, k54, k89, k96, k98, k86, \
34 k55, k56, k57, k58, k59, k60, k61, k62, k63, k64, k65, k66, k73, k103, k88, k87, \
35 k67, k68, k69, k70, k75, k76, k77, k72, k74, k71, k102, k101, k100 \
36) { \
37 { k01, KC_NO, k02, k03, k04, k05, k06, k07, k08, k09, KC_NO, k10, k11, k12 }, \
38 { k13, k14, k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, k25, k26 }, \
39 { k27, k28, k29, k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k40 }, \
40 { k41, k42, k43, k44, k45, k46, k47, k48, k49, k50, k51, k52, k53, k54 }, \
41 { k55, k56, k57, k58, k59, k60, k61, k62, k63, k64, k65, KC_NO, KC_NO, k66 }, \
42 { k67, k68, k69, KC_NO, KC_NO, k70, k71, k72, k73, k74, k75, k76, KC_NO, k77 }, \
43 { k78, k79, k80, k81, k82, k83, k84, k85, k86, k87, k88, k89, k90, k91 }, \
44 { k92, k93, k94, k95, k96, k97, k98, k99, k100, k101, k102, k103, k104, k105 } \
45}
diff --git a/keyboards/kb_elmo/aek2_usb/config.h b/keyboards/kb_elmo/aek2_usb/config.h
new file mode 100644
index 000000000..f7b347f1d
--- /dev/null
+++ b/keyboards/kb_elmo/aek2_usb/config.h
@@ -0,0 +1,49 @@
1/*
2Copyright 2020 kb-elmo<mail@elmo.space>
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 0xA68C
24#define PRODUCT_ID 0xDB52
25#define DEVICE_VER 0x0001
26#define MANUFACTURER kb-elmo
27#define PRODUCT AEK II USB
28
29/* key matrix size */
30#define MATRIX_ROWS 8
31#define MATRIX_COLS 14
32
33/*
34 * Keyboard Matrix Assignments
35 */
36#define MATRIX_ROW_PINS { D5, C1, C4, D0, C3, C2, B3, B4 }
37#define MATRIX_COL_PINS { A1, A0, A2, A3, A4, A5, A6, A7, C7, C6, C5, C0, D6, D1 }
38#define UNUSED_PINS
39
40/* COL2ROW, ROW2COL*/
41#define DIODE_DIRECTION COL2ROW
42
43/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
44#define DEBOUNCE 5
45
46/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
47#define LOCKING_SUPPORT_ENABLE
48/* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/kb_elmo/aek2_usb/info.json b/keyboards/kb_elmo/aek2_usb/info.json
new file mode 100644
index 000000000..7a15742f0
--- /dev/null
+++ b/keyboards/kb_elmo/aek2_usb/info.json
@@ -0,0 +1,118 @@
1{
2 "keyboard_name": "aek 2 usb",
3 "url": "https://github.com/kb-elmo/aek2_usb",
4 "maintainer": "kb-elmo",
5 "width": 23,
6 "height": 7,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":2, "y":0},
12 {"x":3, "y":0},
13 {"x":4, "y":0},
14 {"x":5, "y":0},
15 {"x":6.5, "y":0},
16 {"x":7.5, "y":0},
17 {"x":8.5, "y":0},
18 {"x":9.5, "y":0},
19 {"x":11, "y":0},
20 {"x":12, "y":0},
21 {"x":13, "y":0},
22 {"x":14, "y":0},
23 {"x":15.5, "y":0},
24 {"x":16.5, "y":0},
25 {"x":17.5, "y":0},
26 {"x":22, "y":0},
27 {"x":0, "y":2},
28 {"x":1, "y":2},
29 {"x":2, "y":2},
30 {"x":3, "y":2},
31 {"x":4, "y":2},
32 {"x":5, "y":2},
33 {"x":6, "y":2},
34 {"x":7, "y":2},
35 {"x":8, "y":2},
36 {"x":9, "y":2},
37 {"x":10, "y":2},
38 {"x":11, "y":2},
39 {"x":12, "y":2},
40 {"x":13, "y":2, "w":2},
41 {"x":15.5, "y":2},
42 {"x":16.5, "y":2},
43 {"x":17.5, "y":2},
44 {"x":19, "y":2},
45 {"x":20, "y":2},
46 {"x":21, "y":2},
47 {"x":22, "y":2},
48 {"x":0, "y":3, "w":1.5},
49 {"x":1.5, "y":3},
50 {"x":2.5, "y":3},
51 {"x":3.5, "y":3},
52 {"x":4.5, "y":3},
53 {"x":5.5, "y":3},
54 {"x":6.5, "y":3},
55 {"x":7.5, "y":3},
56 {"x":8.5, "y":3},
57 {"x":9.5, "y":3},
58 {"x":10.5, "y":3},
59 {"x":11.5, "y":3},
60 {"x":12.5, "y":3},
61 {"x":13.5, "y":3, "w":1.5},
62 {"x":15.5, "y":3},
63 {"x":16.5, "y":3},
64 {"x":17.5, "y":3},
65 {"x":19, "y":3},
66 {"x":20, "y":3},
67 {"x":21, "y":3},
68 {"x":22, "y":3},
69 {"x":0, "y":4, "w":1.75},
70 {"x":1.75, "y":4},
71 {"x":2.75, "y":4},
72 {"x":3.75, "y":4},
73 {"x":4.75, "y":4},
74 {"x":5.75, "y":4},
75 {"x":6.75, "y":4},
76 {"x":7.75, "y":4},
77 {"x":8.75, "y":4},
78 {"x":9.75, "y":4},
79 {"x":10.75, "y":4},
80 {"x":11.75, "y":4},
81 {"x":12.75, "y":4, "w":2.25},
82 {"x":19, "y":4},
83 {"x":20, "y":4},
84 {"x":21, "y":4},
85 {"x":22, "y":4},
86 {"x":0, "y":5, "w":2.25},
87 {"x":2.25, "y":5},
88 {"x":3.25, "y":5},
89 {"x":4.25, "y":5},
90 {"x":5.25, "y":5},
91 {"x":6.25, "y":5},
92 {"x":7.25, "y":5},
93 {"x":8.25, "y":5},
94 {"x":9.25, "y":5},
95 {"x":10.25, "y":5},
96 {"x":11.25, "y":5},
97 {"x":12.25, "y":5, "w":2.75},
98 {"x":16.5, "y":5},
99 {"x":19, "y":5},
100 {"x":20, "y":5},
101 {"x":21, "y":5},
102 {"x":22, "y":5, "h":2},
103 {"x":0, "y":6, "w":1.5},
104 {"x":1.5, "y":6, "w":1.25},
105 {"x":2.75, "y":6, "w":1.5},
106 {"x":4.25, "y":6, "w":6.5},
107 {"x":10.75, "y":6, "w":1.5},
108 {"x":12.25, "y":6, "w":1.25},
109 {"x":13.5, "y":6, "w":1.5},
110 {"x":15.5, "y":6},
111 {"x":16.5, "y":6},
112 {"x":17.5, "y":6},
113 {"x":19, "y":6, "w":2},
114 {"x":21, "y":6}
115 ]
116 }
117 }
118} \ No newline at end of file
diff --git a/keyboards/kb_elmo/aek2_usb/keymaps/default/keymap.c b/keyboards/kb_elmo/aek2_usb/keymaps/default/keymap.c
new file mode 100644
index 000000000..c5ff48e23
--- /dev/null
+++ b/keyboards/kb_elmo/aek2_usb/keymaps/default/keymap.c
@@ -0,0 +1,36 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 /* Base */
20 [0] = LAYOUT(
21 KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, KC_MPLY,
22 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_INS, KC_HOME, KC_PGUP, KC_NLCK, KC_PEQL, KC_PSLS, KC_PAST,
23 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, KC_DEL, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PMNS,
24 KC_LCAP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS,
25 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3,
26 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT, KC_PENT
27 ),
28 [1] = LAYOUT(
29 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,
30 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,
31 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,
32 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,
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
34 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
35 )
36};
diff --git a/keyboards/kb_elmo/aek2_usb/readme.md b/keyboards/kb_elmo/aek2_usb/readme.md
new file mode 100644
index 000000000..ccbd4ac89
--- /dev/null
+++ b/keyboards/kb_elmo/aek2_usb/readme.md
@@ -0,0 +1,15 @@
1# AEK 2 USB
2
3![aek2usb](https://i.imgur.com/3325BHBl.jpg)
4
5Drop in replacement PCB for the Apple Extended Keyboard II
6
7* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo)
8* Hardware Supported: AEK 2 USB
9* Hardware Availability: [Project is open source](https://github.com/kb-elmo/aek2_usb)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make kb_elmo/aek2_usb:default
14
15See 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/kb_elmo/aek2_usb/rules.mk b/keyboards/kb_elmo/aek2_usb/rules.mk
new file mode 100644
index 000000000..e5b427e5a
--- /dev/null
+++ b/keyboards/kb_elmo/aek2_usb/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32a
3
4# Processor frequency
5F_CPU = 16000000
6
7# Bootloader selection
8BOOTLOADER = USBasp
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
14MOUSEKEY_ENABLE = no # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = no # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = no # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/kb_elmo/elmopad/config.h b/keyboards/kb_elmo/elmopad/config.h
new file mode 100644
index 000000000..1dd6cff5b
--- /dev/null
+++ b/keyboards/kb_elmo/elmopad/config.h
@@ -0,0 +1,44 @@
1/*
2Copyright 2020 kb-elmo<mail@elmo.space>
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 0xA68C
24#define PRODUCT_ID 0x8B35
25#define DEVICE_VER 0x0001
26#define MANUFACTURER kb-elmo
27#define PRODUCT ElmoPad
28
29/* key matrix size */
30#define MATRIX_ROWS 6
31#define MATRIX_COLS 4
32
33/*
34 * Keyboard Matrix Assignments
35 */
36#define MATRIX_ROW_PINS { C5, C4, B2, B1, D7, B0 }
37#define MATRIX_COL_PINS { C0, C1, C2, C3 }
38#define UNUSED_PINS
39
40/* COL2ROW, ROW2COL*/
41#define DIODE_DIRECTION COL2ROW
42
43/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
44#define DEBOUNCE 5
diff --git a/keyboards/kb_elmo/elmopad/elmopad.c b/keyboards/kb_elmo/elmopad/elmopad.c
new file mode 100644
index 000000000..bb905ed7e
--- /dev/null
+++ b/keyboards/kb_elmo/elmopad/elmopad.c
@@ -0,0 +1,17 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 "elmopad.h"
diff --git a/keyboards/kb_elmo/elmopad/elmopad.h b/keyboards/kb_elmo/elmopad/elmopad.h
new file mode 100644
index 000000000..413910a9d
--- /dev/null
+++ b/keyboards/kb_elmo/elmopad/elmopad.h
@@ -0,0 +1,43 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT_numpad_6x4( \
30 k00, k01, k02, k03, \
31 k04, k05, k06, k07, \
32 k08, k09, k10, \
33 k12, k13, k14, k15, \
34 k16, k17, k18, \
35 k20, k22, k23 \
36) { \
37 {k00, k01, k02, k03 }, \
38 {k04, k05, k06, k07 }, \
39 {k08, k09, k10, KC_NO }, \
40 {k12, k13, k14, k15 }, \
41 {k16, k17, k18, KC_NO }, \
42 {k20, KC_NO, k22, k23 } \
43}
diff --git a/keyboards/kb_elmo/elmopad/info.json b/keyboards/kb_elmo/elmopad/info.json
new file mode 100644
index 000000000..adc2eae24
--- /dev/null
+++ b/keyboards/kb_elmo/elmopad/info.json
@@ -0,0 +1,34 @@
1{
2 "keyboard_name": "elmopad",
3 "url": "https://github.com/kb-elmo/numpad",
4 "maintainer": "kb-elmo",
5 "width": 3,
6 "height": 2,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":0, "y":1},
15 {"x":1, "y":1},
16 {"x":2, "y":1},
17 {"x":3, "y":1},
18 {"x":0, "y":2},
19 {"x":1, "y":2},
20 {"x":2, "y":2},
21 {"x":0, "y":3},
22 {"x":1, "y":3},
23 {"x":2, "y":3},
24 {"x":3, "y":2, "h":2},
25 {"x":0, "y":4},
26 {"x":1, "y":4},
27 {"x":2, "y":4},
28 {"x":0, "y":5, "w":2},
29 {"x":2, "y":5},
30 {"x":3, "y":4, "h":2}
31 ]
32 }
33 }
34}
diff --git a/keyboards/kb_elmo/elmopad/keymaps/default/keymap.c b/keyboards/kb_elmo/elmopad/keymaps/default/keymap.c
new file mode 100644
index 000000000..9e672de69
--- /dev/null
+++ b/keyboards/kb_elmo/elmopad/keymaps/default/keymap.c
@@ -0,0 +1,28 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 /* Base */
20 [0] = LAYOUT_numpad_6x4(
21 KC_ESC, KC_TAB, KC_DEL, KC_BSPC,
22 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
23 KC_P7, KC_P8, KC_P9,
24 KC_P4, KC_P5, KC_P6, KC_PPLS,
25 KC_P1, KC_P2, KC_P3,
26 KC_P0, KC_PDOT, KC_PENT
27 )
28};
diff --git a/keyboards/kb_elmo/elmopad/readme.md b/keyboards/kb_elmo/elmopad/readme.md
new file mode 100644
index 000000000..c5ecda2f6
--- /dev/null
+++ b/keyboards/kb_elmo/elmopad/readme.md
@@ -0,0 +1,15 @@
1# ElmoPad
2
3![elmopad](https://i.imgur.com/kWBxiVwl.jpg)
4
5THT numpad with USB-C
6
7* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo)
8* Hardware Supported: ElmoPad
9* Hardware Availability: [Project is open source](https://github.com/kb-elmo/numpad)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make kb_elmo/elmopad:default
14
15See 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/kb_elmo/elmopad/rules.mk b/keyboards/kb_elmo/elmopad/rules.mk
new file mode 100644
index 000000000..6e2010833
--- /dev/null
+++ b/keyboards/kb_elmo/elmopad/rules.mk
@@ -0,0 +1,27 @@
1# MCU name
2MCU = atmega328p
3
4# Processor frequency
5F_CPU = 16000000
6
7# Bootloader selection
8BOOTLOADER = USBasp
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
14MOUSEKEY_ENABLE = no # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = no # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = no # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output
26
27LAYOUTS = numpad_6x4
diff --git a/keyboards/kb_elmo/m0110a_usb/config.h b/keyboards/kb_elmo/m0110a_usb/config.h
new file mode 100644
index 000000000..0010f0d27
--- /dev/null
+++ b/keyboards/kb_elmo/m0110a_usb/config.h
@@ -0,0 +1,49 @@
1/*
2Copyright 2020 kb-elmo<mail@elmo.space>
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 0xA68C
24#define PRODUCT_ID 0xDB4B
25#define DEVICE_VER 0x0001
26#define MANUFACTURER kb-elmo
27#define PRODUCT M0110A USB
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 17
32
33/*
34 * Keyboard Matrix Assignments
35 */
36#define MATRIX_ROW_PINS { B0, B1, B2, B3, D5 }
37#define MATRIX_COL_PINS { D7, C0, C1, C2, C3, D1, B4, C6, C7, A7, A6, A5, A4, A3, A2, A1, A0 }
38#define UNUSED_PINS
39
40/* COL2ROW, ROW2COL*/
41#define DIODE_DIRECTION COL2ROW
42
43/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
44#define DEBOUNCE 5
45
46/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
47#define LOCKING_SUPPORT_ENABLE
48/* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/kb_elmo/m0110a_usb/info.json b/keyboards/kb_elmo/m0110a_usb/info.json
new file mode 100644
index 000000000..9d8fb2871
--- /dev/null
+++ b/keyboards/kb_elmo/m0110a_usb/info.json
@@ -0,0 +1,91 @@
1{
2 "keyboard_name": "m0110a usb",
3 "url": "https://github.com/kb-elmo/m0110a_usb",
4 "maintainer": "kb-elmo",
5 "width": 19.25,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15 {"x":5, "y":0},
16 {"x":6, "y":0},
17 {"x":7, "y":0},
18 {"x":8, "y":0},
19 {"x":9, "y":0},
20 {"x":10, "y":0},
21 {"x":11, "y":0},
22 {"x":12, "y":0},
23 {"x":13, "y":0, "w":1.5},
24 {"x":15.25, "y":0},
25 {"x":16.25, "y":0},
26 {"x":17.25, "y":0},
27 {"x":18.25, "y":0},
28 {"x":0, "y":1, "w":1.5},
29 {"x":1.5, "y":1},
30 {"x":2.5, "y":1},
31 {"x":3.5, "y":1},
32 {"x":4.5, "y":1},
33 {"x":5.5, "y":1},
34 {"x":6.5, "y":1},
35 {"x":7.5, "y":1},
36 {"x":8.5, "y":1},
37 {"x":9.5, "y":1},
38 {"x":10.5, "y":1},
39 {"x":11.5, "y":1},
40 {"x":12.5, "y":1},
41 {"x":15.25, "y":1},
42 {"x":16.25, "y":1},
43 {"x":17.25, "y":1},
44 {"x":18.25, "y":1},
45 {"x":0, "y":2, "w":1.75},
46 {"x":1.75, "y":2},
47 {"x":2.75, "y":2},
48 {"x":3.75, "y":2},
49 {"x":4.75, "y":2},
50 {"x":5.75, "y":2},
51 {"x":6.75, "y":2},
52 {"x":7.75, "y":2},
53 {"x":8.75, "y":2},
54 {"x":9.75, "y":2},
55 {"x":10.75, "y":2},
56 {"x":11.75, "y":2},
57 {"x":13.5, "y":1, "h":2},
58 {"x":15.25, "y":2},
59 {"x":16.25, "y":2},
60 {"x":17.25, "y":2},
61 {"x":18.25, "y":2},
62 {"x":0, "y":3, "w":2.25},
63 {"x":2.25, "y":3},
64 {"x":3.25, "y":3},
65 {"x":4.25, "y":3},
66 {"x":5.25, "y":3},
67 {"x":6.25, "y":3},
68 {"x":7.25, "y":3},
69 {"x":8.25, "y":3},
70 {"x":9.25, "y":3},
71 {"x":10.25, "y":3},
72 {"x":11.25, "y":3},
73 {"x":12.25, "y":3, "w":1.25},
74 {"x":13.5, "y":3},
75 {"x":15.25, "y":3},
76 {"x":16.25, "y":3},
77 {"x":17.25, "y":3},
78 {"x":18.25, "y":3, "h":2},
79 {"x":0, "y":4, "w":1.5},
80 {"x":1.5, "y":4, "w":2},
81 {"x":3.5, "y":4, "w":7},
82 {"x":10.5, "y":4},
83 {"x":11.5, "y":4},
84 {"x":12.5, "y":4},
85 {"x":13.5, "y":4},
86 {"x":15.25, "y":4, "w":2},
87 {"x":17.25, "y":4}
88 ]
89 }
90 }
91}
diff --git a/keyboards/kb_elmo/m0110a_usb/keymaps/default/keymap.c b/keyboards/kb_elmo/m0110a_usb/keymaps/default/keymap.c
new file mode 100644
index 000000000..cb1378b13
--- /dev/null
+++ b/keyboards/kb_elmo/m0110a_usb/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 /* Base */
20 [0] = LAYOUT(
21 KC_ESC, 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, KC_EQL, KC_PSLS, KC_PAST,
22 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_P7, KC_P8, KC_P9, KC_PMNS,
23 KC_LCAP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS,
24 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MO(1), KC_UP, KC_P1, KC_P2, KC_P3,
25 KC_LCTL, KC_LGUI, KC_SPC, KC_BSLS, KC_LEFT, KC_RGHT, KC_DOWN, KC_P0, KC_PDOT, KC_PENT
26 ),
27 [1] = LAYOUT(
28 KC_GRV, 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_TRNS, KC_INS, KC_TRNS, KC_TRNS, KC_TRNS,
29 KC_TRNS, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_UP, KC_PGUP, KC_TRNS,
30 KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS,
31 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_END, KC_DOWN, KC_PGDN,
32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
33 )
34};
diff --git a/keyboards/kb_elmo/m0110a_usb/m0110a_usb.c b/keyboards/kb_elmo/m0110a_usb/m0110a_usb.c
new file mode 100644
index 000000000..9711eca53
--- /dev/null
+++ b/keyboards/kb_elmo/m0110a_usb/m0110a_usb.c
@@ -0,0 +1,17 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 "m0110a_usb.h"
diff --git a/keyboards/kb_elmo/m0110a_usb/m0110a_usb.h b/keyboards/kb_elmo/m0110a_usb/m0110a_usb.h
new file mode 100644
index 000000000..a33c70a6d
--- /dev/null
+++ b/keyboards/kb_elmo/m0110a_usb/m0110a_usb.h
@@ -0,0 +1,41 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k76, k13, k14, k15, k16, \
31 k17, k18, k19, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k30, k31, k32, k33, \
32 k34, k35, k36, k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k50, \
33 k51, k52, k53, k54, k55, k56, k57, k58, k59, k60, k61, k62, k63, k64, k65, k66, \
34 k68, k69, k72, k77, k78, k79, k80, k81, k83, k84 \
35) { \
36 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16, }, \
37 { k17, k18, k19, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k30, k31, k32, k33, }, \
38 { k34, k35, k36, k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k50, }, \
39 { k51, k52, k53, k54, k55, k56, k57, k58, k59, k60, k61, k62, k63, k64, k65, k66, KC_NO, }, \
40 { k68, k69, KC_NO, KC_NO, k72, KC_NO, KC_NO, KC_NO, k76, k77, k78, k79, k80, k81, KC_NO, k83, k84 } \
41}
diff --git a/keyboards/kb_elmo/m0110a_usb/readme.md b/keyboards/kb_elmo/m0110a_usb/readme.md
new file mode 100644
index 000000000..19a354c62
--- /dev/null
+++ b/keyboards/kb_elmo/m0110a_usb/readme.md
@@ -0,0 +1,15 @@
1# M0110a USB
2
3![m0110a_usb](https://i.imgur.com/h8nN8Onl.jpg)
4
5Drop in replacement PCB for the Apple M0110a
6
7* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo)
8* Hardware Supported: M0110a USB
9* Hardware Availability: [Project is open source](https://github.com/kb-elmo/m0110a_usb)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make kb_elmo/m0110a_usb:default
14
15See 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/kb_elmo/m0110a_usb/rules.mk b/keyboards/kb_elmo/m0110a_usb/rules.mk
new file mode 100644
index 000000000..e5b427e5a
--- /dev/null
+++ b/keyboards/kb_elmo/m0110a_usb/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32a
3
4# Processor frequency
5F_CPU = 16000000
6
7# Bootloader selection
8BOOTLOADER = USBasp
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
14MOUSEKEY_ENABLE = no # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = no # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = no # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/kb_elmo/m0116_usb/config.h b/keyboards/kb_elmo/m0116_usb/config.h
new file mode 100644
index 000000000..693d3ab6a
--- /dev/null
+++ b/keyboards/kb_elmo/m0116_usb/config.h
@@ -0,0 +1,53 @@
1/*
2Copyright 2020 kb-elmo<mail@elmo.space>
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 0xA68C
24#define PRODUCT_ID 0x8F7E
25#define DEVICE_VER 0x0001
26#define MANUFACTURER kb-elmo
27#define PRODUCT M0116 USB
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 18
32
33/*
34 * Keyboard Matrix Assignments
35 */
36#define MATRIX_ROW_PINS { B1, A0, B2, A2, A1 }
37#define MATRIX_COL_PINS { D6, D5, D1, D0, D7, C0, C1, C2, C3, C4, C5, C6, C7, A7, A6, A5, A4, A3 }
38#define UNUSED_PINS
39
40/* COL2ROW, ROW2COL*/
41#define DIODE_DIRECTION COL2ROW
42
43/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
44#define DEBOUNCE 5
45
46/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
47#define LOCKING_SUPPORT_ENABLE
48/* Locking resynchronize hack */
49#define LOCKING_RESYNC_ENABLE
50
51/* Bootmagic Lite key configuration */
52#define BOOTMAGIC_LITE_ROW 4
53#define BOOTMAGIC_LITE_COLUMN 5
diff --git a/keyboards/kb_elmo/m0116_usb/info.json b/keyboards/kb_elmo/m0116_usb/info.json
new file mode 100644
index 000000000..1a55664d1
--- /dev/null
+++ b/keyboards/kb_elmo/m0116_usb/info.json
@@ -0,0 +1,94 @@
1{
2 "keyboard_name": "m0116 usb",
3 "url": "https://github.com/kb-elmo/m0116_usb",
4 "maintainer": "kb-elmo",
5 "width": 19.25,
6 "height": 6.15,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":5, "y":0, "w":2},
11 {"x":0, "y":1.15},
12 {"x":1, "y":1.15},
13 {"x":2, "y":1.15},
14 {"x":3, "y":1.15},
15 {"x":4, "y":1.15},
16 {"x":5, "y":1.15},
17 {"x":6, "y":1.15},
18 {"x":7, "y":1.15},
19 {"x":8, "y":1.15},
20 {"x":9, "y":1.15},
21 {"x":10, "y":1.15},
22 {"x":11, "y":1.15},
23 {"x":12, "y":1.15},
24 {"x":13, "y":1.15, "w":1.5},
25 {"x":15.25, "y":1.15},
26 {"x":16.25, "y":1.15},
27 {"x":17.25, "y":1.15},
28 {"x":18.25, "y":1.15},
29 {"x":0, "y":2.15, "w":1.5},
30 {"x":1.5, "y":2.15},
31 {"x":2.5, "y":2.15},
32 {"x":3.5, "y":2.15},
33 {"x":4.5, "y":2.15},
34 {"x":5.5, "y":2.15},
35 {"x":6.5, "y":2.15},
36 {"x":7.5, "y":2.15},
37 {"x":8.5, "y":2.15},
38 {"x":9.5, "y":2.15},
39 {"x":10.5, "y":2.15},
40 {"x":11.5, "y":2.15},
41 {"x":12.5, "y":2.15},
42 {"x":15.25, "y":2.15},
43 {"x":16.25, "y":2.15},
44 {"x":17.25, "y":2.15},
45 {"x":18.25, "y":2.15},
46 {"x":0, "y":3.15, "w":1.75},
47 {"x":1.75, "y":3.15},
48 {"x":2.75, "y":3.15},
49 {"x":3.75, "y":3.15},
50 {"x":4.75, "y":3.15},
51 {"x":5.75, "y":3.15},
52 {"x":6.75, "y":3.15},
53 {"x":7.75, "y":3.15},
54 {"x":8.75, "y":3.15},
55 {"x":9.75, "y":3.15},
56 {"x":10.75, "y":3.15},
57 {"x":11.75, "y":3.15},
58 {"x":13.5, "y":2.15, "h":2},
59 {"x":15.25, "y":3.15},
60 {"x":16.25, "y":3.15},
61 {"x":17.25, "y":3.15},
62 {"x":18.25, "y":3.15},
63 {"x":0, "y":4.15, "w":2.25},
64 {"x":2.25, "y":4.15},
65 {"x":3.25, "y":4.15},
66 {"x":4.25, "y":4.15},
67 {"x":5.25, "y":4.15},
68 {"x":6.25, "y":4.15},
69 {"x":7.25, "y":4.15},
70 {"x":8.25, "y":4.15},
71 {"x":9.25, "y":4.15},
72 {"x":10.25, "y":4.15},
73 {"x":11.25, "y":4.15},
74 {"x":12.25, "y":4.15, "w":2.25},
75 {"x":15.25, "y":4.15},
76 {"x":16.25, "y":4.15},
77 {"x":17.25, "y":4.15},
78 {"x":18.25, "y":4.15, "h":2},
79 {"x":0, "y":5.15},
80 {"x":1, "y":5.15},
81 {"x":2, "y":5.15, "w":1.75},
82 {"x":3.75, "y":5.15},
83 {"x":4.75, "y":5.15, "w":4.75},
84 {"x":9.5, "y":5.15},
85 {"x":10.5, "y":5.15},
86 {"x":11.5, "y":5.15},
87 {"x":12.5, "y":5.15},
88 {"x":13.5, "y":5.15},
89 {"x":15.25, "y":5.15, "w":2},
90 {"x":17.25, "y":5.15}
91 ]
92 }
93 }
94}
diff --git a/keyboards/kb_elmo/m0116_usb/keymaps/default/keymap.c b/keyboards/kb_elmo/m0116_usb/keymaps/default/keymap.c
new file mode 100644
index 000000000..14f1a7d8e
--- /dev/null
+++ b/keyboards/kb_elmo/m0116_usb/keymaps/default/keymap.c
@@ -0,0 +1,36 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 /* Base */
20 [0] = LAYOUT(
21 KC_PSCR,
22 KC_ESC, 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, KC_EQL, KC_PSLS, KC_PAST,
23 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_P7, KC_P8, KC_P9, KC_PPLS,
24 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PMNS,
25 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MO(1), KC_P1, KC_P2, KC_P3,
26 KC_LCAP, KC_LGUI, KC_LALT, KC_GRV, KC_SPC, KC_BSLS, KC_LEFT, KC_RGHT, KC_DOWN, KC_UP, KC_P0, KC_PDOT, KC_PENT
27 ),
28 [1] = LAYOUT(
29 KC_TRNS,
30 KC_GRV, 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_TRNS, KC_INS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, KC_UP, KC_PGUP, KC_TRNS,
32 KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_TRNS, KC_RGHT, KC_TRNS,
33 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_END, KC_DOWN, KC_PGDN,
34 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
35 )
36};
diff --git a/keyboards/kb_elmo/m0116_usb/m0116_usb.c b/keyboards/kb_elmo/m0116_usb/m0116_usb.c
new file mode 100644
index 000000000..823e2abd0
--- /dev/null
+++ b/keyboards/kb_elmo/m0116_usb/m0116_usb.c
@@ -0,0 +1,17 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 "m0116_usb.h"
diff --git a/keyboards/kb_elmo/m0116_usb/m0116_usb.h b/keyboards/kb_elmo/m0116_usb/m0116_usb.h
new file mode 100644
index 000000000..9e98e19ea
--- /dev/null
+++ b/keyboards/kb_elmo/m0116_usb/m0116_usb.h
@@ -0,0 +1,42 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k71, \
31 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16, k17, \
32 k18, k19, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k30, k32, k33, k34, k35, \
33 k36, k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, k31, k48, k49, k50, k51, \
34 k52, k53, k54, k55, k56, k57, k58, k59, k60, k61, k62, k63, k64, k65, k66, \
35 k67, k68, k69, k70, k72, k73, k74, k75, k76, k77, k78, k79, k80 \
36) { \
37 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, k15, k16, k17, }, \
38 { k18, k19, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k30, k31, k32, k33, k34, k35, }, \
39 { k36, k37, k38, k39, k40, k41, k42, k43, k44, k45, k46, k47, KC_NO, KC_NO, k48, k49, k50, k51, }, \
40 { k52, k53, k54, k55, k56, k57, k58, k59, k60, k61, k62, KC_NO, KC_NO, k63, k64, k65, k66, KC_NO }, \
41 { k67, k68, k69, k70, KC_NO, k71, KC_NO, k72, k73, k74, k75, k76, KC_NO, k77, k78, KC_NO, k79, k80, } \
42}
diff --git a/keyboards/kb_elmo/m0116_usb/readme.md b/keyboards/kb_elmo/m0116_usb/readme.md
new file mode 100644
index 000000000..0ffd841c3
--- /dev/null
+++ b/keyboards/kb_elmo/m0116_usb/readme.md
@@ -0,0 +1,15 @@
1# M0116 USB
2
3![m0116_usb](https://i.imgur.com/0l0W3oYl.jpg)
4
5Drop in replacement PCB for the Apple M0116
6
7* Keyboard Maintainer: [elmo-space](https://github.com/elmo-space)
8* Hardware Supported: M0116 USB
9* Hardware Availability: [Project is open source](https://github.com/elmo-space/m0116_usb)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make kb_elmo/m0116_usb:default
14
15See 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/kb_elmo/m0116_usb/rules.mk b/keyboards/kb_elmo/m0116_usb/rules.mk
new file mode 100644
index 000000000..e5b427e5a
--- /dev/null
+++ b/keyboards/kb_elmo/m0116_usb/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32a
3
4# Processor frequency
5F_CPU = 16000000
6
7# Bootloader selection
8BOOTLOADER = USBasp
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
14MOUSEKEY_ENABLE = no # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = no # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = no # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/kb_elmo/sesame/config.h b/keyboards/kb_elmo/sesame/config.h
new file mode 100644
index 000000000..5015cc87b
--- /dev/null
+++ b/keyboards/kb_elmo/sesame/config.h
@@ -0,0 +1,48 @@
1/*
2Copyright 2020 kb-elmo<mail@elmo.space>
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 0xA68C
24#define PRODUCT_ID 0xE2BD
25#define DEVICE_VER 0x0001
26#define MANUFACTURER kb-elmo
27#define PRODUCT Sesame
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/*
34 * Keyboard Matrix Assignments
35 */
36#define MATRIX_ROW_PINS { C4, C5, C6, C7, A7 }
37#define MATRIX_COL_PINS { D1, D5, D6, D7, C0, C1, C2, C3, A6, A5, A4, A3, A2, A1, A0 }
38#define UNUSED_PINS
39
40/* COL2ROW, ROW2COL*/
41#define DIODE_DIRECTION COL2ROW
42
43/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
44#define DEBOUNCE 5
45
46/* Bootmagic Lite key configuration */
47#define BOOTMAGIC_LITE_ROW 0
48#define BOOTMAGIC_LITE_COLUMN 1
diff --git a/keyboards/kb_elmo/sesame/info.json b/keyboards/kb_elmo/sesame/info.json
new file mode 100644
index 000000000..b371b3d58
--- /dev/null
+++ b/keyboards/kb_elmo/sesame/info.json
@@ -0,0 +1,78 @@
1{
2 "keyboard_name": "sesame",
3 "url": "https://github.com/kb-elmo/sesame",
4 "maintainer": "kb-elmo",
5 "width": 17.75,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1.25, "y":0},
12 {"x":2.25, "y":0},
13 {"x":3.25, "y":0},
14 {"x":4.25, "y":0},
15 {"x":5.25, "y":0},
16 {"x":6.25, "y":0},
17 {"x":7.25, "y":0},
18 {"x":10.25, "y":0},
19 {"x":11.25, "y":0},
20 {"x":12.25, "y":0},
21 {"x":13.25, "y":0},
22 {"x":14.25, "y":0},
23 {"x":15.25, "y":0},
24 {"x":16.25, "y":0, "w": 2},
25 {"x":0, "y":1},
26 {"x":1.25, "y":1, "w":1.5},
27 {"x":2.75, "y":1},
28 {"x":3.75, "y":1},
29 {"x":4.75, "y":1},
30 {"x":5.75, "y":1},
31 {"x":6.75, "y":1},
32 {"x":9.75, "y":1},
33 {"x":10.75, "y":1},
34 {"x":11.75, "y":1},
35 {"x":12.75, "y":1},
36 {"x":13.75, "y":1},
37 {"x":14.75, "y":1},
38 {"x":15.75, "y":1},
39 {"x":16.75, "y":1, "w":1.5},
40 {"x":0, "y":2},
41 {"x":1.25, "y":2, "w":1.75},
42 {"x":3, "y":2},
43 {"x":4, "y":2},
44 {"x":5, "y":2},
45 {"x":6, "y":2},
46 {"x":7, "y":2},
47 {"x":10, "y":2},
48 {"x":11, "y":2},
49 {"x":12, "y":2},
50 {"x":13, "y":2},
51 {"x":14, "y":2},
52 {"x":15, "y":2},
53 {"x":16, "y":2, "w":2.25},
54 {"x":1.25, "y":3, "w":2.25},
55 {"x":3.5, "y":3},
56 {"x":4.5, "y":3},
57 {"x":5.5, "y":3},
58 {"x":6.5, "y":3},
59 {"x":7.5, "y":3},
60 {"x":9.5, "y":3},
61 {"x":10.5, "y":3},
62 {"x":11.5, "y":3},
63 {"x":12.5, "y":3},
64 {"x":13.5, "y":3},
65 {"x":14.5, "y":3},
66 {"x":15.5, "y":3, "w":1.75},
67 {"x":17.25, "y":3},
68 {"x":1.25, "y":4, "w":1.5},
69 {"x":4.25, "y":4, "w":1.5},
70 {"x":5.75, "y":4, "w":2},
71 {"x":7.75, "y":4, "w":1.25},
72 {"x":9.5, "y":4, "w":2.75},
73 {"x":12.25, "y":4, "w":1.5},
74 {"x":16.75, "y":4, "w":1.5}
75 ]
76 }
77 }
78}
diff --git a/keyboards/kb_elmo/sesame/keymaps/default/keymap.c b/keyboards/kb_elmo/sesame/keymaps/default/keymap.c
new file mode 100644
index 000000000..e1c74203e
--- /dev/null
+++ b/keyboards/kb_elmo/sesame/keymaps/default/keymap.c
@@ -0,0 +1,34 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 /* Base */
20 [0] = LAYOUT(
21 KC_PAUS, KC_ESC, 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,
22 KC_PSCR, 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,
23 KC_F5, 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,
24 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, MO(1),
25 KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_RCTL
26 ),
27 [1] = LAYOUT(
28 KC_TRNS, KC_GRV, 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,
29 KC_TRNS, KC_TRNS, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
31 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, KC_TRNS, KC_TRNS,
32 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
33 )
34};
diff --git a/keyboards/kb_elmo/sesame/readme.md b/keyboards/kb_elmo/sesame/readme.md
new file mode 100644
index 000000000..9fa7f3541
--- /dev/null
+++ b/keyboards/kb_elmo/sesame/readme.md
@@ -0,0 +1,15 @@
1# Sesame
2
3![sesame](https://i.imgur.com/IdudbWjl.jpg)
4
5Alice layout THT keyboard
6
7* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo)
8* Hardware Supported: Sesame
9* Hardware Availability: [Project is open source](https://github.com/kb-elmo/sesame)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make kb_elmo/sesame:default
14
15See 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/kb_elmo/sesame/rules.mk b/keyboards/kb_elmo/sesame/rules.mk
new file mode 100644
index 000000000..e5b427e5a
--- /dev/null
+++ b/keyboards/kb_elmo/sesame/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32a
3
4# Processor frequency
5F_CPU = 16000000
6
7# Bootloader selection
8BOOTLOADER = USBasp
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
14MOUSEKEY_ENABLE = no # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = no # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = no # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/kb_elmo/sesame/sesame.c b/keyboards/kb_elmo/sesame/sesame.c
new file mode 100644
index 000000000..4ca3d08f0
--- /dev/null
+++ b/keyboards/kb_elmo/sesame/sesame.c
@@ -0,0 +1,17 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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 "sesame.h"
diff --git a/keyboards/kb_elmo/sesame/sesame.h b/keyboards/kb_elmo/sesame/sesame.h
new file mode 100644
index 000000000..512bce6e2
--- /dev/null
+++ b/keyboards/kb_elmo/sesame/sesame.h
@@ -0,0 +1,41 @@
1/* Copyright 2020 kb-elmo<mail@elmo.space>
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/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14, \
31 k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \
32 k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k40, k41, k42, k44, \
33 k45, k46, k47, k48, k49, k50, k51, k52, k53, k54, k55, k56, k57, k58, \
34 k59, k60, k61, k62, k63, k64, k65 \
35) { \
36 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k11, k12, k13, k14 }, \
37 { k15, k16, k17, k18, k19, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
38 { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k40, k41, k42, KC_NO, k44 }, \
39 { KC_NO, k45, k46, k47, k48, k49, k50, k51, k52, k53, k54, k55, k56, k57, k58 }, \
40 { KC_NO, k59, KC_NO, k60, KC_NO, k61, k62, KC_NO, k63, KC_NO, k64, KC_NO, KC_NO, k65, KC_NO } \
41}