diff options
Diffstat (limited to 'keyboards/4pplet/bootleg')
-rw-r--r-- | keyboards/4pplet/bootleg/info.json | 77 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/keymaps/default/keymap.c | 34 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/keymaps/via/keymap.c | 48 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/readme.md | 12 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/rev_a/config.h | 42 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/rev_a/readme.md | 12 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/rev_a/rev_a.c | 17 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/rev_a/rev_a.h | 34 | ||||
-rw-r--r-- | keyboards/4pplet/bootleg/rev_a/rules.mk | 18 |
10 files changed, 295 insertions, 0 deletions
diff --git a/keyboards/4pplet/bootleg/info.json b/keyboards/4pplet/bootleg/info.json new file mode 100644 index 000000000..9719b0715 --- /dev/null +++ b/keyboards/4pplet/bootleg/info.json | |||
@@ -0,0 +1,77 @@ | |||
1 | { | ||
2 | "keyboard_name": "bootleg Rev A", | ||
3 | "url": "https://github.com/4pplet/bootlegs", | ||
4 | "maintainer": "4pplet", | ||
5 | "layouts": { | ||
6 | "LAYOUT_all": { | ||
7 | "layout": [ | ||
8 | { "label": "Esc", "x": 0, "y": 0 }, | ||
9 | { "label": "!", "x": 1, "y": 0 }, | ||
10 | { "label": "@", "x": 2, "y": 0 }, | ||
11 | { "label": "#", "x": 3, "y": 0 }, | ||
12 | { "label": "$", "x": 4, "y": 0 }, | ||
13 | { "label": "%", "x": 5, "y": 0 }, | ||
14 | { "label": "^", "x": 6, "y": 0 }, | ||
15 | { "label": "&", "x": 7, "y": 0 }, | ||
16 | { "label": "*", "x": 8, "y": 0 }, | ||
17 | { "label": "(", "x": 9, "y": 0 }, | ||
18 | { "label": ")", "x": 10, "y": 0 }, | ||
19 | { "label": "_", "x": 11, "y": 0 }, | ||
20 | { "label": "+", "x": 12, "y": 0 }, | ||
21 | { "label": "|", "x": 13, "y": 0 }, | ||
22 | { "label": "~", "x": 14, "y": 0 }, | ||
23 | { "label": "Tab", "x": 0, "y": 1, "w": 1.5 }, | ||
24 | { "label": "Q", "x": 1.5, "y": 1 }, | ||
25 | { "label": "W", "x": 2.5, "y": 1 }, | ||
26 | { "label": "E", "x": 3.5, "y": 1 }, | ||
27 | { "label": "R", "x": 4.5, "y": 1 }, | ||
28 | { "label": "T", "x": 5.5, "y": 1 }, | ||
29 | { "label": "Y", "x": 6.5, "y": 1 }, | ||
30 | { "label": "U", "x": 7.5, "y": 1 }, | ||
31 | { "label": "I", "x": 8.5, "y": 1 }, | ||
32 | { "label": "O", "x": 9.5, "y": 1 }, | ||
33 | { "label": "P", "x": 10.5, "y": 1 }, | ||
34 | { "label": "{", "x": 11.5, "y": 1 }, | ||
35 | { "label": "}", "x": 12.5, "y": 1 }, | ||
36 | { "label": "Backsp.", "x": 13.5, "y": 1, "w": 1.5 }, | ||
37 | { "label": "Caps Lock", "x": 0, "y": 2, "w": 1.75 }, | ||
38 | { "label": "A", "x": 1.75, "y": 2 }, | ||
39 | { "label": "S", "x": 2.75, "y": 2 }, | ||
40 | { "label": "D", "x": 3.75, "y": 2 }, | ||
41 | { "label": "F", "x": 4.75, "y": 2 }, | ||
42 | { "label": "G", "x": 5.75, "y": 2 }, | ||
43 | { "label": "H", "x": 6.75, "y": 2 }, | ||
44 | { "label": "J", "x": 7.75, "y": 2 }, | ||
45 | { "label": "K", "x": 8.75, "y": 2 }, | ||
46 | { "label": "L", "x": 9.75, "y": 2 }, | ||
47 | { "label": ":", "x": 10.75, "y": 2 }, | ||
48 | { "label": "\"", "x": 11.75, "y": 2 }, | ||
49 | { "label": "Enter", "x": 12.75, "y": 2, "w": 2.25 }, | ||
50 | { "label": "Shift", "x": 0, "y": 3, "w": 1.25 }, | ||
51 | { "label": "|", "x": 1.25, "y": 3 }, | ||
52 | { "label": "Z", "x": 2.25, "y": 3 }, | ||
53 | { "label": "X", "x": 3.25, "y": 3 }, | ||
54 | { "label": "C", "x": 4.25, "y": 3 }, | ||
55 | { "label": "V", "x": 5.25, "y": 3 }, | ||
56 | { "label": "B", "x": 6.25, "y": 3 }, | ||
57 | { "label": "N", "x": 7.25, "y": 3 }, | ||
58 | { "label": "M", "x": 8.25, "y": 3 }, | ||
59 | { "label": "<", "x": 9.25, "y": 3 }, | ||
60 | { "label": ">", "x": 10.25, "y": 3 }, | ||
61 | { "label": "?", "x": 11.25, "y": 3 }, | ||
62 | { "label": "Shift", "x": 12.25, "y": 3, "w": 1.75 }, | ||
63 | { "label": "Fn", "x": 14, "y": 3, "w": 1 }, | ||
64 | { "label": "Ctrl", "x": 0, "y": 4, "w": 1.25 }, | ||
65 | { "label": "Win", "x": 1.25, "y": 4, "w": 1.25 }, | ||
66 | { "label": "Alt", "x": 2.5, "y": 4, "w": 1.25 }, | ||
67 | { "label": "Space1", "x": 3.75, "y": 4, "w": 2.25 }, | ||
68 | { "label": "Space2", "x": 6, "y": 4, "w": 1.25 }, | ||
69 | { "label": "Space3", "x": 7.25, "y": 4, "w": 2.75 }, | ||
70 | { "label": "Alt", "x": 10, "y": 4, "w": 1.25 }, | ||
71 | { "label": "Menu", "x": 11.25, "y": 4, "w": 1.25 }, | ||
72 | { "label": "Win", "x": 12.5, "y": 4, "w": 1.25 }, | ||
73 | { "label": "Ctrl", "x": 13.75, "y": 4, "w": 1.25 } | ||
74 | ] | ||
75 | } | ||
76 | } | ||
77 | } | ||
diff --git a/keyboards/4pplet/bootleg/keymaps/default/keymap.c b/keyboards/4pplet/bootleg/keymaps/default/keymap.c new file mode 100644 index 000000000..c9ae421af --- /dev/null +++ b/keyboards/4pplet/bootleg/keymaps/default/keymap.c | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | Copyright 2020 Stefan Sundin "4pplet" <[email protected]> | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | // main layer | ||
21 | [0] = LAYOUT_all( | ||
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_NO, KC_BSPC, | ||
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, | ||
24 | KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
25 | KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO, | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)), | ||
27 | // basic function layer | ||
28 | [1] = LAYOUT_all( | ||
29 | RESET, 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_TRNS, | ||
30 | KC_TRNS, KC_TRNS, KC_UP, 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_LEFT, KC_DOWN, KC_RIGHT, 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, | ||
33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
34 | }; | ||
diff --git a/keyboards/4pplet/bootleg/keymaps/via/keymap.c b/keyboards/4pplet/bootleg/keymaps/via/keymap.c new file mode 100644 index 000000000..b83266d8c --- /dev/null +++ b/keyboards/4pplet/bootleg/keymaps/via/keymap.c | |||
@@ -0,0 +1,48 @@ | |||
1 | /* | ||
2 | Copyright 2020 Stefan Sundin "4pplet" <[email protected]> | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | #include QMK_KEYBOARD_H | ||
18 | |||
19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
20 | // main layer | ||
21 | [0] = LAYOUT_all( | ||
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_NO, KC_BSPC, | ||
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, | ||
24 | KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
25 | KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_NO, | ||
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, MO(1)), | ||
27 | // basic function layer | ||
28 | [1] = LAYOUT_all( | ||
29 | RESET, 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_TRNS, | ||
30 | KC_TRNS, KC_TRNS, KC_UP, 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_LEFT, KC_DOWN, KC_RIGHT, 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, | ||
33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
34 | // extra layer for VIA | ||
35 | [2] = LAYOUT_all( | ||
36 | 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, | ||
37 | 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, | ||
38 | 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, | ||
39 | 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, | ||
40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
41 | // extra layer for VIA | ||
42 | [3] = LAYOUT_all( | ||
43 | 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, | ||
44 | 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, | ||
45 | 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, | ||
46 | 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, | ||
47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
48 | }; | ||
diff --git a/keyboards/4pplet/bootleg/keymaps/via/rules.mk b/keyboards/4pplet/bootleg/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/4pplet/bootleg/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes | |||
diff --git a/keyboards/4pplet/bootleg/readme.md b/keyboards/4pplet/bootleg/readme.md new file mode 100644 index 000000000..3ced86e61 --- /dev/null +++ b/keyboards/4pplet/bootleg/readme.md | |||
@@ -0,0 +1,12 @@ | |||
1 | # bootleg | ||
2 | |||
3 | A 60% PCB for non tray-mount keyboards | ||
4 | |||
5 | * Keyboard Maintainer: [4pplet](https://github.com/4pplet) | ||
6 | * Hardware Supported: bootleg Rev A | ||
7 | |||
8 | Make example for this keyboard (after setting up your build environment): | ||
9 | |||
10 | make 4pplet/bootleg/rev_a:default | ||
11 | |||
12 | See 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/4pplet/bootleg/rev_a/config.h b/keyboards/4pplet/bootleg/rev_a/config.h new file mode 100644 index 000000000..4d3122afd --- /dev/null +++ b/keyboards/4pplet/bootleg/rev_a/config.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /* | ||
2 | Copyright 2020 Stefan Sundin "4pplet" <[email protected]> | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | #pragma once | ||
18 | |||
19 | #include "config_common.h" | ||
20 | |||
21 | /* USB Device descriptor parameter */ | ||
22 | #define VENDOR_ID 0x4444 | ||
23 | #define PRODUCT_ID 0x0004 | ||
24 | #define DEVICE_VER 0x0001 | ||
25 | #define MANUFACTURER 4pplet | ||
26 | #define PRODUCT bootleg Rev A | ||
27 | |||
28 | /* key matrix size */ | ||
29 | #define MATRIX_ROWS 5 | ||
30 | #define MATRIX_COLS 15 | ||
31 | // ROWS: Top to bottom, COLS: Left to right | ||
32 | #define MATRIX_ROW_PINS {D0,C2,C4,D4,D2} | ||
33 | #define MATRIX_COL_PINS {C5,C6,C7,B7,B6,B5,B4,B3,B2,B1,B0,D6,D5,D3,D1} | ||
34 | |||
35 | /* COL2ROW or ROW2COL */ | ||
36 | #define DIODE_DIRECTION COL2ROW | ||
37 | |||
38 | /* Set 0 if debouncing isn't needed */ | ||
39 | #define DEBOUNCE 5 | ||
40 | |||
41 | #define QMK_ESC_OUTPUT C4 // usually COL | ||
42 | #define QMK_ESC_INPUT D0 // usually ROW | ||
diff --git a/keyboards/4pplet/bootleg/rev_a/readme.md b/keyboards/4pplet/bootleg/rev_a/readme.md new file mode 100644 index 000000000..3ced86e61 --- /dev/null +++ b/keyboards/4pplet/bootleg/rev_a/readme.md | |||
@@ -0,0 +1,12 @@ | |||
1 | # bootleg | ||
2 | |||
3 | A 60% PCB for non tray-mount keyboards | ||
4 | |||
5 | * Keyboard Maintainer: [4pplet](https://github.com/4pplet) | ||
6 | * Hardware Supported: bootleg Rev A | ||
7 | |||
8 | Make example for this keyboard (after setting up your build environment): | ||
9 | |||
10 | make 4pplet/bootleg/rev_a:default | ||
11 | |||
12 | See 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/4pplet/bootleg/rev_a/rev_a.c b/keyboards/4pplet/bootleg/rev_a/rev_a.c new file mode 100644 index 000000000..b4f233d37 --- /dev/null +++ b/keyboards/4pplet/bootleg/rev_a/rev_a.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* | ||
2 | Copyright 2020 Stefan Sundin "4pplet" <[email protected]> | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | #include "rev_a.h" | ||
diff --git a/keyboards/4pplet/bootleg/rev_a/rev_a.h b/keyboards/4pplet/bootleg/rev_a/rev_a.h new file mode 100644 index 000000000..f9bbb445c --- /dev/null +++ b/keyboards/4pplet/bootleg/rev_a/rev_a.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | Copyright 2020 Stefan Sundin "4pplet" <[email protected]> | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | #pragma once | ||
18 | |||
19 | #include "quantum.h" | ||
20 | |||
21 | #define LAYOUT_all( \ | ||
22 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
23 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1d, k1e, \ | ||
24 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \ | ||
25 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e, \ | ||
26 | k40, k41, k43, k45, k47, k48, k4a, k4b, k4d, k4e \ | ||
27 | ) \ | ||
28 | { \ | ||
29 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e}, \ | ||
30 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1d, k1e}, \ | ||
31 | {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d}, \ | ||
32 | {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3d, k3e}, \ | ||
33 | {k40, k41, k43, k45, k47, k48, k4a, k4b, k4d, k4e } \ | ||
34 | } | ||
diff --git a/keyboards/4pplet/bootleg/rev_a/rules.mk b/keyboards/4pplet/bootleg/rev_a/rules.mk new file mode 100644 index 000000000..43eb792fc --- /dev/null +++ b/keyboards/4pplet/bootleg/rev_a/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u2 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||