Skip to content

Commit

Permalink
[kyria_mini] add automatic EE_HANDS configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
VeyPatch committed Jan 13, 2025
1 parent e80337d commit 2c17d62
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
11 changes: 10 additions & 1 deletion qmk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
],
[
Expand Down
4 changes: 4 additions & 0 deletions users/veypatch/arm/arm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions users/veypatch/arm/kyria_mini/kyria_mini.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ifdef HANDS_LEFT
OPT_DEFS += -DINIT_EE_HANDS_LEFT
endif

ifdef HANDS_RIGHT
OPT_DEFS += -DINIT_EE_HANDS_RIGHT
endif

0 comments on commit 2c17d62

Please sign in to comment.