Skip to content
Permalink
9d320d65f6
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
61 lines (58 sloc) 2.35 KB
# Written in 2017 by jem@seethis.link
# This file is released into the public domain as per the CC0 Public Domain
# Dedication (http://creativecommons.org/publicdomain/zero/1.0/)
---
version: 0.3.0
devices:
spectre:
id: 0
layout: spectre
layout_offset: 0
scan_mode:
mode: pin_gnd
pins: [
E1, E0, E2, E3, E4, E5, D5, D4, D3, D2, D1, D0,
F3, F2, F1, F0, E6, E7, C7, C6, C5, C4, C3, C2,
F4, F5, F6, F7, R0, R1, B7, B6, B5, B4, C0, C1,
A0, A1, A2, A3, A4, A5, A6, A7, B0, B1, B3, B2,
]
# maps how keys are physically wired, to how they appear visually
layouts:
spectre:
default_layer: 0
# This layout shows how layer keys can be chained together. If L1 and
# L2 are pressed on the base layer, then L3 is activated.
layers: [
[ # layer 0 (base)
[
tab , q , w , e , r , t , y , u , i , o , p , bspc,
esc , a , s , d , f , g , h , j , k , l , ";" , "'" ,
lsft, z , x , c , v , b , m , n , "," , "." , "/" , ent ,
____, lctl, lalt, lgui, L1 , SPC , SPC , L2 , left, down, up , right,
]
],
[ # layer 1 (lower)
[
'~' , '!' , '@' , '#' , '$' , '%' , '^' , '&' , '*' , '(' , ')' , ____ ,
del , F1 , F2 , F3 , F4 , F5 , F6 , '_' , '+' , '{' , '}' , '|' ,
____, F7 , F8 , F9 , F10 , F11 , F12 , iso~, iso|, home, end , ____ ,
____, ____, ____, ____, ____, ____, ____, L3 , ____, ____, ____, ____ ,
]
],
[ # layer 2 (raise)
[
'`' , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 0 , ____ ,
del , F1 , F2 , F3 , F4 , F5 , F6 , '-' , '=' , '[' , ']' , '\' ,
____, F7 , F8 , F9 , F10 , F11 , F12 , iso#, iso|, pgup, pgdn, ____ ,
____, ____, ____, ____, L3 , ____, ____, ____, ____, ____, ____, ____ ,
]
],
[ # layer 3 (media 'lower+raise'), press L1+L2 on base layer
[
____, pscr, mply, volu, mstp, ____, wh_u, btn1, ms_u, btn2, ____, nlck ,
____, mute, mprv, vold, mnxt, app , wh_d, ms_l, ms_d, ms_r, btn3, slck ,
____, C-y , CS-z, C-i , ____, ____, ____, ____, ____, ____, ____, caps ,
____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____, ____ ,
]
],
]