aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/phantom/keymap_iso_150.h
diff options
context:
space:
mode:
authorMathias Andersson <wraul@dbox.se>2013-05-26 22:20:29 +0200
committerMathias Andersson <wraul@dbox.se>2013-05-27 20:53:11 +0200
commit6e548590c4094db97aef1c0ad1a57beb90f653da (patch)
tree16a6d638d32ada3588ba349e662764dc8fbc93c6 /keyboard/phantom/keymap_iso_150.h
parent28aeef231b95f15ad0ddbc368781e986f559aaa8 (diff)
downloadfirmware-6e548590c4094db97aef1c0ad1a57beb90f653da.tar.gz
firmware-6e548590c4094db97aef1c0ad1a57beb90f653da.tar.bz2
firmware-6e548590c4094db97aef1c0ad1a57beb90f653da.zip
Move Phantom keymaps to separate header files.
Diffstat (limited to 'keyboard/phantom/keymap_iso_150.h')
-rw-r--r--keyboard/phantom/keymap_iso_150.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboard/phantom/keymap_iso_150.h b/keyboard/phantom/keymap_iso_150.h
new file mode 100644
index 000000000..ab9acda1c
--- /dev/null
+++ b/keyboard/phantom/keymap_iso_150.h
@@ -0,0 +1,22 @@
+// Phantom ISO 150
+static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* 0: qwerty */
+ KEYMAP_ISO_150(\
+ ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, PSCR,SLCK,BRK, \
+ GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, INS, HOME,PGUP, \
+ TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC, DEL, END, PGDN, \
+ FN0, A, S, D, F, G, H, J, K, L, SCLN,QUOT,NUHS,ENT, \
+ LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT, UP, \
+ LCTL,LGUI,LALT, SPC, RALT,RGUI,RCTL, LEFT,DOWN,RGHT),
+ /* 1: media keys */
+ KEYMAP_ISO_150(\
+ TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,SLEP, \
+ TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,MUTE,VOLD,VOLU, TRNS,TRNS,TRNS, \
+ TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,MSTP,MPLY,MPRV,MNXT,MSEL, TRNS,TRNS,TRNS, \
+ TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \
+ TRNS,TRNS,TRNS,TRNS,CALC,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, CAPS, TRNS, \
+ TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS, TRNS,TRNS,TRNS)
+};
+static const uint16_t PROGMEM fn_actions[] = {
+ [0] = ACTION_LAYER_MOMENTARY(1)
+};