1
0
Fork 0

Fix power; use keyboard shortcut for Mac

This commit is contained in:
Mark Spanbroek 2017-08-18 23:33:06 +02:00 committed by Jack Humbert
parent cb719757c2
commit 0be483c762

View file

@ -5,6 +5,7 @@
#define KC_FNLK TG(1) // Fn lock #define KC_FNLK TG(1) // Fn lock
#define KC_HOME LCTL(KC_A) // Home, or ctrl-a #define KC_HOME LCTL(KC_A) // Home, or ctrl-a
#define KC_END LCTL(KC_E) // End, or ctrl-e #define KC_END LCTL(KC_E) // End, or ctrl-e
#define KC_SLP LGUI(LALT(KC_POWER)) // sleep, or cmd-option-power
// When using this split right shift layout, k3c and k3d are no longer reversed // When using this split right shift layout, k3c and k3d are no longer reversed
// as in other layouts // as in other layouts
@ -38,7 +39,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL,____, GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL,____,
____,VOLU,____,____,____,____,____,HOME,UP ,END ,PGUP,____,____,____, ____,VOLU,____,____,____,____,____,HOME,UP ,END ,PGUP,____,____,____,
____,VOLD,MRWD,MPLY,MFFD,____,____,LEFT,DOWN,RGHT,PGDN,____,____,____, ____,VOLD,MRWD,MPLY,MFFD,____,____,LEFT,DOWN,RGHT,PGDN,____,____,____,
____,____,MUTE,____,____,____,____,____,____,____,SLEP,____,____,____, ____,____,MUTE,____,____,____,____,____,____,____,SLP ,____,____,____,
____,____,____, ____, ____,____,____,____ ____,____,____, ____, ____,____,____,____
) )
}; };