From 2c17d62b90b056cc2f1064b1b158a0da9639a474 Mon Sep 17 00:00:00 2001 From: VeyPatch <126267034+VeyPatch@users.noreply.github.com> Date: Mon, 13 Jan 2025 22:14:56 +0100 Subject: [PATCH] [kyria_mini] add automatic EE_HANDS configuration --- qmk.json | 11 ++++++++++- users/veypatch/arm/arm.mk | 4 ++++ users/veypatch/arm/kyria_mini/kyria_mini.mk | 7 +++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 users/veypatch/arm/kyria_mini/kyria_mini.mk diff --git a/qmk.json b/qmk.json index 5fe861b1ec..1864f610f1 100644 --- a/qmk.json +++ b/qmk.json @@ -12,7 +12,16 @@ "veypatch/kyria_mini", "veypatch", { - "TARGET": "kyria_mini_helios" + "TARGET": "kyria_mini_helios_left", + "HANDS_LEFT": "1" + } + ], + [ + "veypatch/kyria_mini", + "veypatch", + { + "TARGET": "kyria_mini_helios_right", + "HANDS_RIGHT": "1" } ], [ diff --git a/users/veypatch/arm/arm.mk b/users/veypatch/arm/arm.mk index 94b3692fe7..b91c9cff54 100644 --- a/users/veypatch/arm/arm.mk +++ b/users/veypatch/arm/arm.mk @@ -5,6 +5,10 @@ ifneq ($(filter $(strip $(CONVERT_TO)), imera liatris),) include $(USER_PATH)/arm/liatris/liatris.mk endif +ifeq ($(strip $(KEYBOARD)), veypatch/kyria_mini) + include $(USER_PATH)/arm/kyria_mini/kyria_mini.mk +endif + ifeq ($(strip $(KEYBOARD)), splitkb/halcyon/kyria/rev4) include $(USER_PATH)/arm/halcyon/halcyon.mk endif diff --git a/users/veypatch/arm/kyria_mini/kyria_mini.mk b/users/veypatch/arm/kyria_mini/kyria_mini.mk new file mode 100644 index 0000000000..91212897b0 --- /dev/null +++ b/users/veypatch/arm/kyria_mini/kyria_mini.mk @@ -0,0 +1,7 @@ +ifdef HANDS_LEFT + OPT_DEFS += -DINIT_EE_HANDS_LEFT +endif + +ifdef HANDS_RIGHT + OPT_DEFS += -DINIT_EE_HANDS_RIGHT +endif