diff options
-rw-r--r-- | keyboards/m10a/config.h | 38 | ||||
-rw-r--r-- | keyboards/m10a/info.json | 26 | ||||
-rw-r--r-- | keyboards/m10a/keymaps/default/keymap.c | 120 | ||||
-rw-r--r-- | keyboards/m10a/keymaps/via/config.h | 20 | ||||
-rw-r--r-- | keyboards/m10a/keymaps/via/keymap.c | 120 | ||||
-rw-r--r-- | keyboards/m10a/m10a.c | 22 | ||||
-rw-r--r-- | keyboards/m10a/m10a.h | 29 | ||||
-rw-r--r-- | keyboards/m10a/readme.md | 18 | ||||
-rw-r--r-- | keyboards/m10a/rules.mk | 30 |
9 files changed, 310 insertions, 113 deletions
diff --git a/keyboards/m10a/config.h b/keyboards/m10a/config.h index 6ece2131b..01f9d0d0a 100644 --- a/keyboards/m10a/config.h +++ b/keyboards/m10a/config.h | |||
@@ -1,22 +1,22 @@ | |||
1 | /* | 1 | /* Copyright |
2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | 2 | * 2017 Josh Black (@consolenaut) |
3 | 3 | * 2021 QMK | |
4 | This program is free software: you can redistribute it and/or modify | 4 | * |
5 | it under the terms of the GNU General Public License as published by | 5 | * This program is free software: you can redistribute it and/or modify |
6 | the Free Software Foundation, either version 2 of the License, or | 6 | * it under the terms of the GNU General Public License as published by |
7 | (at your option) any later version. | 7 | * the Free Software Foundation, either version 2 of the License, or |
8 | 8 | * (at your option) any later version. | |
9 | This program is distributed in the hope that it will be useful, | 9 | * |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * This program is distributed in the hope that it will be useful, |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | GNU General Public License for more details. | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | 13 | * GNU General Public License for more details. | |
14 | You should have received a copy of the GNU General Public License | 14 | * |
15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | * You should have received a copy of the GNU General Public License |
16 | */ | 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ | ||
17 | 18 | ||
18 | #ifndef CONFIG_H | 19 | #pragma once |
19 | #define CONFIG_H | ||
20 | 20 | ||
21 | #include "config_common.h" | 21 | #include "config_common.h" |
22 | 22 | ||
@@ -72,5 +72,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
72 | //#define NO_ACTION_ONESHOT | 72 | //#define NO_ACTION_ONESHOT |
73 | //#define NO_ACTION_MACRO | 73 | //#define NO_ACTION_MACRO |
74 | //#define NO_ACTION_FUNCTION | 74 | //#define NO_ACTION_FUNCTION |
75 | |||
76 | #endif | ||
diff --git a/keyboards/m10a/info.json b/keyboards/m10a/info.json new file mode 100644 index 000000000..769225929 --- /dev/null +++ b/keyboards/m10a/info.json | |||
@@ -0,0 +1,26 @@ | |||
1 | { | ||
2 | "keyboard_name": "Rama Works X Machine Industries M10-A Macropad", | ||
3 | "url": "", | ||
4 | "maintainer": "qmk", | ||
5 | "width": 3, | ||
6 | "height": 4, | ||
7 | "layouts": { | ||
8 | "LAYOUT": { | ||
9 | "layout": [ | ||
10 | {"x":0, "y":0}, | ||
11 | {"x":1, "y":0}, | ||
12 | {"x":2, "y":0}, | ||
13 | |||
14 | {"x":0, "y":1}, | ||
15 | {"x":1, "y":1}, | ||
16 | {"x":2, "y":1}, | ||
17 | |||
18 | {"x":0, "y":2}, | ||
19 | {"x":1, "y":2}, | ||
20 | {"x":2, "y":2}, | ||
21 | |||
22 | {"x":1, "y":3, "w":2} | ||
23 | ] | ||
24 | } | ||
25 | } | ||
26 | } | ||
diff --git a/keyboards/m10a/keymaps/default/keymap.c b/keyboards/m10a/keymaps/default/keymap.c index 9c9f4c688..4fb8eb584 100644 --- a/keyboards/m10a/keymaps/default/keymap.c +++ b/keyboards/m10a/keymaps/default/keymap.c | |||
@@ -1,39 +1,101 @@ | |||
1 | #include QMK_KEYBOARD_H | 1 | /* Copyright |
2 | 2 | * 2017 Josh Black (@consolenaut) | |
3 | * 2021 QMK | ||
4 | * | ||
5 | * This program is free software: you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation, either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
3 | 18 | ||
4 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | 19 | #include QMK_KEYBOARD_H |
5 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
6 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
7 | // entirely and just use numbers. | ||
8 | 20 | ||
9 | enum layers { | 21 | enum layer_names { |
10 | _LAYER0, | 22 | _LAYER0, |
11 | _LAYER1, | 23 | _LAYER1, |
12 | _LAYER2, | 24 | _LAYER2, |
13 | _LAYER3, | 25 | _LAYER3, |
14 | _LAYER4, | 26 | _LAYER4, |
15 | _LAYER5, | 27 | _LAYER5, |
16 | _LAYER6, | 28 | _LAYER6, |
17 | _LAYER7, | 29 | _LAYER7, |
18 | _LAYER8, | 30 | _LAYER8, |
19 | _LAYER9 | 31 | _LAYER9 |
20 | }; | 32 | }; |
21 | 33 | ||
22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 34 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
23 | [_LAYER0] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 35 | [_LAYER0] = LAYOUT( |
24 | [_LAYER1] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 36 | KC_A, KC_B, KC_C, |
25 | [_LAYER2] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 37 | KC_D, KC_E, KC_F, |
26 | [_LAYER3] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 38 | KC_G, KC_H, KC_I, |
27 | [_LAYER4] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 39 | KC_J |
28 | [_LAYER5] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 40 | ), |
29 | [_LAYER6] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 41 | [_LAYER1] = LAYOUT( |
30 | [_LAYER7] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 42 | KC_A, KC_B, KC_C, |
31 | [_LAYER8] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 43 | KC_D, KC_E, KC_F, |
32 | [_LAYER9] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J) | 44 | KC_G, KC_H, KC_I, |
45 | KC_J | ||
46 | ), | ||
47 | [_LAYER2] = LAYOUT( | ||
48 | KC_A, KC_B, KC_C, | ||
49 | KC_D, KC_E, KC_F, | ||
50 | KC_G, KC_H, KC_I, | ||
51 | KC_J | ||
52 | ), | ||
53 | [_LAYER3] = LAYOUT( | ||
54 | KC_A, KC_B, KC_C, | ||
55 | KC_D, KC_E, KC_F, | ||
56 | KC_G, KC_H, KC_I, | ||
57 | KC_J | ||
58 | ), | ||
59 | [_LAYER4] = LAYOUT( | ||
60 | KC_A, KC_B, KC_C, | ||
61 | KC_D, KC_E, KC_F, | ||
62 | KC_G, KC_H, KC_I, | ||
63 | KC_J | ||
64 | ), | ||
65 | [_LAYER5] = LAYOUT( | ||
66 | KC_A, KC_B, KC_C, | ||
67 | KC_D, KC_E, KC_F, | ||
68 | KC_G, KC_H, KC_I, | ||
69 | KC_J | ||
70 | ), | ||
71 | [_LAYER6] = LAYOUT( | ||
72 | KC_A, KC_B, KC_C, | ||
73 | KC_D, KC_E, KC_F, | ||
74 | KC_G, KC_H, KC_I, | ||
75 | KC_J | ||
76 | ), | ||
77 | [_LAYER7] = LAYOUT( | ||
78 | KC_A, KC_B, KC_C, | ||
79 | KC_D, KC_E, KC_F, | ||
80 | KC_G, KC_H, KC_I, | ||
81 | KC_J | ||
82 | ), | ||
83 | [_LAYER8] = LAYOUT( | ||
84 | KC_A, KC_B, KC_C, | ||
85 | KC_D, KC_E, KC_F, | ||
86 | KC_G, KC_H, KC_I, | ||
87 | KC_J | ||
88 | ), | ||
89 | [_LAYER9] = LAYOUT( | ||
90 | KC_A, KC_B, KC_C, | ||
91 | KC_D, KC_E, KC_F, | ||
92 | KC_G, KC_H, KC_I, | ||
93 | KC_J | ||
94 | ) | ||
33 | }; | 95 | }; |
34 | 96 | ||
35 | void matrix_init_user(void) { | 97 | void matrix_init_user(void) { |
36 | #ifdef BACKLIGHT_ENABLE | 98 | #ifdef BACKLIGHT_ENABLE |
37 | backlight_level(0); | 99 | backlight_level(0); |
38 | #endif | 100 | #endif |
39 | } | 101 | } |
diff --git a/keyboards/m10a/keymaps/via/config.h b/keyboards/m10a/keymaps/via/config.h index 79248f04f..cd097f8da 100644 --- a/keyboards/m10a/keymaps/via/config.h +++ b/keyboards/m10a/keymaps/via/config.h | |||
@@ -1,4 +1,22 @@ | |||
1 | /* Copyright | ||
2 | * 2020 Jason Williams (Wilba) | ||
3 | * 2021 QMK | ||
4 | * | ||
5 | * This program is free software: you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation, either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
1 | #pragma once | 19 | #pragma once |
2 | 20 | ||
3 | // Keep default crazy number of layers | 21 | // Keep default crazy number of layers |
4 | #define DYNAMIC_KEYMAP_LAYER_COUNT 10 \ No newline at end of file | 22 | #define DYNAMIC_KEYMAP_LAYER_COUNT 10 |
diff --git a/keyboards/m10a/keymaps/via/keymap.c b/keyboards/m10a/keymaps/via/keymap.c index 9c9f4c688..59cc38ee8 100644 --- a/keyboards/m10a/keymaps/via/keymap.c +++ b/keyboards/m10a/keymaps/via/keymap.c | |||
@@ -1,39 +1,101 @@ | |||
1 | #include QMK_KEYBOARD_H | 1 | /* Copyright |
2 | 2 | * 2020 Jason Williams (Wilba) | |
3 | * 2021 QMK | ||
4 | * | ||
5 | * This program is free software: you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation, either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
3 | 18 | ||
4 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | 19 | #include QMK_KEYBOARD_H |
5 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
6 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
7 | // entirely and just use numbers. | ||
8 | 20 | ||
9 | enum layers { | 21 | enum layer_names { |
10 | _LAYER0, | 22 | _LAYER0, |
11 | _LAYER1, | 23 | _LAYER1, |
12 | _LAYER2, | 24 | _LAYER2, |
13 | _LAYER3, | 25 | _LAYER3, |
14 | _LAYER4, | 26 | _LAYER4, |
15 | _LAYER5, | 27 | _LAYER5, |
16 | _LAYER6, | 28 | _LAYER6, |
17 | _LAYER7, | 29 | _LAYER7, |
18 | _LAYER8, | 30 | _LAYER8, |
19 | _LAYER9 | 31 | _LAYER9 |
20 | }; | 32 | }; |
21 | 33 | ||
22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 34 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
23 | [_LAYER0] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 35 | [_LAYER0] = LAYOUT( |
24 | [_LAYER1] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 36 | KC_A, KC_B, KC_C, |
25 | [_LAYER2] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 37 | KC_D, KC_E, KC_F, |
26 | [_LAYER3] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 38 | KC_G, KC_H, KC_I, |
27 | [_LAYER4] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 39 | KC_J |
28 | [_LAYER5] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 40 | ), |
29 | [_LAYER6] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 41 | [_LAYER1] = LAYOUT( |
30 | [_LAYER7] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 42 | KC_A, KC_B, KC_C, |
31 | [_LAYER8] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J), | 43 | KC_D, KC_E, KC_F, |
32 | [_LAYER9] = LAYOUT(KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_NO, KC_NO, KC_J) | 44 | KC_G, KC_H, KC_I, |
45 | KC_J | ||
46 | ), | ||
47 | [_LAYER2] = LAYOUT( | ||
48 | KC_A, KC_B, KC_C, | ||
49 | KC_D, KC_E, KC_F, | ||
50 | KC_G, KC_H, KC_I, | ||
51 | KC_J | ||
52 | ), | ||
53 | [_LAYER3] = LAYOUT( | ||
54 | KC_A, KC_B, KC_C, | ||
55 | KC_D, KC_E, KC_F, | ||
56 | KC_G, KC_H, KC_I, | ||
57 | KC_J | ||
58 | ), | ||
59 | [_LAYER4] = LAYOUT( | ||
60 | KC_A, KC_B, KC_C, | ||
61 | KC_D, KC_E, KC_F, | ||
62 | KC_G, KC_H, KC_I, | ||
63 | KC_J | ||
64 | ), | ||
65 | [_LAYER5] = LAYOUT( | ||
66 | KC_A, KC_B, KC_C, | ||
67 | KC_D, KC_E, KC_F, | ||
68 | KC_G, KC_H, KC_I, | ||
69 | KC_J | ||
70 | ), | ||
71 | [_LAYER6] = LAYOUT( | ||
72 | KC_A, KC_B, KC_C, | ||
73 | KC_D, KC_E, KC_F, | ||
74 | KC_G, KC_H, KC_I, | ||
75 | KC_J | ||
76 | ), | ||
77 | [_LAYER7] = LAYOUT( | ||
78 | KC_A, KC_B, KC_C, | ||
79 | KC_D, KC_E, KC_F, | ||
80 | KC_G, KC_H, KC_I, | ||
81 | KC_J | ||
82 | ), | ||
83 | [_LAYER8] = LAYOUT( | ||
84 | KC_A, KC_B, KC_C, | ||
85 | KC_D, KC_E, KC_F, | ||
86 | KC_G, KC_H, KC_I, | ||
87 | KC_J | ||
88 | ), | ||
89 | [_LAYER9] = LAYOUT( | ||
90 | KC_A, KC_B, KC_C, | ||
91 | KC_D, KC_E, KC_F, | ||
92 | KC_G, KC_H, KC_I, | ||
93 | KC_J | ||
94 | ) | ||
33 | }; | 95 | }; |
34 | 96 | ||
35 | void matrix_init_user(void) { | 97 | void matrix_init_user(void) { |
36 | #ifdef BACKLIGHT_ENABLE | 98 | #ifdef BACKLIGHT_ENABLE |
37 | backlight_level(0); | 99 | backlight_level(0); |
38 | #endif | 100 | #endif |
39 | } | 101 | } |
diff --git a/keyboards/m10a/m10a.c b/keyboards/m10a/m10a.c index 9cc7f069a..d9e7503a4 100644 --- a/keyboards/m10a/m10a.c +++ b/keyboards/m10a/m10a.c | |||
@@ -1,5 +1,19 @@ | |||
1 | #include "m10a.h" | 1 | /* Copyright |
2 | * 2017 Josh Black (@consolenaut) | ||
3 | * 2021 QMK | ||
4 | * | ||
5 | * This program is free software: you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation, either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
2 | 18 | ||
3 | void matrix_init_kb(void) { | 19 | #include "m10a.h" |
4 | matrix_init_user(); | ||
5 | } \ No newline at end of file | ||
diff --git a/keyboards/m10a/m10a.h b/keyboards/m10a/m10a.h index a62913aa2..2eb14b7a7 100644 --- a/keyboards/m10a/m10a.h +++ b/keyboards/m10a/m10a.h | |||
@@ -1,19 +1,36 @@ | |||
1 | #ifndef M10A_H | 1 | /* Copyright |
2 | #define M10A_H | 2 | * 2017 Josh Black (@consolenaut) |
3 | * 2021 QMK | ||
4 | * | ||
5 | * This program is free software: you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation, either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | ||
18 | |||
19 | #pragma once | ||
3 | 20 | ||
4 | #include "quantum.h" | 21 | #include "quantum.h" |
5 | 22 | ||
23 | #define ___ KC_NO | ||
24 | |||
6 | #define LAYOUT( \ | 25 | #define LAYOUT( \ |
7 | k00, k01, k02, \ | 26 | k00, k01, k02, \ |
8 | k10, k11, k12, \ | 27 | k10, k11, k12, \ |
9 | k20, k21, k22, \ | 28 | k20, k21, k22, \ |
10 | k30, k31, k32 \ | 29 | k32 \ |
11 | ) \ | 30 | ) \ |
12 | { \ | 31 | { \ |
13 | { k00, k01, k02 }, \ | 32 | { k00, k01, k02 }, \ |
14 | { k10, k11, k12 }, \ | 33 | { k10, k11, k12 }, \ |
15 | { k20, k21, k22 }, \ | 34 | { k20, k21, k22 }, \ |
16 | { k30, k31, k32 } \ | 35 | { ___, ___, k32 } \ |
17 | } | 36 | } |
18 | |||
19 | #endif | ||
diff --git a/keyboards/m10a/readme.md b/keyboards/m10a/readme.md index 7123e6462..3918ad21b 100644 --- a/keyboards/m10a/readme.md +++ b/keyboards/m10a/readme.md | |||
@@ -1,13 +1,21 @@ | |||
1 | # Rama Works X Machine Industries M10-A Macropad | 1 | # Rama Works X Machine Industries M10-A Macropad |
2 | 2 | ||
3 | Firmware for custom macropad PCB | 3 |  |
4 | 4 | ||
5 | Keyboard Maintainer: QMK Community | 5 | A 10-key macro pad with support for single-color LED backlighting in a milled aluminum case. |
6 | Hardware Supported: Rama Works M10-A | 6 | |
7 | Hardware Availability: [Rama Works](https://rama.works/m10-a) | 7 | * Keyboard Maintainer: QMK Community |
8 | * Hardware Supported: Rama Works M10-A | ||
9 | * Hardware Availability: [Rama Works](https://rama.works/m10-a) | ||
8 | 10 | ||
9 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
10 | 12 | ||
11 | make m10a:default | 13 | make m10a:default |
12 | 14 | ||
13 | See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. | 15 | Flashing example for this keyboard: |
16 | |||
17 | make m10a:default:flash | ||
18 | |||
19 | To reset the board into bootloader mode, tap the Reset switch mounted on the top side of the PCB, beneath the 2u keycap. | ||
20 | |||
21 | 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/m10a/rules.mk b/keyboards/m10a/rules.mk index 71ef0ed64..0f8368e63 100644 --- a/keyboards/m10a/rules.mk +++ b/keyboards/m10a/rules.mk | |||
@@ -2,32 +2,24 @@ | |||
2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
3 | 3 | ||
4 | # Bootloader selection | 4 | # Bootloader selection |
5 | # Teensy halfkay | ||
6 | # Pro Micro caterina | ||
7 | # Atmel DFU atmel-dfu | ||
8 | # LUFA DFU lufa-dfu | ||
9 | # QMK DFU qmk-dfu | ||
10 | # ATmega32A bootloadHID | ||
11 | # ATmega328P USBasp | ||
12 | BOOTLOADER = atmel-dfu | 5 | BOOTLOADER = atmel-dfu |
13 | 6 | ||
14 | # Build Options | 7 | # Build Options |
15 | # change to "no" to disable the options, or define them in the Makefile in | 8 | # change yes to no to disable |
16 | # the appropriate keymap folder that will get included automatically | ||
17 | # | 9 | # |
18 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | 10 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration |
19 | MOUSEKEY_ENABLE = yes # Mouse keys | 11 | MOUSEKEY_ENABLE = yes # Mouse keys |
20 | EXTRAKEY_ENABLE = yes # Audio control and System control | 12 | EXTRAKEY_ENABLE = yes # Audio control and System control |
21 | CONSOLE_ENABLE = no # Console for debug | 13 | CONSOLE_ENABLE = no # Console for debug |
22 | COMMAND_ENABLE = no # Commands for debug and configuration | 14 | COMMAND_ENABLE = no # Commands for debug and configuration |
23 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
16 | SLEEP_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 | ||
18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
24 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality |
25 | MIDI_ENABLE = no # MIDI controls | 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
26 | AUDIO_ENABLE = no # Audio output on port C6 | 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth |
27 | UNICODE_ENABLE = yes # Unicode | 22 | AUDIO_ENABLE = no # Audio output |
28 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
29 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
30 | API_SYSEX_ENABLE = yes | ||
31 | 23 | ||
32 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 24 | UNICODE_ENABLE = yes # Unicode |
33 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 25 | API_SYSEX_ENABLE = yes |