From 8da57c50bec70fcc82ee186a577106149bc67ddc Mon Sep 17 00:00:00 2001 From: kemonine Date: Mon, 16 Nov 2020 19:17:48 -0500 Subject: [PATCH] Update tidbit sources to match outbound PR on GitHub --- qmk/keyboards/nullbitsco/tidbit/config.h | 4 ---- .../nullbitsco/tidbit/keymaps/14seg/config.h | 19 +++++++++++++++++++ .../tidbit/keymaps/19keypad/keymap.c | 2 +- .../tidbit/keymaps/default/keymap.c | 2 +- .../nullbitsco/tidbit/keymaps/via/config.h | 19 +++++++++++++++++++ 5 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 qmk/keyboards/nullbitsco/tidbit/keymaps/14seg/config.h create mode 100644 qmk/keyboards/nullbitsco/tidbit/keymaps/via/config.h diff --git a/qmk/keyboards/nullbitsco/tidbit/config.h b/qmk/keyboards/nullbitsco/tidbit/config.h index 8e1b5899..55a21591 100644 --- a/qmk/keyboards/nullbitsco/tidbit/config.h +++ b/qmk/keyboards/nullbitsco/tidbit/config.h @@ -45,10 +45,6 @@ #define RGBLED_NUM 8 #define RGBLIGHT_ANIMATIONS -/* Optional encoder pins */ -//#define ENCODERS_PAD_A { B5, B3 } -//#define ENCODERS_PAD_B { B4, B2 } - /* Additional optional encoder pins */ // #define ENCODERS_PAD_A { D1, D0 } //Can only be used if I2C is not used // #define ENCODERS_PAD_B { D3, D2 } //Can only be used if serial (exp) is not used \ No newline at end of file diff --git a/qmk/keyboards/nullbitsco/tidbit/keymaps/14seg/config.h b/qmk/keyboards/nullbitsco/tidbit/keymaps/14seg/config.h new file mode 100644 index 00000000..99e608a6 --- /dev/null +++ b/qmk/keyboards/nullbitsco/tidbit/keymaps/14seg/config.h @@ -0,0 +1,19 @@ +/* Copyright 2020 Jay Greco + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + +#define ENCODERS_PAD_A { B2 } +#define ENCODERS_PAD_B { B3 } \ No newline at end of file diff --git a/qmk/keyboards/nullbitsco/tidbit/keymaps/19keypad/keymap.c b/qmk/keyboards/nullbitsco/tidbit/keymaps/19keypad/keymap.c index 420f9cd3..24529c3b 100644 --- a/qmk/keyboards/nullbitsco/tidbit/keymaps/19keypad/keymap.c +++ b/qmk/keyboards/nullbitsco/tidbit/keymaps/19keypad/keymap.c @@ -96,5 +96,5 @@ void led_set_kb(uint8_t usb_led) { if (usb_led & (1<. + */ + + +#define ENCODERS_PAD_A { B2 } +#define ENCODERS_PAD_B { B3 } \ No newline at end of file