draculad updates and fixes

This commit is contained in:
Sadek Baroudi 2021-06-15 14:18:07 -07:00
parent e3a2913903
commit 854f60be2b
5 changed files with 16 additions and 5 deletions

6
bin/build-draculad.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# TODO: consolidate all the build files into one
make draculad:sadekbaroudi ;
cp .build/draculad_sadekbaroudi* /mnt/c/Users/sadek/Google\ Drive/qmk-keyboards/draculad/ ;

View File

@ -0,0 +1,3 @@
// See rgb_stuff.c for how these are applied - I wanted to flip these for my red themed keycaps
#define BASE_LAYER_RGB_HUE 0
#define CAPS_LOCK_RGB_HUE 167

View File

@ -192,8 +192,10 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) {
static void render_status(void) {
oled_write_P(PSTR("This is\n~~~~~~~~~\nDracu\nLad\n~~~~~~~~~\nv1.0\n~~~~~~~~~\n"), false);
#ifdef WPM_ENABLE
sprintf(wpm_as_str, "WPM %03d", get_current_wpm());
oled_write(wpm_as_str,false);
#endif
led_t led_state = host_keyboard_led_state();
oled_write_P(PSTR("\nCaps: "), false);
oled_write_P(led_state.caps_lock ? PSTR("on ") : PSTR("off"), false);

View File

@ -1 +1 @@
MOUSEKEY_ENABLE = no
MOUSEKEY_ENABLE = yes

View File

@ -1,7 +1,6 @@
# MCU name
MCU = atmega32u4
EXTRAFLAGS += -flto
# Bootloader selection
BOOTLOADER = caterina
@ -9,7 +8,7 @@ BOOTLOADER = caterina
# Build Options
# change yes to no to disable
#
MOUSEKEY_ENABLE = yes # Mouse keys
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
@ -20,9 +19,10 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth
AUDIO_ENABLE = no # Audio output
SPLIT_KEYBOARD = yes # Use shared split_common code
OLED_DRIVER_ENABLE = yes
WPM_ENABLE = yes
OLED_DRIVER_ENABLE = no
WPM_ENABLE = no
ENCODER_ENABLE = yes
RGBLIGHT_ENABLE = yes
OLED_DRIVER_ENABLE = yes
RGBLIGHT_ENABLE = yes