Skip to content

Commit

Permalink
Add Mark I layout
Browse files Browse the repository at this point in the history
  • Loading branch information
markspanbroek authored and jackhumbert committed Aug 21, 2017
1 parent 90b07a5 commit d172d6b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions keyboards/satan/keymaps/mark1/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include "satan.h"

#define KC_____ KC_TRNS
#define KC_FN MO(1) // Fn
#define KC_FNLK TG(1) // Fn lock
#define KC_HOME LCTL(KC_A) // Home, or ctrl-a
#define KC_END LCTL(KC_E) // End, or ctrl-e

// Mark I keyboard layout for GH60 Satan
// http://www.keyboard-layout-editor.com/#/gists/e1cde292bd2094cc3b763206d4d2cfb5

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// 0: qwerty
COMPACT_KEYMAP(
ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, NO,
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,FN , Z, X, C, V, B, N, M, COMM,DOT, SLSH,RSFT,FN ,
LCTL,LALT,LGUI, SPC, RGUI,RALT,RCTL,FNLK
),
// 1: fn layer
COMPACT_KEYMAP(
GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL,____,
____,VOLU,____,____,____,____,____,HOME,UP ,END ,PGUP,____,____,____,
____,VOLD,MRWD,MPLY,MFFD,____,____,LEFT,DOWN,RGHT,PGDN,____,____,____,
____,____,MUTE,____,____,____,____,____,____,____,SLEP,____,____,____,
____,____,____, ____, ____,____,____,____
)
};
5 changes: 5 additions & 0 deletions keyboards/satan/keymaps/mark1/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Mark I layout for GH60 Satan

A Mac keyboard for touch typists who enjoy having a Fn key on both the left-hand and right-hand side.

[Layout](http://www.keyboard-layout-editor.com/#/gists/e1cde292bd2094cc3b763206d4d2cfb5)

0 comments on commit d172d6b

Please sign in to comment.