diff options
author | Joshua Diamond <josh@windowoffire.com> | 2022-08-06 16:29:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 13:29:06 -0700 |
commit | 5408334083ef52beb3cc7ec01642515c70298f6c (patch) | |
tree | fa924fc7150bd014ebe4c9394ddad93779cd2391 /users/spidey3 | |
parent | e938c663e5e820206d1db3a763fb881dad2a714a (diff) | |
download | qmk_firmware-5408334083ef52beb3cc7ec01642515c70298f6c.tar.gz qmk_firmware-5408334083ef52beb3cc7ec01642515c70298f6c.zip |
Update ginkgo65hot to allow use of community layouts (#17911)
Diffstat (limited to 'users/spidey3')
-rw-r--r-- | users/spidey3/config.h | 9 | ||||
-rw-r--r-- | users/spidey3/init.c | 3 | ||||
-rw-r--r-- | users/spidey3/layer_rgb.c | 3 | ||||
-rw-r--r-- | users/spidey3/spidey3.c | 3 | ||||
-rw-r--r-- | users/spidey3/spidey3.h | 7 | ||||
-rw-r--r-- | users/spidey3/unicode.c | 3 | ||||
-rw-r--r-- | users/spidey3/unicode.h | 3 |
7 files changed, 28 insertions, 3 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 diff --git a/users/spidey3/init.c b/users/spidey3/init.c index 014dfdc3c4..bd6ea5cac9 100644 --- a/users/spidey3/init.c +++ b/users/spidey3/init.c @@ -1,3 +1,6 @@ +// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3) +// SPDX-License-Identifier: GPL-2.0-or-later + #include "spidey3.h" void keyboard_post_init_user(void) { diff --git a/users/spidey3/layer_rgb.c b/users/spidey3/layer_rgb.c index 77558016d0..671205362f 100644 --- a/users/spidey3/layer_rgb.c +++ b/users/spidey3/layer_rgb.c @@ -1,3 +1,6 @@ +// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H #include "spidey3.h" diff --git a/users/spidey3/spidey3.c b/users/spidey3/spidey3.c index 651c750465..e993f4828e 100644 --- a/users/spidey3/spidey3.c +++ b/users/spidey3/spidey3.c @@ -1,3 +1,6 @@ +// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H #include "spidey3.h" diff --git a/users/spidey3/spidey3.h b/users/spidey3/spidey3.h index 6d73c669bc..e96ab7a145 100644 --- a/users/spidey3/spidey3.h +++ b/users/spidey3/spidey3.h @@ -1,3 +1,6 @@ +// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3) +// SPDX-License-Identifier: GPL-2.0-or-later + #pragma once #include QMK_KEYBOARD_H @@ -10,6 +13,7 @@ enum userspace_layers { _BASE = 0, _NUMPAD, _FN, + _GLYPH, }; enum custom_keycodes { @@ -32,10 +36,7 @@ enum custom_keycodes { SPI_MATH, SPI_GFLOCK, SPI_KP_00, - -#ifdef RGBLIGHT_ENABLE SPI_GLO, -#endif }; #ifdef RGBLIGHT_ENABLE diff --git a/users/spidey3/unicode.c b/users/spidey3/unicode.c index 39a990674c..5292b0809b 100644 --- a/users/spidey3/unicode.c +++ b/users/spidey3/unicode.c @@ -1,3 +1,6 @@ +// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3) +// SPDX-License-Identifier: GPL-2.0-or-later + #include "unicode.h" diff --git a/users/spidey3/unicode.h b/users/spidey3/unicode.h index 6182669fb0..ee8e00056c 100644 --- a/users/spidey3/unicode.h +++ b/users/spidey3/unicode.h @@ -1,3 +1,6 @@ +// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3) +// SPDX-License-Identifier: GPL-2.0-or-later + #pragma once #include QMK_KEYBOARD_H |