From 27cb5b8d48d09a0ffffd992b1570d1f1dc853731 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Sun, 27 Jul 2025 14:38:56 +0200 Subject: [PATCH] First commit: create keymap and keymap_ergol --- .gitignore | 1 + Makefile | 10 +++++++ keymap.yaml | 66 +++++++++++++++++++++++++++++++++++++++++++++++ keymap_ergol.yaml | 66 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 143 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 keymap.yaml create mode 100644 keymap_ergol.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..756b22f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.svg diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..83fb724 --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +all: keymap.svg keymap_ergol.svg + +.venv: + uv venv + +.venv/bin/keymap: .venv + uv pip install keymap-drawer + +%.svg: %.yaml .venv/bin/keymap + uv run keymap draw $< -s Base > $@ diff --git a/keymap.yaml b/keymap.yaml new file mode 100644 index 0000000..fa85ca9 --- /dev/null +++ b/keymap.yaml @@ -0,0 +1,66 @@ +layout: {qmk_keyboard: ferris/0_2/bling, layout_name: LAYOUT_split_3x5_2} +layers: + Base: + - [Q, W, E, R, T, Y, U, I, O, P] + - - {t: A, h: Gui} + - {t: S, h: Alt} + - {t: D, h: LShift} + - {t: F, h: Ctrl} + - G + - H + - {t: J, h: Ctrl} + - {t: K, h: RShift} + - {t: L, h: Alt} + - {t: ;, h: Gui} + - [Z, X, C, V, B, N, M, ',', ., /] + - - {t: Space, h: NavNum} + - {t: Enter, h: FunMouse} + - {t: Esc, h: AltGr} + - {t: Tab, h: NavNum} + NavNum: + - ['/', '7', '8', '9', '`', Home, Page Down, Page Up, End, Print Screen] + - [':', '4', '5', '6', '0', '←', '↓', '↑', '→', Back] + - [',', '1', '2', '3', '.', Play, Vol Down, Vol Up, Mute, Del] + - - '' + - '' + - '' + - '' + FunMouse: + - - F5 + - F6 + - F7 + - F8 + - LSFT + RSFT + - PWR + - SLEP + - WAKE + - {t: Base, h: toggle} + - MS WHLU + - - F1 + - F2 + - F3 + - F4 + - {t: Compat, h: toggle} + - MS LEFT + - MS DOWN + - MS UP + - MS RGHT + - MS WHLD + - - F9 + - F10 + - F11 + - F12 + - {t: Gaming, h: toggle} + - MS BTN4 + - MS BTN1 + - MS BTN3 + - MS BTN2 + - MS BTN5 + - - '' + - '' + - '' + - '' +combos: + - { p: [30, 33], k: FunMouse, l: [Base], a: "top", w: 50, o: -.1} + - { p: [31, 33], k: Compose, l: [Base] , a: "bottom", o: 1., w: 50} + - { p: [30, 32], k: Compose, l: [Base] , a: "bottom", o: .5, w: 50} diff --git a/keymap_ergol.yaml b/keymap_ergol.yaml new file mode 100644 index 0000000..cff5dc4 --- /dev/null +++ b/keymap_ergol.yaml @@ -0,0 +1,66 @@ +layout: {qmk_keyboard: ferris/0_2/bling, layout_name: LAYOUT_split_3x5_2} +layers: + Base: + - [Q, C, O, P, W, J, M, D, ★, Y] + - - {t: A, h: LGUI} + - {t: S, h: LALT} + - {t: E, h: LSFT} + - {t: N, h: LCTL} + - F + - L + - {t: R, h: LCTL} + - {t: T, h: RSFT} + - {t: I, h: LALT} + - {t: U, h: LGUI} + - [Z, X, -, V, B, ., H, G, ',', K] + - - {t: SPC, h: NavNum} + - {t: ENT, h: FunMouse} + - {t: ESC, h: RALT} + - {t: TAB, h: NavNum} + NavNum: + - ['/', '7', '8', '9', '`', HOME, PGDN, PGUP, END, PSCR] + - [':', '4', '5', '6', '0', '←', '↓', '↑', '→', BSPC] + - [',', '1', '2', '3', '.', PLAY, VOL DWN, VOL UP, MUTE, DEL] + - - '' + - '' + - '' + - '' + FunMouse: + - - F5 + - F6 + - F7 + - F8 + - LSFT + RSFT + - PWR + - SLEP + - WAKE + - {t: Base, h: toggle} + - MS WHLU + - - F1 + - F2 + - F3 + - F4 + - {t: Compat, h: toggle} + - MS LEFT + - MS DOWN + - MS UP + - MS RGHT + - MS WHLD + - - F9 + - F10 + - F11 + - F12 + - {t: Gaming, h: toggle} + - MS BTN4 + - MS BTN1 + - MS BTN3 + - MS BTN2 + - MS BTN5 + - - '' + - '' + - '' + - '' +combos: + - { p: [30, 33], k: FunMouse, l: [Base], a: "top", w: 50, o: -.1} + - { p: [31, 33], k: Compose, l: [Base] , a: "bottom", o: 1., w: 50} + - { p: [30, 32], k: Compose, l: [Base] , a: "bottom", o: .5, w: 50}