summaryrefslogtreecommitdiff
path: root/users/spidey3/config.h
diff options
context:
space:
mode:
authorJoshua Diamond <josh@windowoffire.com>2022-08-06 16:29:06 -0400
committerGitHub <noreply@github.com>2022-08-06 13:29:06 -0700
commit5408334083ef52beb3cc7ec01642515c70298f6c (patch)
treefa924fc7150bd014ebe4c9394ddad93779cd2391 /users/spidey3/config.h
parente938c663e5e820206d1db3a763fb881dad2a714a (diff)
Update ginkgo65hot to allow use of community layouts (#17911)
Diffstat (limited to 'users/spidey3/config.h')
-rw-r--r--users/spidey3/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/users/spidey3/config.h b/users/spidey3/config.h
index 884cc11a5c..49409ed85d 100644
--- a/users/spidey3/config.h
+++ b/users/spidey3/config.h
@@ -1,3 +1,6 @@
+// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
#pragma once
#define LED_DISABLE_WHEN_USB_SUSPENDED
@@ -40,3 +43,9 @@
#undef MANUFACTURER
#define MANUFACTURER Window of Fire
+
+// Some keyboards enable BACKLIGHT_CAPS_LOCK without checking if backlight is enabled.
+// Undef as appropriate to avoid compiler warnings in that case.
+#ifndef BACKLIGHT_ENABLE
+#undef BACKLIGHT_CAPS_LOCK
+#endif