forked from keyboardio/Model01-Firmware
-
Notifications
You must be signed in to change notification settings - Fork 3
/
modifiers-thumb-enter-bepo.h
33 lines (28 loc) · 1.16 KB
/
modifiers-thumb-enter-bepo.h
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
/* Define modifier aliases. This allows us to configure the modifiers
* independently from the rest of the keymap layout.
*
* This layout moves Shift to the inside of Cmd/Alt for easier use, and
* rotates Cmd and Alt so that L/R-Alt are on the thumbs and Cmd is on the
* butterfly key. It also puts Return on the right * thumb (as per kinesis)
* and a Delete key where Return used to be.
*
* We further exchange the positions of RightControl and RightAlt to make it
* easier to type RightAlt+Space, as this is a printable character under BÉPO.
*
* The thumb buttons are numbered starting from 0 at the upper-outside to 3 on
* the lower-inside on each hand (mirror image).
*/
#define MOD_L_THUMB_0 Key_LeftControl
#define MOD_L_THUMB_1 Key_LeftShift
#define MOD_L_THUMB_2 Key_LeftAlt
#define MOD_L_THUMB_3 Key_Backspace
#define MOD_L_PALM ShiftToLayer(FUNCTION)
#define MOD_L_MIDDLE Key_Tab
#define MOD_L_BOTTOM Key_Escape
#define MOD_R_THUMB_0 Key_RightControl
#define MOD_R_THUMB_1 Key_Spacebar
#define MOD_R_THUMB_2 Key_RightAlt
#define MOD_R_THUMB_3 Key_Delete
#define MOD_R_PALM ShiftToLayer(FUNCTION)
#define MOD_R_MIDDLE Key_Enter
#define MOD_BUTTERFLY Key_LeftGui