qmk_firmware/keyboards/s60-x/keymaps/spacefn/keymap.c

56 lines
6 KiB
C
Raw Normal View History

#include "s60-x.h"
/*
* SpaceFN
* http://geekhack.org/index.php?topic=51069.0
*/
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Keymap 0: Default Layer
ESC 1 2 3 4 5 6 7 8 9 0 - = BKSPC
TAB Q W E R T Y U I O P [ ] \
CAPSL A S D F G H J K L ; ' ENTER
LSHFT Z X C V B N M , . / RSHFT
LCTRLL_GUIL_ALTSpc/Fn0R_ALTR_GUI APP RCTRL
*/
LEGACY_KEYMAP(
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, NO, 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, NO, ENT, \
LSFT, NO, Z, X, C, V, B, N, M, COMM, DOT, SLSH, NO, RSFT, NO, \
LCTL, LGUI, LALT, FN0, RALT, RGUI, APP, RCTL),
/* Overlay 1: SpaceFN
` F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Del
Esc Home Up End Pscr Slck Pause Ins
PgUp Left Down Right
SpacePgDwn ` ~
*/
LEGACY_KEYMAP(
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS, 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, TRNS, SPC, PGDN, GRV, FN1, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, \
TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS),
};
/*
* Fn action definition
*/
const uint16_t PROGMEM fn_actions[] = {
[0] = ACTION_LAYER_TAP_KEY(1, KC_SPACE),
[1] = ACTION_MODS_KEY(MOD_LSFT, KC_GRV), // tilde
};