mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 04:39:26 +06:00
d2ff66a985
* include variables and .h files as pp directives * start layout compilation * split ergodoxes up * don't compile all layouts for everything * might seg fault * reset layouts variable * actually reset layouts * include rules.mk instead * remove includes from rules.mk * update variable setting * load visualizer from path * adds some more examples * adds more layouts * more boards added * more boards added * adds documentation for layouts * use lowercase names for LAYOUT_ * add layout.json files for each layout * add community folder, default keymaps for layouts * touch-up default layouts * touch-up layouts, some keyboard rules.mk * update documentation for layouts * fix up serial/i2c switches
134 lines
6.2 KiB
Plaintext
134 lines
6.2 KiB
Plaintext
My main layout (Layer 0) is based on qwerty. I tried to fit the layout of the kinesis keyboard onto the ergodox. Furthermore I did some tweaks.
|
|
The other layers are seldom used. Except the F Keys and the teensy key. As I own a ergodox I cant press the reset button, so i need a key to send the teensy into reprogram mode.
|
|
There is a layer with symbols a numpad. These layers are seldom used. Except the F Keys and the teensy key. As I own a ergodox I need a key to reprogram, because I can't access the reset button.
|
|
|
|
I am a linux user and need the esc key and str keys often therefore it is easyly accessed. Switching console str+alt+tab+f2 (layer 2 and 2) is tricky but you get it after a while.
|
|
As I live in germany and need to type umlaut frquently, i mapped the CAPS to the meta key, and swapped ' and ". So I can type ö with CAPS o + ¨. no need to press o+SHIFT+'
|
|
As a note for linux users i use str+p to get last command, instead of using the cursor keys.
|
|
|
|
HOWTO to convert CAPS to Meta-Key and swap ' with "
|
|
|
|
* create file with following content
|
|
.Xmodmap
|
|
clear Lock
|
|
keycode 48 = quotedbl apostrophe quotedbl apostrophe
|
|
keycode 66 = Multi_key
|
|
|
|
* apply with
|
|
xmodmap .Xmodmap
|
|
|
|
* convert to xkbmap
|
|
xkbcomp $DISPLAY $HOME/.xkbmap
|
|
|
|
* automatic startup each time you startup x
|
|
echo 'xkbcomp $HOME/.xkbmap $DISPLAY' >> ~/.xinitrc
|
|
|
|
LAYOUT_ergodox( // layer 0 : default
|
|
// left hand
|
|
KC_EQL , KC_1, KC_2, KC_3, KC_4, KC_5, KC_LBRC,
|
|
KC_FN25 , KC_Q, KC_W, KC_E, KC_R, KC_T, KC_HOME,
|
|
KC_FN27 , KC_A, KC_S, KC_D, KC_F, KC_G,
|
|
KC_LSFT , KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGUP,
|
|
KC_LGUI , KC_GRV,KC_LEFT,KC_RGHT,KC_LALT,
|
|
KC_NO , KC_NO ,
|
|
KC_NO ,
|
|
KC_BSPC,KC_DEL ,KC_FN23,
|
|
// right hand
|
|
KC_RBRC , KC_6, KC_7 , KC_8, KC_9, KC_0, KC_MINS,
|
|
KC_END , KC_Y, KC_U , KC_I, KC_O, KC_P, KC_FN28,
|
|
KC_H , KC_J, KC_K , KC_L, KC_SCLN,KC_FN30,
|
|
KC_PGDN , KC_N, KC_M , KC_COMM,KC_DOT, KC_SLSH,KC_FN29,
|
|
KC_RALT , KC_DOWN,KC_UP, KC_NO ,KC_RGUI,
|
|
KC_NO , KC_NO,
|
|
KC_NO ,
|
|
KC_FN29,KC_ENT ,KC_SPC
|
|
),
|
|
|
|
LAYOUT_ergodox( // layer 1 : function and symbol keys
|
|
// left hand
|
|
KC_TRNS,KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F11,
|
|
KC_TRNS,KC_AT,KC_UNDS ,KC_LBRC,KC_RBRC,KC_CIRC ,KC_TRNS,
|
|
KC_TRNS,KC_BSLS,KC_SLSH,KC_LCBR ,KC_RCBR ,KC_ASTR,
|
|
KC_TRNS,KC_HASH ,KC_DLR ,KC_PIPE ,KC_TILD ,KC_GRV ,KC_TRNS,
|
|
KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,
|
|
KC_TRNS,KC_TRNS,
|
|
KC_TRNS,
|
|
KC_TRNS,KC_TRNS,KC_FN1,
|
|
// right hand
|
|
KC_F12, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS,
|
|
KC_TRNS,KC_EXLM,LSFT(KC_COMM),LSFT(KC_DOT),K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