diff options
| -rw-r--r-- | keyboards/keebio/quefrency/rev1/config.h | 3 | ||||
| -rw-r--r-- | keyboards/keebio/quefrency/rev1/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/keebio/quefrency/rev2/config.h | 5 | ||||
| -rw-r--r-- | keyboards/keebio/quefrency/rev2/rev2.c | 31 | ||||
| -rw-r--r-- | keyboards/keebio/quefrency/rev2/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/keebio/quefrency/rules.mk | 20 |
6 files changed, 44 insertions, 17 deletions
diff --git a/keyboards/keebio/quefrency/rev1/config.h b/keyboards/keebio/quefrency/rev1/config.h index 15771f531..815a3e197 100644 --- a/keyboards/keebio/quefrency/rev1/config.h +++ b/keyboards/keebio/quefrency/rev1/config.h | |||
| @@ -55,3 +55,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 55 | #define RGB_DI_PIN D3 | 55 | #define RGB_DI_PIN D3 |
| 56 | #define RGBLIGHT_ANIMATIONS | 56 | #define RGBLIGHT_ANIMATIONS |
| 57 | #define RGBLED_NUM 16 // Number of LEDs | 57 | #define RGBLED_NUM 16 // Number of LEDs |
| 58 | |||
| 59 | // Set 65% column (option 1) and Macro (option 2) on by default | ||
| 60 | #define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x06 | ||
diff --git a/keyboards/keebio/quefrency/rev1/rules.mk b/keyboards/keebio/quefrency/rev1/rules.mk index e69de29bb..58e9a76b2 100644 --- a/keyboards/keebio/quefrency/rev1/rules.mk +++ b/keyboards/keebio/quefrency/rev1/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| BOOTLOADER = caterina | |||
diff --git a/keyboards/keebio/quefrency/rev2/config.h b/keyboards/keebio/quefrency/rev2/config.h index d18b7be1f..ba85dc0f6 100644 --- a/keyboards/keebio/quefrency/rev2/config.h +++ b/keyboards/keebio/quefrency/rev2/config.h | |||
| @@ -47,6 +47,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | #define DEBOUNCE 5 | 47 | #define DEBOUNCE 5 |
| 48 | 48 | ||
| 49 | #define BACKLIGHT_PIN B5 | 49 | #define BACKLIGHT_PIN B5 |
| 50 | #define CAPS_LOCK_LED_PIN B6 | ||
| 50 | 51 | ||
| 51 | /* serial.c configuration for split keyboard */ | 52 | /* serial.c configuration for split keyboard */ |
| 52 | #define SOFT_SERIAL_PIN D0 | 53 | #define SOFT_SERIAL_PIN D0 |
| @@ -62,3 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 62 | #define RGBLED_NUM 16 // Number of LEDs | 63 | #define RGBLED_NUM 16 // Number of LEDs |
| 63 | #define RGBLED_SPLIT { 8, 8 } | 64 | #define RGBLED_SPLIT { 8, 8 } |
| 64 | #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } | 65 | #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } |
| 66 | |||
| 67 | // Set 65% column (option 3) and Macro (option 4) on by default | ||
| 68 | #define VIA_EEPROM_LAYOUT_OPTIONS_DEFAULT 0x0018 | ||
| 69 | #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 | ||
diff --git a/keyboards/keebio/quefrency/rev2/rev2.c b/keyboards/keebio/quefrency/rev2/rev2.c index d713a0ff3..69edfd415 100644 --- a/keyboards/keebio/quefrency/rev2/rev2.c +++ b/keyboards/keebio/quefrency/rev2/rev2.c | |||
| @@ -1 +1,32 @@ | |||
| 1 | #include "quefrency.h" | 1 | #include "quefrency.h" |
| 2 | #include "split_util.h" | ||
| 3 | |||
| 4 | void matrix_init_kb(void) { | ||
| 5 | setPinOutput(CAPS_LOCK_LED_PIN); | ||
| 6 | matrix_init_user(); | ||
| 7 | } | ||
| 8 | |||
| 9 | bool led_update_kb(led_t led_state) { | ||
| 10 | // Only update if left half | ||
| 11 | if (isLeftHand && led_update_user(led_state)) { | ||
| 12 | writePin(CAPS_LOCK_LED_PIN, !led_state.caps_lock); | ||
| 13 | } | ||
| 14 | return true; | ||
| 15 | } | ||
| 16 | |||
| 17 | void eeconfig_init_kb(void) { | ||
| 18 | #ifdef BACKLIGHT_ENABLE | ||
| 19 | backlight_enable(); | ||
| 20 | backlight_level(3); | ||
| 21 | #endif | ||
| 22 | #ifdef RGBLIGHT_ENABLE | ||
| 23 | rgblight_enable(); // Enable RGB by default | ||
| 24 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 25 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 26 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 27 | #endif | ||
| 28 | #endif | ||
| 29 | |||
| 30 | eeconfig_update_kb(0); | ||
| 31 | eeconfig_init_user(); | ||
| 32 | } | ||
diff --git a/keyboards/keebio/quefrency/rev2/rules.mk b/keyboards/keebio/quefrency/rev2/rules.mk index 32e788159..0a368deb4 100644 --- a/keyboards/keebio/quefrency/rev2/rules.mk +++ b/keyboards/keebio/quefrency/rev2/rules.mk | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | BOOTLOADER = atmel-dfu | ||
| 1 | BACKLIGHT_ENABLE = yes | 2 | BACKLIGHT_ENABLE = yes |
| 2 | RGBLIGHT_ENABLE = yes | 3 | RGBLIGHT_ENABLE = yes |
| 3 | ENCODER_ENABLE = yes | 4 | ENCODER_ENABLE = yes |
diff --git a/keyboards/keebio/quefrency/rules.mk b/keyboards/keebio/quefrency/rules.mk index a13f0478b..2c5ad0c36 100644 --- a/keyboards/keebio/quefrency/rules.mk +++ b/keyboards/keebio/quefrency/rules.mk | |||
| @@ -1,32 +1,18 @@ | |||
| 1 | # MCU name | 1 | # MCU name |
| 2 | MCU = atmega32u4 | 2 | MCU = atmega32u4 |
| 3 | 3 | ||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = caterina | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 16 | # the appropriate keymap folder that will get included automatically | ||
| 17 | # | ||
| 18 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | 4 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration |
| 19 | MOUSEKEY_ENABLE = no # Mouse keys | 5 | MOUSEKEY_ENABLE = no # Mouse keys |
| 20 | EXTRAKEY_ENABLE = yes # Audio control and System control | 6 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 21 | CONSOLE_ENABLE = yes # Console for debug | 7 | CONSOLE_ENABLE = yes # Console for debug |
| 22 | COMMAND_ENABLE = no # Commands for debug and configuration | 8 | COMMAND_ENABLE = no # Commands for debug and configuration |
| 23 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 9 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 10 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 25 | MIDI_ENABLE = no # MIDI controls | 11 | MIDI_ENABLE = no # MIDI controls |
| 26 | AUDIO_ENABLE = no # Audio output on port C6 | 12 | AUDIO_ENABLE = no # Audio output on port C6 |
| 27 | UNICODE_ENABLE = no # Unicode | 13 | UNICODE_ENABLE = no # Unicode |
| 28 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | 14 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID |
| 29 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | 15 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. |
| 30 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | 16 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE |
| 31 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 17 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 32 | 18 | ||
