-
Notifications
You must be signed in to change notification settings - Fork 0
/
keymap.c
112 lines (103 loc) · 10.5 KB
/
keymap.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* Copyright 2024 Florent Linguenheld (@FLinguenheld)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "keycodes.h"
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BASE] = LAYOUT(
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
KC_Q , KC_C , KC_O , KC_P , KC_V , KC_J , KC_M , KC_D , KC_Y , KC_W ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
ALT_T(KC_A) , GUI_T(KC_S) , CTL_T(KC_E) , SFT_T(KC_N) , KC_F , KC_L , SFT_T(KC_R) , CTL_T(KC_T) , GUI_T(KC_I) , ALT_T(KC_U) ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
KC_Z , KC_X , US_EACU , KC_B , KC_H , KC_G , OSL(_FR) , KC_K ,
//----------------+-------------+-------------+-------------| |-------------+-------------+-------------+-------------|
// |------------+----------+--------| |--------+--------------+-------------|
MO(_MOUSE) , KC_SPACE , KC_ESC , KC_ENT , MO(_NUMERIC) , MO(_ARROWS)
// |------------+----------+--------| |--------+--------------+-------------|
),
[_ARROWS] = LAYOUT(
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
KC_AT , KC_LBRC , KC_AMPR , KC_RBRC , XXXXXXX , XXXXXXX , KC_HOME , KC_PAGE_DOWN, KC_PAGE_UP , KC_END ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
KC_DQUO , KC_LPRN , KC_QUOTE , KC_RPRN , KC_GRV , QK_LEAD , KC_LEFT , KC_DOWN , KC_UP , KC_RIGHT ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
XXXXXXX , KC_LCBR , KC_PIPE , KC_RCBR , KC_BSPC , KC_TAB , S(KC_TAB) , KC_DEL ,
//----------------+-------------+-------------+-------------| |-------------+-------------+-------------+-------------|
// |---------+----------+--------------| |---------+---------+---------|
KC_UNDS , KC_COLON , KC_SEMICOLON , XXXXXXX , XXXXXXX , XXXXXXX
// |---------+----------+--------------| |---------+---------+---------|
),
[_NUMERIC] = LAYOUT(
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
KC_TILDE , KC_LABK , KC_EQUAL , KC_RABK , KC_EXLM , US_PND , KC_7 , KC_8 , KC_9 , KC_HASH ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
KC_BSLS , KC_PLUS , KC_ASTERISK , KC_SLASH , KC_QUES , US_EURO , KC_4 , KC_5 , KC_6 , KC_0 ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
XXXXXXX , KC_CIRC , KC_PERCENT , KC_DOLLAR , KC_1 , KC_2 , KC_3 , XXXXXXX ,
//----------------+-------------+-------------+-------------| |-------------+-------------+-------------+-------------|
// |----------+--------+----------| |---------+---------+---------|
KC_MINUS , KC_DOT , KC_COMMA , XXXXXXX , XXXXXXX , XXXXXXX
// |----------+--------+----------| |---------+---------+---------|
),
[_MOUSE] = LAYOUT(
//----------------+-------------+---------------+----------------+---------| |---------+--------------+--------------+--------------+---------|
KC_MS_WH_LEFT , KC_MS_WH_UP , KC_MS_WH_DOWN , KC_MS_WH_RIGHT , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX ,
//----------------+-------------+---------------+----------------+---------| |---------+--------------+--------------+--------------+---------|
KC_MS_LEFT , KC_MS_UP , KC_MS_DOWN , KC_MS_RIGHT , XXXXXXX , XXXXXXX , KC_MS_ACCEL0 , KC_MS_ACCEL1 , KC_MS_ACCEL2 , XXXXXXX ,
//----------------+-------------+---------------+----------------+---------| |---------+--------------+--------------+--------------+---------|
KC_BSPC , S(KC_TAB) , KC_TAB , KC_DEL , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX ,
//----------------+-------------+---------------+----------------| |--------------+--------------+--------------+---------|
// |---------+---------+---------| |------------+------------+------------|
XXXXXXX , _______ , _______ , KC_MS_BTN1 , KC_MS_BTN3 , KC_MS_BTN2
// |---------+---------+---------| |------------+------------+------------|
),
[_FR] = LAYOUT(
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
FR_A_CIRC , US_CCED , FR_E_CIRC , FR_O_CIRC , XXXXXXX , XXXXXXX , XXXXXXX , FR_Y_CIRC , FR_I_CIRC , FR_U_CIRC ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
FR_A_GRAVE , US_OE , FR_E_GRAVE , FR_O_GRAVE , US_LDAQ , US_RDAQ , US_EACU , FR_Y_GRAVE , FR_I_GRAVE , FR_U_GRAVE ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
FR_A_DIAE , US_AE , FR_E_DIAE , FR_O_DIAE , XXXXXXX , FR_Y_DIAE , FR_I_DIAE , FR_U_DIAE ,
//----------------+-------------+-------------+-------------| |-------------+-------------+-------------+-------------|
// |---------+---------+---------| |---------+---------+---------|
_______ , _______ , _______ , _______ , _______ , _______
// |---------+---------+---------| |---------+---------+---------|
),
[_FN] = LAYOUT(
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
XXXXXXX , KC_F19 , KC_F18 , KC_F17 , XXXXXXX , XXXXXXX , KC_F7 , KC_F8 , KC_F9 , XXXXXXX ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
KC_F20 , KC_F16 , KC_F15 , KC_F14 , XXXXXXX , XXXXXXX , KC_F4 , KC_F5 , KC_F6 , KC_F10 ,
//----------------+-------------+-------------+-------------+----------| |----------+-------------+-------------+-------------+-------------|
XXXXXXX , KC_F13 , KC_F12 , KC_F11 , KC_F1 , KC_F2 , KC_F3 , XXXXXXX ,
//----------------+-------------+-------------+-------------| |-------------+-------------+-------------+-------------|
// |---------+---------+---------| |---------+---------+---------|
_______ , _______ , _______ , _______ , XXXXXXX , XXXXXXX
// |---------+---------+---------| |---------+---------+---------|
),
[_ADJ] = LAYOUT(
//----------+---------+---------+---------+------------------| |---------+---------+---------+-----------------+---------|
XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_PRINT_SCREEN , XXXXXXX , XXXXXXX , XXXXXXX , KC_AUDIO_VOL_UP , XXXXXXX ,
//----------+---------+---------+---------+------------------| |---------+---------+---------+-----------------+---------|
XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX ,S(KC_PRINT_SCREEN), XXXXXXX , XXXXXXX , XXXXXXX ,KC_AUDIO_VOL_DOWN, XXXXXXX ,
//----------+---------+---------+---------+------------------| |---------+---------+---------+-----------------+---------|
XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , XXXXXXX , KC_AUDIO_MUTE , XXXXXXX ,
//----------+---------+---------+---------| |---------+---------+-----------------+---------|
// |---------+---------+---------| |---------+---------+---------|
XXXXXXX , _______ , _______ , XXXXXXX , XXXXXXX , XXXXXXX
// |---------+---------+---------| |---------+---------+---------|
),
};