aboutsummaryrefslogtreecommitdiff
path: root/kanata/akira.kbd
blob: ac2e94849896bf355cabcb0df4f249d5ce44d792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
(defcfg
  process-unmapped-keys yes
  linux-dev /dev/input/by-id/usb-BY_Tech_Gaming_Keyboard-event-kbd
  linux-unicode-u-code v
)

(defsrc
  esc  f1    f2   f3   f4   f5   f6   f7   f8   f9   f10  f11  f12 
  grv  1     2    3    4    5    6    7    8    9    0    -    =   bspc
  tab  q     w    e    r    t    y    u    i    o    p    [    ]   \
  caps a     s    d    f    g    h    j    k    l    ;    '    ret  
  lsft z     x    c    v    b    n    m    ,    .    /    rsft
  lctl lmet  lalt           spc            ralt      rctl
)

(defalias
  c    (macro RA-c ,)

  nav  (layer-while-held nav)
  sym  (layer-while-held sym)

  lmet (one-shot-release 1000 lmet)
  lalt (one-shot-release 1000 lalt)
  lsft (one-shot-release 1000 lsft)
  lctl (one-shot-release 1000 lctl)

  rsft (one-shot-release 1000 rsft)
  rctl (one-shot-release 1000 rctl)
  ralt (one-shot-release 1000 ralt)

  ex S-1
  at S-2
  hs S-3
  dl S-4
  pr S-5
  cr S-6
  am S-7
  ml S-8
  lp S-9
  rp S-0
  lb S-[
  rb S-]
)

(deflayer smrt1
  esc   f1    f2    f3   f4   f5   f6   f7   f8   f9   f10 f11   f12 
  f24   1     2     3    4    5    6    7    8    9    0   -     =   bspc
  tab   h     n     l    g    q    .    f    e    k    '   [     ]   \
  @lctl s     m     r    t    d    ,    u    o    a    i   /     ret
  @lsft x     j     c    b    z    v    p    w    ;    y   @rsft
  @nav @lmet  @lsft           spc            @ralt     @sym
)

(deflayer nav
  _ _ _ _   _     _     _   _    _    _    _ _ _ 
  _ _ _ _   _     _     _   _    _    _    _ _ _ _
  _ _ _ _   _     _     _   pgup up   pgdn _ _ _ _
  _ _ @lalt @lctl @lsft _ _ lft  down rght _ _ _
  _ _ _ _   @lmet _     _   home _    end  _ _
  _ _ _                 _     _         _
)

(deflayer sym
  _ _   _   _     _   _   _ _     _     _     _   _ _ 
  _ _   _   _     _   _   _ _     _     _     _   _ _ _
  _ @lb [   @lp   @cr _   _ @rb   @rp   ]     @rb _ _ _
  _ /   @hs @at   @ex grv _ @lsft @lctl @lalt _   _ _
  _ @am @pr @ml   @dl \   _ @lmet _     _     _   _
  _ _ _                   _         _             _
)