aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorMattia Righetti <matt95.righetti@gmail.com>2021-05-13 07:37:30 +0200
committerGitHub <noreply@github.com>2021-05-12 22:37:30 -0700
commitad0e6b6291a51252603124c9b85fea631aa10ee8 (patch)
tree521ebed53dca0691b93ccdbd8e15a756ce9d085e /keyboards
parent4ccba9e3ac630bbca00bf90aaa27425fed9afd86 (diff)
downloadqmk_firmware-ad0e6b6291a51252603124c9b85fea631aa10ee8.tar.gz
qmk_firmware-ad0e6b6291a51252603124c9b85fea631aa10ee8.zip
mattrighetti Whitefox keymap (#12582)
* Initial configuration with led and three layers + First layer contains classic keys + Second layer contains F keys and media keys + Third layer contains numbers in the top portion of the letter keys + Default LEDs configuration * RGB toggle * Documentation and minor changes * Added LGUI key and remapped layer 2 on layer 1 * Removed backlight and led keys * Updated keymap graphical representation * Switched LGui with Lalt to emulate macOS layout * Updated keymap with GNU License
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/whitefox/keymaps/mattrighetti/keymap.c81
-rw-r--r--keyboards/whitefox/keymaps/mattrighetti/rules.mk10
2 files changed, 91 insertions, 0 deletions
diff --git a/keyboards/whitefox/keymaps/mattrighetti/keymap.c b/keyboards/whitefox/keymaps/mattrighetti/keymap.c
new file mode 100644
index 000000000..67aed537d
--- /dev/null
+++ b/keyboards/whitefox/keymaps/mattrighetti/keymap.c
@@ -0,0 +1,81 @@
1
2 /*
3 Copyright 2021 Mattia Righetti
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#include QMK_KEYBOARD_H
19
20const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
21 /* Base layer
22 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
23 * │Esc│ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ \ │ ` │ │
24 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
25 * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │Bspc │Del│
26 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
27 * │Caps │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ Enter │PgU│
28 * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
29 * │ LShift │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │RSfRCt│ ↑ │PgD│
30 * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
31 * │LCtl│LAlt│LGUI│ Space │RAlt│Lay1│ │ ← │ ↓ │ → │
32 * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
33 */
34 [0] = LAYOUT_truefox(
35 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_GRV, KC_BSLS, _______,
36 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_BSPC, KC_DEL,
37 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, KC_PGUP,
38 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_PGDN,
39 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
40 ),
41 /* Function layer
42 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─────┐
43 * │ │F1 │F2 │F3 │F4 │F5 │F6 │F7 │F8 │F9 │F10│F11│F12│ │ │ │
44 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼─────┤
45 * │ │ │ ↑ │ │ │ │ │ │ │ │ │ │ │Reset│ │
46 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼─────┤
47 * │ │ ← │ ↓ │ → │ │ │ │ │ │ │ │ │ │ │
48 * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼─────┤
49 * │ │VoU│VoD│VoM│ │ │ │ │ │ │ │ │ │ │
50 * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼─────┤
51 * │ │ │ │ │Lay2│ │ │ │ │ │
52 * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴─────┘
53 */
54 [1] = LAYOUT_truefox(
55 _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
56 _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, _______,
57 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
58 _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
59 _______, _______, _______, _______, MO(2), KC_TRNS, _______, _______, _______
60 ),
61 /* Third layer
62 * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
63 * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
64 * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
65 * │ │1 │2 │3 │4 │5 │6 │7 │8 │9 │0 │ │ │ │ │
66 * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
67 * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
68 * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┤
69 * │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
70 * ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┤
71 * │ │ │ │ │ │ │ │ │ │ │
72 * └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
73 */
74 [2] = LAYOUT_truefox(
75 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
76 _______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, _______, _______, _______,
77 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
78 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
79 _______, _______, _______, _______, _______, _______, _______, _______, _______
80 )
81};
diff --git a/keyboards/whitefox/keymaps/mattrighetti/rules.mk b/keyboards/whitefox/keymaps/mattrighetti/rules.mk
new file mode 100644
index 000000000..ceb1c92ec
--- /dev/null
+++ b/keyboards/whitefox/keymaps/mattrighetti/rules.mk
@@ -0,0 +1,10 @@
1BOOTMAGIC_ENABLE = no
2
3# Keyboard-specific features
4BACKLIGHT_ENABLE = no
5VISUALIZER_ENABLE = no
6
7# Firmware size reduction
8GRAVE_ESC_ENABLE = no
9MAGIC_ENABLE = no
10SPACE_CADET_ENABLE = no