diff options
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/config.h | 5 | ||||
-rw-r--r-- | keyboards/planck/keymaps/aviator/config.h | 7 | ||||
-rw-r--r-- | keyboards/planck/keymaps/cbbrowne/config.h | 8 | ||||
-rw-r--r-- | keyboards/planck/keymaps/khord/config.h | 7 | ||||
-rw-r--r-- | keyboards/planck/keymaps/pvc/config.h | 8 | ||||
-rwxr-xr-x | keyboards/planck/keymaps/zrichard/config.h | 10 | ||||
-rw-r--r-- | keyboards/planck/light/config.h | 6 | ||||
-rw-r--r-- | keyboards/planck/light/light.h | 43 | ||||
-rw-r--r-- | keyboards/planck/planck.h | 23 | ||||
-rw-r--r-- | keyboards/planck/rev6/config.h | 5 | ||||
-rw-r--r-- | keyboards/planck/rev6/rev6.h | 137 |
11 files changed, 109 insertions, 150 deletions
diff --git a/keyboards/planck/config.h b/keyboards/planck/config.h index 71111eca2..a86359327 100644 --- a/keyboards/planck/config.h +++ b/keyboards/planck/config.h | |||
@@ -15,8 +15,7 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #ifndef CONFIG_H | 18 | #pragma once |
19 | #define CONFIG_H | ||
20 | 19 | ||
21 | #include "config_common.h" | 20 | #include "config_common.h" |
22 | 21 | ||
@@ -78,5 +77,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
78 | //#define NO_ACTION_ONESHOT | 77 | //#define NO_ACTION_ONESHOT |
79 | //#define NO_ACTION_MACRO | 78 | //#define NO_ACTION_MACRO |
80 | //#define NO_ACTION_FUNCTION | 79 | //#define NO_ACTION_FUNCTION |
81 | |||
82 | #endif | ||
diff --git a/keyboards/planck/keymaps/aviator/config.h b/keyboards/planck/keymaps/aviator/config.h index b2b310450..c0060de14 100644 --- a/keyboards/planck/keymaps/aviator/config.h +++ b/keyboards/planck/keymaps/aviator/config.h | |||
@@ -1,9 +1,8 @@ | |||
1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
2 | #define CONFIG_USER_H | ||
3 | 2 | ||
4 | #include "config_common.h" | 3 | #include "config_common.h" |
5 | 4 | ||
6 | #ifndef LIGHT_CONFIG_H | 5 | #ifndef KEYBOARD_planck_light |
7 | #define BACKLIGHT_BREATHING | 6 | #define BACKLIGHT_BREATHING |
8 | #define BREATHING_PERIOD 3 | 7 | #define BREATHING_PERIOD 3 |
9 | #endif | 8 | #endif |
@@ -40,5 +39,3 @@ | |||
40 | 39 | ||
41 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 40 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
42 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | 41 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 |
43 | |||
44 | #endif | ||
diff --git a/keyboards/planck/keymaps/cbbrowne/config.h b/keyboards/planck/keymaps/cbbrowne/config.h index 4ec7d081b..87953c339 100644 --- a/keyboards/planck/keymaps/cbbrowne/config.h +++ b/keyboards/planck/keymaps/cbbrowne/config.h | |||
@@ -14,8 +14,7 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef CONFIG_USER_H | 17 | #pragma once |
18 | #define CONFIG_USER_H | ||
19 | 18 | ||
20 | #ifndef NO_DEBUG | 19 | #ifndef NO_DEBUG |
21 | #define NO_DEBUG | 20 | #define NO_DEBUG |
@@ -28,7 +27,7 @@ | |||
28 | 27 | ||
29 | #define LEADER_TIMEOUT 300 | 28 | #define LEADER_TIMEOUT 300 |
30 | 29 | ||
31 | #ifndef LIGHT_CONFIG_H | 30 | #ifndef KEYBOARD_planck_light |
32 | #define BACKLIGHT_BREATHING | 31 | #define BACKLIGHT_BREATHING |
33 | #endif | 32 | #endif |
34 | 33 | ||
@@ -42,6 +41,3 @@ | |||
42 | * borrowed from basic keymap */ | 41 | * borrowed from basic keymap */ |
43 | 42 | ||
44 | #define _____ KC_NO | 43 | #define _____ KC_NO |
45 | |||
46 | #endif | ||
47 | |||
diff --git a/keyboards/planck/keymaps/khord/config.h b/keyboards/planck/keymaps/khord/config.h index 055d741c6..819cef60c 100644 --- a/keyboards/planck/keymaps/khord/config.h +++ b/keyboards/planck/keymaps/khord/config.h | |||
@@ -1,5 +1,4 @@ | |||
1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
2 | #define CONFIG_USER_H | ||
3 | 2 | ||
4 | #include "config_common.h" | 3 | #include "config_common.h" |
5 | 4 | ||
@@ -12,7 +11,7 @@ | |||
12 | } | 11 | } |
13 | #endif | 12 | #endif |
14 | 13 | ||
15 | #ifndef LIGHT_CONFIG_H | 14 | #ifndef KEYBOARD_planck_light |
16 | #define BACKLIGHT_BREATHING | 15 | #define BACKLIGHT_BREATHING |
17 | #endif | 16 | #endif |
18 | #define TAPPING_TERM 150 | 17 | #define TAPPING_TERM 150 |
@@ -39,5 +38,3 @@ | |||
39 | 38 | ||
40 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 39 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
41 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | 40 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 |
42 | |||
43 | #endif | ||
diff --git a/keyboards/planck/keymaps/pvc/config.h b/keyboards/planck/keymaps/pvc/config.h index fc7211fe6..0fb08540d 100644 --- a/keyboards/planck/keymaps/pvc/config.h +++ b/keyboards/planck/keymaps/pvc/config.h | |||
@@ -15,8 +15,7 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #ifndef CONFIG_USER_H | 18 | #pragma once |
19 | #define CONFIG_USER_H | ||
20 | 19 | ||
21 | #include "config_common.h" | 20 | #include "config_common.h" |
22 | 21 | ||
@@ -25,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
25 | #define MATRIX_COLS 12 | 24 | #define MATRIX_COLS 12 |
26 | 25 | ||
27 | /* Planck PCB default pin-out */ | 26 | /* Planck PCB default pin-out */ |
28 | #ifndef LIGHT_CONFIG_H | 27 | #ifndef KEYBOARD_planck_light |
29 | #define MATRIX_ROW_PINS { D0, D5, B5, B6 } | 28 | #define MATRIX_ROW_PINS { D0, D5, B5, B6 } |
30 | #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } | 29 | #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } |
31 | #define UNUSED_PINS | 30 | #define UNUSED_PINS |
@@ -68,7 +67,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
68 | /* Only print user print statements */ | 67 | /* Only print user print statements */ |
69 | #define USER_PRINT | 68 | #define USER_PRINT |
70 | 69 | ||
71 | #ifndef LIGHT_CONFIG_H | 70 | #ifndef KEYBOARD_planck_light |
72 | #define BACKLIGHT_BREATHING | 71 | #define BACKLIGHT_BREATHING |
73 | #endif | 72 | #endif |
74 | 73 | ||
@@ -78,4 +77,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
78 | //#define NO_ACTION_ONESHOT | 77 | //#define NO_ACTION_ONESHOT |
79 | //#define NO_ACTION_MACRO | 78 | //#define NO_ACTION_MACRO |
80 | //#define NO_ACTION_FUNCTION | 79 | //#define NO_ACTION_FUNCTION |
81 | #endif | ||
diff --git a/keyboards/planck/keymaps/zrichard/config.h b/keyboards/planck/keymaps/zrichard/config.h index fb7ebb988..d12c19065 100755 --- a/keyboards/planck/keymaps/zrichard/config.h +++ b/keyboards/planck/keymaps/zrichard/config.h | |||
@@ -15,18 +15,16 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #ifndef CONFIG_USER_H | 18 | #pragma once |
19 | #define CONFIG_USER_H | ||
20 | 19 | ||
21 | #include "config_common.h" | 20 | #include "config_common.h" |
22 | 21 | ||
23 | |||
24 | /* key matrix size */ | 22 | /* key matrix size */ |
25 | #define MATRIX_ROWS 4 | 23 | #define MATRIX_ROWS 4 |
26 | #define MATRIX_COLS 12 | 24 | #define MATRIX_COLS 12 |
27 | 25 | ||
28 | /* Planck PCB default pin-out */ | 26 | /* Planck PCB default pin-out */ |
29 | #ifndef LIGHT_CONFIG_H | 27 | #ifndef KEYBOARD_planck_light |
30 | #define MATRIX_ROW_PINS { D0, D5, B5, B6 } | 28 | #define MATRIX_ROW_PINS { D0, D5, B5, B6 } |
31 | #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } | 29 | #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } |
32 | #define UNUSED_PINS | 30 | #define UNUSED_PINS |
@@ -63,7 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
63 | /* Only print user print statements */ | 61 | /* Only print user print statements */ |
64 | #define USER_PRINT | 62 | #define USER_PRINT |
65 | 63 | ||
66 | #ifndef LIGHT_CONFIG_H | 64 | #ifndef KEYBOARD_planck_light |
67 | #define BACKLIGHT_BREATHING | 65 | #define BACKLIGHT_BREATHING |
68 | #endif | 66 | #endif |
69 | 67 | ||
@@ -73,5 +71,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
73 | //#define NO_ACTION_ONESHOT | 71 | //#define NO_ACTION_ONESHOT |
74 | //#define NO_ACTION_MACRO | 72 | //#define NO_ACTION_MACRO |
75 | //#define NO_ACTION_FUNCTION | 73 | //#define NO_ACTION_FUNCTION |
76 | |||
77 | #endif | ||
diff --git a/keyboards/planck/light/config.h b/keyboards/planck/light/config.h index ccf9f0984..8c55c3432 100644 --- a/keyboards/planck/light/config.h +++ b/keyboards/planck/light/config.h | |||
@@ -1,5 +1,4 @@ | |||
1 | #ifndef LIGHT_CONFIG_H | 1 | #pragma once |
2 | #define LIGHT_CONFIG_H | ||
3 | 2 | ||
4 | #include "config_common.h" | 3 | #include "config_common.h" |
5 | 4 | ||
@@ -39,6 +38,3 @@ | |||
39 | #define DRIVER_1_LED_TOTAL 25 | 38 | #define DRIVER_1_LED_TOTAL 25 |
40 | #define DRIVER_2_LED_TOTAL 24 | 39 | #define DRIVER_2_LED_TOTAL 24 |
41 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) | 40 | #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) |
42 | |||
43 | |||
44 | #endif | ||
diff --git a/keyboards/planck/light/light.h b/keyboards/planck/light/light.h index f014c5017..623ffa707 100644 --- a/keyboards/planck/light/light.h +++ b/keyboards/planck/light/light.h | |||
@@ -14,40 +14,35 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef LIGHT_H | 17 | #pragma once |
18 | #define LIGHT_H | ||
19 | 18 | ||
20 | #include "planck.h" | 19 | #include "planck.h" |
21 | #include "rgb_matrix.h" | 20 | #include "rgb_matrix.h" |
22 | 21 | ||
23 | #define LAYOUT_planck_1x2uC( \ | 22 | #define LAYOUT_planck_1x2uC( \ |
24 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 23 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
25 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 24 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
26 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 25 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
27 | k30, k31, k32, k33, k34, k35, k37, k38, k39, k3a, k3b \ | 26 | k30, k31, k32, k33, k34, k35, k37, k38, k39, k3A, k3B \ |
28 | ) \ | 27 | ) { \ |
29 | { \ | 28 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
30 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \ | 29 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
31 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \ | 30 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
32 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \ | 31 | { k30, k31, k32, k33, k34, k35, k35, k37, k38, k39, k3A, k3B } \ |
33 | { k30, k31, k32, k33, k34, k35, k35, k37, k38, k39, k3a, k3b } \ | ||
34 | } | 32 | } |
35 | 33 | ||
36 | #define LAYOUT_ortho_4x12( \ | 34 | #define LAYOUT_ortho_4x12( \ |
37 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 35 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
38 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 36 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
39 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 37 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
40 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b \ | 38 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B \ |
41 | ) \ | 39 | ) { \ |
42 | { \ | 40 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
43 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \ | 41 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
44 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \ | 42 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
45 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \ | 43 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B } \ |
46 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b } \ | ||
47 | } | 44 | } |
48 | 45 | ||
49 | #define LAYOUT LAYOUT_ortho_4x12 | 46 | #define LAYOUT LAYOUT_ortho_4x12 |
50 | #define LAYOUT_planck_mit LAYOUT_planck_1x2uC | 47 | #define LAYOUT_planck_mit LAYOUT_planck_1x2uC |
51 | #define LAYOUT_planck_grid LAYOUT_ortho_4x12 | 48 | #define LAYOUT_planck_grid LAYOUT_ortho_4x12 |
52 | |||
53 | #endif | ||
diff --git a/keyboards/planck/planck.h b/keyboards/planck/planck.h index 31e3ec915..be33bf253 100644 --- a/keyboards/planck/planck.h +++ b/keyboards/planck/planck.h | |||
@@ -1,26 +1,23 @@ | |||
1 | #ifndef PLANCK_H | 1 | #pragma once |
2 | #define PLANCK_H | ||
3 | 2 | ||
4 | #include "quantum.h" | 3 | #include "quantum.h" |
5 | 4 | ||
6 | #if defined(KEYBOARD_planck_ez) | 5 | #if defined(KEYBOARD_planck_ez) |
7 | #include "ez.h" | 6 | # include "ez.h" |
8 | #elif defined(KEYBOARD_planck_light) | 7 | #elif defined(KEYBOARD_planck_light) |
9 | #include "light.h" | 8 | # include "light.h" |
10 | #elif defined(KEYBOARD_planck_thk) | 9 | #elif defined(KEYBOARD_planck_thk) |
11 | #include "thk.h" | 10 | # include "thk.h" |
12 | #elif defined(KEYBOARD_planck_rev1) | 11 | #elif defined(KEYBOARD_planck_rev1) |
13 | #include "rev1.h" | 12 | # include "rev1.h" |
14 | #elif defined(KEYBOARD_planck_rev2) | 13 | #elif defined(KEYBOARD_planck_rev2) |
15 | #include "rev2.h" | 14 | # include "rev2.h" |
16 | #elif defined(KEYBOARD_planck_rev3) | 15 | #elif defined(KEYBOARD_planck_rev3) |
17 | #include "rev3.h" | 16 | # include "rev3.h" |
18 | #elif defined(KEYBOARD_planck_rev4) | 17 | #elif defined(KEYBOARD_planck_rev4) |
19 | #include "rev4.h" | 18 | # include "rev4.h" |
20 | #elif defined(KEYBOARD_planck_rev5) | 19 | #elif defined(KEYBOARD_planck_rev5) |
21 | #include "rev5.h" | 20 | # include "rev5.h" |
22 | #elif defined(KEYBOARD_planck_rev6) | 21 | #elif defined(KEYBOARD_planck_rev6) |
23 | #include "rev6.h" | 22 | # include "rev6.h" |
24 | #endif // Planck revisions | ||
25 | |||
26 | #endif | 23 | #endif |
diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h index bae075de1..aa70d46a8 100644 --- a/keyboards/planck/rev6/config.h +++ b/keyboards/planck/rev6/config.h | |||
@@ -15,8 +15,7 @@ | |||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #ifndef REV6_CONFIG_H | 18 | #pragma once |
19 | #define REV6_CONFIG_H | ||
20 | 19 | ||
21 | /* USB Device descriptor parameter */ | 20 | /* USB Device descriptor parameter */ |
22 | #define PRODUCT_ID 0xA4F9 | 21 | #define PRODUCT_ID 0xA4F9 |
@@ -121,5 +120,3 @@ | |||
121 | #define WS2812_DMA_CHANNEL 2 | 120 | #define WS2812_DMA_CHANNEL 2 |
122 | 121 | ||
123 | #define RGB_DISABLE_WHEN_USB_SUSPENDED | 122 | #define RGB_DISABLE_WHEN_USB_SUSPENDED |
124 | |||
125 | #endif | ||
diff --git a/keyboards/planck/rev6/rev6.h b/keyboards/planck/rev6/rev6.h index 9fd51e70f..9bf3603ed 100644 --- a/keyboards/planck/rev6/rev6.h +++ b/keyboards/planck/rev6/rev6.h | |||
@@ -13,99 +13,92 @@ | |||
13 | * You should have received a copy of the GNU General Public License | 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/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #ifndef REV6_H | 16 | #pragma once |
17 | #define REV6_H | ||
18 | 17 | ||
19 | #include "planck.h" | 18 | #include "planck.h" |
20 | 19 | ||
20 | #define XXX KC_NO | ||
21 | |||
21 | #define LAYOUT_planck_1x2uC( \ | 22 | #define LAYOUT_planck_1x2uC( \ |
22 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 23 | k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \ |
23 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 24 | k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \ |
24 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 25 | k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \ |
25 | k30, k31, k32, k33, k34, k36, k37, k38, k39, k3a, k3b \ | 26 | k30, k31, k32, k73, k74, k70, k71, k72, k33, k34, k35 \ |
26 | ) \ | 27 | ) { \ |
27 | { \ | 28 | { k00, k01, k02, k03, k04, k05 }, \ |
28 | { k00, k01, k02, k03, k04, k05 }, \ | 29 | { k10, k11, k12, k13, k14, k15 }, \ |
29 | { k10, k11, k12, k13, k14, k15 }, \ | 30 | { k20, k21, k22, k23, k24, k25 }, \ |
30 | { k20, k21, k22, k23, k24, k25 }, \ | 31 | { k30, k31, k32, k33, k34, k35 }, \ |
31 | { k30, k31, k32, k39, k3a, k3b }, \ | 32 | { k40, k41, k42, k43, k44, k45 }, \ |
32 | { k06, k07, k08, k09, k0a, k0b }, \ | 33 | { k50, k51, k52, k53, k54, k55 }, \ |
33 | { k16, k17, k18, k19, k1a, k1b }, \ | 34 | { k60, k61, k62, k63, k64, k65 }, \ |
34 | { k26, k27, k28, k29, k2a, k2b }, \ | 35 | { k70, k71, k72, k73, k74, XXX } \ |
35 | { k36, k37, k38, k33, k34, KC_NO } \ | ||
36 | } | 36 | } |
37 | 37 | ||
38 | #define LAYOUT_planck_1x2uR( \ | 38 | #define LAYOUT_planck_1x2uR( \ |
39 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 39 | k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \ |
40 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 40 | k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \ |
41 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 41 | k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \ |
42 | k30, k31, k32, k33, k34, k35, k37, k38, k39, k3a, k3b \ | 42 | k30, k31, k32, k73, k74, k75, k71, k72, k33, k34, k35 \ |
43 | ) \ | 43 | ) { \ |
44 | { \ | 44 | { k00, k01, k02, k03, k04, k05 }, \ |
45 | { k00, k01, k02, k03, k04, k05 }, \ | 45 | { k10, k11, k12, k13, k14, k15 }, \ |
46 | { k10, k11, k12, k13, k14, k15 }, \ | 46 | { k20, k21, k22, k23, k24, k25 }, \ |
47 | { k20, k21, k22, k23, k24, k25 }, \ | 47 | { k30, k31, k32, k33, k34, k35 }, \ |
48 | { k30, k31, k32, k39, k3a, k3b }, \ | 48 | { k40, k41, k42, k43, k44, k45 }, \ |
49 | { k06, k07, k08, k09, k0a, k0b }, \ | 49 | { k50, k51, k52, k53, k54, k55 }, \ |
50 | { k16, k17, k18, k19, k1a, k1b }, \ | 50 | { k60, k61, k62, k63, k64, k65 }, \ |
51 | { k26, k27, k28, k29, k2a, k2b }, \ | 51 | { XXX, k71, k72, k73, k74, k75 } \ |
52 | { KC_NO, k37, k38, k33, k34, k35 } \ | ||
53 | } | 52 | } |
54 | 53 | ||
55 | #define LAYOUT_planck_1x2uL( \ | 54 | #define LAYOUT_planck_1x2uL( \ |
56 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 55 | k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \ |
57 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 56 | k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \ |
58 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 57 | k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \ |
59 | k30, k31, k32, k33, k35, k36, k37, k38, k39, k3a, k3b \ | 58 | k30, k31, k32, k73, k75, k70, k71, k72, k33, k34, k35 \ |
60 | ) \ | 59 | ) { \ |
61 | { \ | 60 | { k00, k01, k02, k03, k04, k05 }, \ |
62 | { k00, k01, k02, k03, k04, k05 }, \ | 61 | { k10, k11, k12, k13, k14, k15 }, \ |
63 | { k10, k11, k12, k13, k14, k15 }, \ | 62 | { k20, k21, k22, k23, k24, k25 }, \ |
64 | { k20, k21, k22, k23, k24, k25 }, \ | 63 | { k30, k31, k32, k33, k34, k35 }, \ |
65 | { k30, k31, k32, k39, k3a, k3b }, \ | 64 | { k40, k41, k42, k43, k44, k45 }, \ |
66 | { k06, k07, k08, k09, k0a, k0b }, \ | 65 | { k50, k51, k52, k53, k54, k55 }, \ |
67 | { k16, k17, k18, k19, k1a, k1b }, \ | 66 | { k60, k61, k62, k63, k64, k65 }, \ |
68 | { k26, k27, k28, k29, k2a, k2b }, \ | 67 | { k70, k71, k72, k73, XXX, k75 } \ |
69 | { k36, k37, k38, k33, KC_NO, k35 } \ | ||
70 | } | 68 | } |
71 | 69 | ||
72 | #define LAYOUT_planck_2x2u( \ | 70 | #define LAYOUT_planck_2x2u( \ |
73 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 71 | k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \ |
74 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 72 | k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \ |
75 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 73 | k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \ |
76 | k30, k31, k32, k33, k35, k37, k38, k39, k3a, k3b \ | 74 | k30, k31, k32, k73, k75, k71, k72, k33, k34, k35 \ |
77 | ) \ | 75 | ) { \ |
78 | { \ | 76 | { k00, k01, k02, k03, k04, k05 }, \ |
79 | { k00, k01, k02, k03, k04, k05 }, \ | 77 | { k10, k11, k12, k13, k14, k15 }, \ |
80 | { k10, k11, k12, k13, k14, k15 }, \ | 78 | { k20, k21, k22, k23, k24, k25 }, \ |
81 | { k20, k21, k22, k23, k24, k25 }, \ | 79 | { k30, k31, k32, k33, k34, k35 }, \ |
82 | { k30, k31, k32, k39, k3a, k3b }, \ | 80 | { k40, k41, k42, k43, k44, k45 }, \ |
83 | { k06, k07, k08, k09, k0a, k0b }, \ | 81 | { k50, k51, k52, k53, k54, k55 }, \ |
84 | { k16, k17, k18, k19, k1a, k1b }, \ | 82 | { k60, k61, k62, k63, k64, k65 }, \ |
85 | { k26, k27, k28, k29, k2a, k2b }, \ | 83 | { XXX, k71, k72, k73, XXX, k75 } \ |
86 | { KC_NO, k37, k38, k33, KC_NO, k35 } \ | ||
87 | } | 84 | } |
88 | 85 | ||
89 | #define LAYOUT_ortho_4x12( \ | 86 | #define LAYOUT_ortho_4x12( \ |
90 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ | 87 | k00, k01, k02, k03, k04, k05, k40, k41, k42, k43, k44, k45, \ |
91 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ | 88 | k10, k11, k12, k13, k14, k15, k50, k51, k52, k53, k54, k55, \ |
92 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ | 89 | k20, k21, k22, k23, k24, k25, k60, k61, k62, k63, k64, k65, \ |
93 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b \ | 90 | k30, k31, k32, k73, k74, k75, k70, k71, k72, k33, k34, k35 \ |
94 | ) \ | 91 | ) { \ |
95 | { \ | ||
96 | { k00, k01, k02, k03, k04, k05 }, \ | 92 | { k00, k01, k02, k03, k04, k05 }, \ |
97 | { k10, k11, k12, k13, k14, k15 }, \ | 93 | { k10, k11, k12, k13, k14, k15 }, \ |
98 | { k20, k21, k22, k23, k24, k25 }, \ | 94 | { k20, k21, k22, k23, k24, k25 }, \ |
99 | { k30, k31, k32, k39, k3a, k3b }, \ | 95 | { k30, k31, k32, k33, k34, k35 }, \ |
100 | { k06, k07, k08, k09, k0a, k0b }, \ | 96 | { k40, k41, k42, k43, k44, k45 }, \ |
101 | { k16, k17, k18, k19, k1a, k1b }, \ | 97 | { k50, k51, k52, k53, k54, k55 }, \ |
102 | { k26, k27, k28, k29, k2a, k2b }, \ | 98 | { k60, k61, k62, k63, k64, k65 }, \ |
103 | { k36, k37, k38, k33, k34, k35 } \ | 99 | { k70, k71, k72, k73, k74, k75 } \ |
104 | } | 100 | } |
105 | 101 | ||
106 | |||
107 | #define LAYOUT LAYOUT_ortho_4x12 | 102 | #define LAYOUT LAYOUT_ortho_4x12 |
108 | #define LAYOUT_planck_mit LAYOUT_planck_1x2uC | 103 | #define LAYOUT_planck_mit LAYOUT_planck_1x2uC |
109 | #define LAYOUT_planck_grid LAYOUT_ortho_4x12 | 104 | #define LAYOUT_planck_grid LAYOUT_ortho_4x12 |
110 | |||
111 | #endif | ||