about summary refs log tree commit diff
path: root/users/flokli/keyboard/rules.mk
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-11-12T21·49+0200
committerflokli <flokli@flokli.de>2023-11-13T08·18+0000
commita49d5d227941e99f0e45172619c93442a5053caa (patch)
tree5bc92635536c9c99d58118c0f61ac4fa49077e54 /users/flokli/keyboard/rules.mk
parent6b6a5a75ec71eb73e8100decbad6a6820e039a60 (diff)
feat(users/flokli/keyboard): init r/7007
This packages up my keyboard firmware used for the Keychron K6 Pro.

We add a custom keymap to the `keyboards/keychron/k6_pro/ansi/rgb/
keymaps` directory, a copy from the `default` one (with a modified
`keymap.c`), and then build that as a makefile target.

`via` is *disabled*, as their keybindings take priority over keymap.c.

Luckily, only `qmk` seems to be sufficient to build it.

A simple `:flash` target/script is provided as well, it relies on some
udev rules set in the global system
(`hardware.keyboard.qmk.enable = true`).

Change-Id: I9f7a7a992e13516c32033127f94e37aec62d6b67
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10020
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/flokli/keyboard/rules.mk')
-rw-r--r--users/flokli/keyboard/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/flokli/keyboard/rules.mk b/users/flokli/keyboard/rules.mk
new file mode 100644
index 000000000000..3e466290ae1f
--- /dev/null
+++ b/users/flokli/keyboard/rules.mk
@@ -0,0 +1,2 @@
+KEY_OVERRIDE_ENABLE = yes
+OPT_DEFS += -DDYNAMIC_KEYMAP_LAYER_COUNT=5