diff options
Diffstat (limited to 'keyboards/ai03/polaris/keymaps')
-rw-r--r-- | keyboards/ai03/polaris/keymaps/default/keymap.c | 39 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/default/readme.md | 3 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/default_ansi_tsangan/keymap.c | 38 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/default_ansi_tsangan/readme.md | 3 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/mekberg/config.h | 22 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/mekberg/keymap.c | 97 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/mekberg/readme.md | 14 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/mekberg/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/testing/keymap.c | 39 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/testing/readme.md | 16 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/via/keymap.c | 55 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/via/readme.md | 3 | ||||
-rw-r--r-- | keyboards/ai03/polaris/keymaps/via/rules.mk | 1 |
13 files changed, 332 insertions, 0 deletions
diff --git a/keyboards/ai03/polaris/keymaps/default/keymap.c b/keyboards/ai03/polaris/keymaps/default/keymap.c new file mode 100644 index 000000000..65902ae58 --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/default/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2019 Ryota Goto | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN | ||
21 | }; | ||
22 | |||
23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
24 | [_BASE] = LAYOUT_all( /* Base */ | ||
25 | 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, | ||
26 | 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, | ||
27 | MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
28 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_DEL, | ||
29 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
30 | ), | ||
31 | [_FN] = LAYOUT_all( /* FN */ | ||
32 | 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_DEL, KC_BSPC, | ||
33 | _______, _______, KC_PGUP, _______, _______, _______, _______, _______, KC_UP, _______, KC_MPRV, KC_MPLY, KC_MNXT, BL_STEP, | ||
34 | _______, KC_HOME, KC_PGDN, KC_END, _______, KC_VOLD, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, | ||
35 | _______, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_PSCR, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
37 | ) | ||
38 | }; | ||
39 | |||
diff --git a/keyboards/ai03/polaris/keymaps/default/readme.md b/keyboards/ai03/polaris/keymaps/default/readme.md new file mode 100644 index 000000000..ec7f3154a --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/default/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # The default keymap for Polaris | ||
2 | |||
3 | Fits just about everything on two layers. \ No newline at end of file | ||
diff --git a/keyboards/ai03/polaris/keymaps/default_ansi_tsangan/keymap.c b/keyboards/ai03/polaris/keymaps/default_ansi_tsangan/keymap.c new file mode 100644 index 000000000..410f9b379 --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/default_ansi_tsangan/keymap.c | |||
@@ -0,0 +1,38 @@ | |||
1 | /* Copyright 2019 Ryota Goto | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN | ||
21 | }; | ||
22 | |||
23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
24 | [_BASE] = LAYOUT_60_tsangan_hhkb( /* Base */ | ||
25 | 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, | ||
26 | 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, | ||
27 | MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
28 | 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_DEL, | ||
29 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL | ||
30 | ), | ||
31 | [_FN] = LAYOUT_60_tsangan_hhkb( /* FN */ | ||
32 | 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_DEL, KC_BSPC, | ||
33 | _______, _______, KC_PGUP, _______, _______, _______, _______, _______, KC_UP, _______, KC_MPRV, KC_MPLY, KC_MNXT, BL_STEP, | ||
34 | _______, KC_HOME, KC_PGDN, KC_END, _______, KC_VOLD, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, | ||
35 | _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_PSCR, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______ | ||
37 | ) | ||
38 | }; | ||
diff --git a/keyboards/ai03/polaris/keymaps/default_ansi_tsangan/readme.md b/keyboards/ai03/polaris/keymaps/default_ansi_tsangan/readme.md new file mode 100644 index 000000000..a6a85dd52 --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/default_ansi_tsangan/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # The default_ansi_tsangan keymap for Polaris | ||
2 | |||
3 | Simplified down to the basic ANSI Tsangan layouts for ease of configuration. \ No newline at end of file | ||
diff --git a/keyboards/ai03/polaris/keymaps/mekberg/config.h b/keyboards/ai03/polaris/keymaps/mekberg/config.h new file mode 100644 index 000000000..ef8caf870 --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/mekberg/config.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | Copyright 2019 Ryota Goto | ||
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 | |||
18 | #pragma once | ||
19 | |||
20 | // Define some configuration for modtap behavior | ||
21 | // #define TAPPING_TERM 150 | ||
22 | #define PERMISSIVE_HOLD | ||
diff --git a/keyboards/ai03/polaris/keymaps/mekberg/keymap.c b/keyboards/ai03/polaris/keymaps/mekberg/keymap.c new file mode 100644 index 000000000..fce03adfb --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/mekberg/keymap.c | |||
@@ -0,0 +1,97 @@ | |||
1 | /* Copyright 2019 Ryota Goto | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _NAV, | ||
21 | _FN | ||
22 | }; | ||
23 | |||
24 | #define MY_LOCK C(LCMD(KC_L)) // Mac: Custom lock hotkey in BTT (when Alt/Command have been swapped in macOS) | ||
25 | |||
26 | /* | ||
27 | KBD6x ANSI physical layout | ||
28 | 1u == 8chars | ||
29 | ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | ||
30 | | | | | | | | | | | | | | | | | | ||
31 | |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
32 | | 1,5u | | | | | | | | | | | | | 1,5u | | ||
33 | |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
34 | | 1,75u | | | | | | | | | | | | 1,25u | | ||
35 | |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
36 | | 2,25u | | | | | | | | | | | 1,75u | | | ||
37 | └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
38 | | | 1,25u | | 1,25u | | | ||
39 | └────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
40 | */ | ||
41 | |||
42 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
43 | [_BASE] = LAYOUT_60_tsangan_hhkb( | ||
44 | // ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | ||
45 | // | | | | | | | | | | | | | | | | | ||
46 | KC_GESC, 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_NUBS, KC_RBRC, | ||
47 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
48 | // | 1,5u | | | | | | | | | | | | | 1,5u | | ||
49 | LT(_NAV,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_NUHS, KC_BSPC, | ||
50 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
51 | // | 1,75u | | | | | | | | | | | | 1,25u | | ||
52 | 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, | ||
53 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
54 | // | 1,25u | | | | | | | | | | | 1,75u | | | ||
55 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(_FN), | ||
56 | // └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
57 | // | | 1,25u | | 1,25u | | | ||
58 | XXXXXXX, KC_LGUI, KC_LALT, KC_SPACE, KC_RALT, KC_RGUI, XXXXXXX | ||
59 | // └────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
60 | ), | ||
61 | [_NAV] = LAYOUT_60_tsangan_hhkb( | ||
62 | // ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | ||
63 | // | | | | | | | | | | | | | | | | | ||
64 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, KC_BSPC, | ||
65 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
66 | // | 1,5u | | | | | | | | | | | | | 1,5u | | ||
67 | _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, KC_UP, KC_PGUP, KC_HOME, _______, _______, KC_DEL, | ||
68 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
69 | // | 1,75u | | | | | | | | | | | | 1,25u | | ||
70 | _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, | ||
71 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
72 | // | 1,25u | | | | | | | | | | | 1,75u | | | ||
73 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
74 | // └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
75 | // | | 1,25u | | 1,25u | | | ||
76 | XXXXXXX, _______, _______, _______, _______, _______, XXXXXXX | ||
77 | // └────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
78 | ), | ||
79 | [_FN] = LAYOUT_60_tsangan_hhkb( | ||
80 | // ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | ||
81 | // | | | | | | | | | | | | | | | | | ||
82 | 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, _______, _______, | ||
83 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
84 | // | 1,5u | | | | | | | | | | | | | 1,5u | | ||
85 | _______, _______, _______, _______, RGB_TOG, RGB_HUI, RGB_SAI, RGB_VAI, _______, _______, _______, _______, _______, _______, | ||
86 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
87 | // | 1,75u | | | | | | | | | | | | 1,25u | | ||
88 | KC_RCTL, KC_VOLD, KC_VOLU, KC_MUTE, RGB_MOD, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, MY_LOCK, | ||
89 | // |─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────| | ||
90 | // | 1,25u | | | | | | | | | | | 1,75u | | | ||
91 | _______, BL_TOGG, BL_INC, BL_DEC, BL_STEP, _______, _______, _______, KC_MRWD, KC_MFFD, _______, _______, _______, | ||
92 | // └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
93 | // | | 1,25u | | 1,25u | | | ||
94 | XXXXXXX, _______, _______, KC_MPLY, _______, _______, XXXXXXX | ||
95 | // └────────────────────────────────────────────────────────────────────────────────────────────────────┘ | ||
96 | ), | ||
97 | }; | ||
diff --git a/keyboards/ai03/polaris/keymaps/mekberg/readme.md b/keyboards/ai03/polaris/keymaps/mekberg/readme.md new file mode 100644 index 000000000..b9ae9642f --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/mekberg/readme.md | |||
@@ -0,0 +1,14 @@ | |||
1 | # General Information | ||
2 | |||
3 | This is more or less a HHKB base layout, but with completely different Fn layers. I don't use most of the HHKB secondary key positions because, honestly, they make no sense to me at all. | ||
4 | |||
5 | Fn key layer is focused mostly on keyboard firmware features (like RGB) as well as some of the necessary alternate functions. It also hold media controls, F-keys and Reset. | ||
6 | |||
7 | Left Tab-Hold layer is focused on nav cluster functionality, and turns Backspace into Delete (and moves Backspace up into the top right 1u position). | ||
8 | |||
9 | |||
10 | # Build instructions | ||
11 | |||
12 | To simply build the firmware file: `make clean && make ai03/polaris:mekberg` | ||
13 | |||
14 | To build and immediately flash: `make clean && make ai03/polaris:mekberg:flash` | ||
diff --git a/keyboards/ai03/polaris/keymaps/mekberg/rules.mk b/keyboards/ai03/polaris/keymaps/mekberg/rules.mk new file mode 100644 index 000000000..e47bb9e6d --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/mekberg/rules.mk | |||
@@ -0,0 +1,2 @@ | |||
1 | BACKLIGHT_ENABLE = no # Disable keyboard backlight functionality | ||
2 | RGBLIGHT_ENABLE = no # Disable keyboard RGB underglow | ||
diff --git a/keyboards/ai03/polaris/keymaps/testing/keymap.c b/keyboards/ai03/polaris/keymaps/testing/keymap.c new file mode 100644 index 000000000..c81922510 --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/testing/keymap.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2019 Ryota Goto | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN | ||
21 | }; | ||
22 | |||
23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
24 | [_BASE] = LAYOUT_all( /* Base */ | ||
25 | BL_TOGG, BL_STEP, KC_NO, KC_NO, KC_NO, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, KC_BSPC, KC_DEL, | ||
26 | 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, | ||
27 | MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
28 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_DEL, | ||
29 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL | ||
30 | ), | ||
31 | [_FN] = LAYOUT_all( /* FN */ | ||
32 | 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_DEL, KC_BSPC, | ||
33 | _______, _______, KC_PGUP, _______, _______, _______, _______, _______, KC_UP, _______, KC_MPRV, KC_MPLY, KC_MNXT, BL_STEP, | ||
34 | _______, KC_HOME, KC_PGDN, KC_END, _______, KC_VOLD, KC_VOLU, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, | ||
35 | _______, _______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, KC_PSCR, _______, | ||
36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
37 | ) | ||
38 | }; | ||
39 | |||
diff --git a/keyboards/ai03/polaris/keymaps/testing/readme.md b/keyboards/ai03/polaris/keymaps/testing/readme.md new file mode 100644 index 000000000..ceefe30e8 --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/testing/readme.md | |||
@@ -0,0 +1,16 @@ | |||
1 | # The PCB testing keymap for Polaris | ||
2 | |||
3 | LED control keys are placed on the numrow. | ||
4 | Mainly for factory testing use only. | ||
5 | |||
6 | ESC = Backlight Toggle | ||
7 | 1 = Backlight Step | ||
8 | |||
9 | 5 = RGB Toggle | ||
10 | 6 = RGB Mode Cycle | ||
11 | 7 = RGB Hue Increase | ||
12 | 8 = RGB Hue Decrease | ||
13 | 9 = RGB Saturation Increase | ||
14 | 0 = RGB Saturation Decrease | ||
15 | MINS = RGB Value Increase | ||
16 | EQL = RGB Value Decrease | ||
diff --git a/keyboards/ai03/polaris/keymaps/via/keymap.c b/keyboards/ai03/polaris/keymaps/via/keymap.c new file mode 100644 index 000000000..67c5cd37e --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/via/keymap.c | |||
@@ -0,0 +1,55 @@ | |||
1 | /* Copyright 2019 Ryota Goto | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | #include QMK_KEYBOARD_H | ||
17 | |||
18 | enum layer_names { | ||
19 | _BASE, | ||
20 | _FN, | ||
21 | _EXTRA_ONE, | ||
22 | _EXTRA_TWO | ||
23 | }; | ||
24 | |||
25 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
26 | [_BASE] = LAYOUT_all( /* Base */ | ||
27 | 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, | ||
28 | 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, | ||
29 | MO(1), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
30 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_DEL, | ||
31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, KC_RGUI, KC_RCTL | ||
32 | ), | ||
33 | [_FN] = LAYOUT_all( /* FN */ | ||
34 | _______, 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, KC_BSPC, | ||
35 | _______, _______, _______, KC_PGUP, _______, _______, _______, _______, KC_UP, _______, _______, _______, _______, BL_STEP, | ||
36 | _______, _______, KC_HOME, KC_PGDN, KC_END, _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, | ||
37 | _______, _______, KC_VOLD, KC_MUTE, KC_VOLU, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, KC_PSCR, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
39 | ), | ||
40 | [_EXTRA_ONE] = LAYOUT_all( /* Layer 3 */ | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
46 | ), | ||
47 | [_EXTRA_TWO] = LAYOUT_all( /* Layer 3 */ | ||
48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
53 | ) | ||
54 | }; | ||
55 | |||
diff --git a/keyboards/ai03/polaris/keymaps/via/readme.md b/keyboards/ai03/polaris/keymaps/via/readme.md new file mode 100644 index 000000000..6e4d2c744 --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/via/readme.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # The via keymap for Polaris | ||
2 | |||
3 | For via configurator use \ No newline at end of file | ||
diff --git a/keyboards/ai03/polaris/keymaps/via/rules.mk b/keyboards/ai03/polaris/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/ai03/polaris/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes \ No newline at end of file | |||