layout:
  qmk_keyboard: ferris/sweep
  layout_name: LAYOUT_split_3x5_2
layers:
  CANARY:
    - [w, l, y, p, b, z, f, o, u, "'"]
    - [c, {h: Alt, t: r}, {h: Shift, t: s}, {h: Gui, t: t}, g, m, {h: Gui, t: n}, {h: Shift, t: e}, {h: Alt, t: i}, a]
    - [q, {h: Sym, t: j}, v, {h: Ctrl, t: d}, k, x, {h: Ctrl, t: h}, "/", {h: Sym, t: ","}, "."]
    - [{h: Nav, t: Repeat}, Spc, Bspc, {h: Num, t: Magic}]

  NAV:
    - [Null, Prev Track, Play Pause, Next Track, Vol Up, Page Up, Home, Up, End, Null]
    - [Null, OS Alt, OS Shift, OS Gui, Vol Down, Page Down, Left, Down, Right, Del]
    - [Null, OS Sym, Null, OS Ctrl, Null, Null, Tab, Null, Null, Null]
    - [{h: Nav, t: Repeat, type: trans}, {t: Spc, type: trans}, {t: Bspc, type: trans}, {h: Num, t: Magic, type: trans}]

  NUM:
    - ["(", 7, 8, 9, ")", Null, "+", "-", "*", "/"]
    - [0, 4, 5, 6, "=", Null, OS Gui, OS Shift, OS Alt, Null]
    - [",", 1, 2, 3, ".", Null, OS Ctrl, Null, OS Sym, Null]
    - [{h: Nav, t: Repeat, type: trans}, {t: Spc, type: trans}, {t: Bspc, type: trans}, {h: Num, t: Magic, type: trans}]

  SYM:
    - ["`", "<", "-", ">", Null, Null, "[", "_", "]", "+"]
    - ["|", "(", "=", ")", "#", "%", "{", "$", "}", ";"]
    - ["!", "&", "^", "@", Null, Null, "*", {t: "/", type: trans}, {t: ",", type: trans}, {t: ".", type: trans}]
    - [{h: Nav, t: Repeat, type: trans}, {t: Spc, type: trans}, {t: Bspc, type: trans}, {h: Num, t: Magic, type: trans}]

combos:
  # Vertical numbers
  - {p: [0, 10],    k: "1",        l: ["CANARY"]}
  - {p: [1, 11],    k: "2",        l: ["CANARY"]}
  - {p: [2, 12],    k: "3",        l: ["CANARY"]}
  - {p: [3, 13],    k: "4",        l: ["CANARY"]}
  - {p: [4, 14],    k: "5",        l: ["CANARY"]}
  - {p: [5, 15],    k: "6",        l: ["CANARY"]}
  - {p: [6, 16],    k: "7",        l: ["CANARY"]}
  - {p: [7, 17],    k: "8",        l: ["CANARY"]}
  - {p: [8, 18],    k: "9",        l: ["CANARY"]}
  - {p: [9, 19],    k: "0",        l: ["CANARY"]}

  # Home row left
  - {p: [11, 12],   k: "Tab",      l: ["CANARY"]}
  - {p: [12, 13],   k: "C-w",      l: ["CANARY"]}

  # Home row right
  - {p: [16, 17],   k: "Esc",      l: ["CANARY"]}
  - {p: [17, 18],   k: "Ent",      l: ["CANARY"]}

  # Bottom row left
  - {p: [21, 22],   k: ":",        l: ["CANARY"]}
  - {p: [22, 23],   k: "M-a",      l: ["CANARY"]}

  # Bottom row right
  - {p: [26, 27],   k: "M1-a",     l: ["CANARY"]}
  - {p: [27, 28],   k: "\\",       l: ["CANARY"]}
