Update tidbit sources to match outbound PR on GitHub
This commit is contained in:
parent
b5dd2bec95
commit
8da57c50be
|
@ -45,10 +45,6 @@
|
||||||
#define RGBLED_NUM 8
|
#define RGBLED_NUM 8
|
||||||
#define RGBLIGHT_ANIMATIONS
|
#define RGBLIGHT_ANIMATIONS
|
||||||
|
|
||||||
/* Optional encoder pins */
|
|
||||||
//#define ENCODERS_PAD_A { B5, B3 }
|
|
||||||
//#define ENCODERS_PAD_B { B4, B2 }
|
|
||||||
|
|
||||||
/* Additional optional encoder pins */
|
/* Additional optional encoder pins */
|
||||||
// #define ENCODERS_PAD_A { D1, D0 } //Can only be used if I2C is not used
|
// #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
|
// #define ENCODERS_PAD_B { D3, D2 } //Can only be used if serial (exp) is not used
|
19
qmk/keyboards/nullbitsco/tidbit/keymaps/14seg/config.h
Normal file
19
qmk/keyboards/nullbitsco/tidbit/keymaps/14seg/config.h
Normal file
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#define ENCODERS_PAD_A { B2 }
|
||||||
|
#define ENCODERS_PAD_B { B3 }
|
|
@ -96,5 +96,5 @@ void led_set_kb(uint8_t usb_led) {
|
||||||
if (usb_led & (1<<USB_LED_NUM_LOCK))
|
if (usb_led & (1<<USB_LED_NUM_LOCK))
|
||||||
set_bitc_LED(LED_ON);
|
set_bitc_LED(LED_ON);
|
||||||
else
|
else
|
||||||
set_bitc_LED(LED_OFF);
|
set_bitc_LED(LED_DIM);
|
||||||
}
|
}
|
|
@ -104,7 +104,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
|
||||||
|
|
||||||
void led_set_kb(uint8_t usb_led) {
|
void led_set_kb(uint8_t usb_led) {
|
||||||
if (usb_led & (1<<USB_LED_NUM_LOCK))
|
if (usb_led & (1<<USB_LED_NUM_LOCK))
|
||||||
set_bitc_LED(LED_ON);
|
set_bitc_LED(LED_DIM);
|
||||||
else
|
else
|
||||||
set_bitc_LED(LED_OFF);
|
set_bitc_LED(LED_OFF);
|
||||||
}
|
}
|
19
qmk/keyboards/nullbitsco/tidbit/keymaps/via/config.h
Normal file
19
qmk/keyboards/nullbitsco/tidbit/keymaps/via/config.h
Normal file
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#define ENCODERS_PAD_A { B2 }
|
||||||
|
#define ENCODERS_PAD_B { B3 }
|
Loading…
Reference in a new issue