Created
June 8, 2017 13:08
-
-
Save Nargonath/490453b7463ccc8370799c240ff08105 to your computer and use it in GitHub Desktop.
TMK Firware keyboard layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "keymap_common.h" | |
/* | |
* SpaceFN | |
* http://geekhack.org/index.php?topic=51069.0 | |
*/ | |
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
/* Keymap 0: Default Layer => HHKB ISO AZERTY | |
* ,-----------------------------------------------------------. | |
* |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| )| =|Backsp | | |
* |-----------------------------------------------------------| | |
* |Tab | A| Z| E| R| T| Y| U| I| O| P| ^| $| *| | |
* |-----------------------------------------------------------| | |
* |Ctrl | Q| S| D| F| G| H| J| K| L| M| ù|Return | | |
* |-----------------------------------------------------------| | |
* |Shift| <| W| X| C| V| B| N| ,| ;| :| !|Shift | | |
* |-----------------------------------------------------------| | |
* | |Gui |Alt | Space |Alt |Gui |App | | | |
* `-----------------------------------------------------------' | |
*/ | |
KEYMAP_ANSI( | |
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, \ | |
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, \ | |
CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, \ | |
LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT, \ | |
LCTL,LGUI,LALT, FN0, RALT,RGUI,APP, RCTL), | |
/* Overlay 1: SpaceFN | |
* ,-----------------------------------------------------------. | |
* |` | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete | | |
* |-----------------------------------------------------------| | |
* | | | | | | | |Hom|Up |End|Psc|Slk|Pau|Ins | | |
* |-----------------------------------------------------------| | |
* | | | | | | |PgU|Lef|Dow|Rig| | | | | |
* |-----------------------------------------------------------| | |
* | | | | | |Spc|PgD|` |~ | | | | | |
* |-----------------------------------------------------------| | |
* | | | | | | | | | | |
* `-----------------------------------------------------------' | |
*/ | |
KEYMAP_ANSI( | |
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL, \ | |
TRNS,TRNS,TRNS,ESC, TRNS,TRNS,TRNS,HOME,UP, END, PSCR,SLCK,PAUS,INS, \ | |
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PGUP,LEFT,DOWN,RGHT,TRNS,TRNS, TRNS, \ | |
TRNS,TRNS,TRNS,TRNS,TRNS,SPC, PGDN,GRV, FN1, TRNS,TRNS, TRNS, \ | |
TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS), | |
}; | |
/* | |
* Fn action definition | |
*/ | |
const action_t PROGMEM fn_actions[] = { | |
[0] = ACTION_LAYER_TAP_KEY(1, KC_SPACE), | |
[1] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV), // tilde | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Think of a new binding for the back quote because it is cumbersome to hit
Alt Gr + 7
with a7u
spacebar.