diff options
author | Max Bridgland <34947910+M4cs@users.noreply.github.com> | 2021-02-16 13:10:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 10:10:07 -0800 |
commit | ac33dc12dacee480eba67462d985cb4dc7589c7f (patch) | |
tree | 636a8d72d6c56aa02dd0a16bca9f06e9dc994035 /keyboards/dekunukem/duckypad/duckypad.c | |
parent | 9a2b0a5db15a48a0297a4b82665d462361261600 (diff) | |
download | qmk_firmware-ac33dc12dacee480eba67462d985cb4dc7589c7f.tar.gz qmk_firmware-ac33dc12dacee480eba67462d985cb4dc7589c7f.zip |
[Keyboard] Add VIA keymap to duckyPad, update M4cs keymap for duckyPad (#11703)
Co-authored-by: M4cs <mabridgland@protonmail.com>
Diffstat (limited to 'keyboards/dekunukem/duckypad/duckypad.c')
-rw-r--r-- | keyboards/dekunukem/duckypad/duckypad.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/dekunukem/duckypad/duckypad.c b/keyboards/dekunukem/duckypad/duckypad.c index 831a42a048..5cadebd95e 100644 --- a/keyboards/dekunukem/duckypad/duckypad.c +++ b/keyboards/dekunukem/duckypad/duckypad.c @@ -20,6 +20,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "duckypad.h" +#ifdef RGB_MATRIX_ENABLE + led_config_t g_led_config = { { { 2, 1, 0, 3, 4, 5, 8, 7, 6, 9, 10, 11, 14, 13, 12, NO_LED, NO_LED } }, { @@ -42,6 +44,8 @@ led_config_t g_led_config = { { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, } }; +#endif + void keyboard_pre_init_kb(void) { setPinOutput(A0); writePinHigh(A0); |