Skip to content

Instantly share code, notes, and snippets.

@nengqi
nengqi / applefn.patch
Created June 11, 2022 04:18 — forked from fauxpark/applefn.patch
QMK Apple Fn
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 08d186d656..2084b728f3 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -766,6 +766,10 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
endif
endif
+ifeq ($(strip $(APPLE_FN_ENABLE)), yes)
+ OPT_DEFS += -DAPPLE_FN_ENABLE