Custom QMK environment.
 
 
 
 
 
Go to file
Mark 51700d272e
Added raw HID test code
2022-06-17 12:36:00 -07:00
keymaps/default Added raw HID test code 2022-06-17 12:36:00 -07:00
util Initial commit: added first config 2022-02-06 12:00:50 -08:00
.gitignore Minor changes 2022-02-06 12:21:05 -08:00
betalupi_ergodox.c Moved RGBLIGHT keycodes to betalupi_ergodox.c 2022-06-17 12:06:53 -07:00
betalupi_ergodox.h Moved RGBLIGHT keycodes to betalupi_ergodox.c 2022-06-17 12:06:53 -07:00
config.h Moved RGBLIGHT keycodes to betalupi_ergodox.c 2022-06-17 12:06:53 -07:00
info.json Minor changes 2022-02-06 12:21:05 -08:00
led_i2c.c Disabled ERGODOX_LED_X code 2022-06-16 11:20:06 -07:00
matrix.c Removed LEFT_LEDS code 2022-06-16 11:15:18 -07:00
post_config.h Added code for right-hand backlight mod 2022-06-15 16:29:22 -07:00
readme.md Moved RGBLIGHT keycodes to betalupi_ergodox.c 2022-06-17 12:06:53 -07:00
rules.mk Added raw HID test code 2022-06-17 12:36:00 -07:00

readme.md

Betalupi Ergodox

This is a modified version of the ZSA ErgoDox firmware, based on the ergodox_ex/glow keyboard.


Setup

Clone this repo into keyboards/betalupi_ergodox in your qmk directory.

Make example for this keyboard (after setting up your build environment):

make betalupi_ergodox:default:flash

If you get array-bounds errors on build, you may have a bad avr-gcc version. Read this issue, and try

AVR_CFLAGS="-Wno-array-bounds"

See the build environment setup and the make instructions for more information.


Notes

Custom keycodes (betalupi_keyboard.c)

// Custom RGBLIGHT macros
LIGHT_TOG, // Toggle backlight
LIGHT_HUI, // Increase backlight hue
LIGHT_HUD, // Decrease backlight hue
LIGHT_SAI, // Increase backlight sat
LIGHT_SAD, // Decrease backlight sat
LIGHT_VAI, // Increase backlight val
LIGHT_VAD, // Decrease backlight val
LIGHT_SPI, // Increase backlight speed
LIGHT_SPD, // Decrease backlight speed
LIGHT_MOD, // Change backlight animation mode

Notes from ZSA

Indicator LEDs

You can use the LED_LEVEL keycode to cycle through the brightness levels for the LEDs on the top right of the keyboard. These settings are saved in eeprom (persistant memory).

Alternatively, you can set the brightness by calling the following functions:

void ergodox_led_all_set(uint8_t level);
void ergodox_right_led_1_set(uint8_t level);
void ergodox_right_led_2_set(uint8_t level);
void ergodox_right_led_3_set(uint8_t level);

These settings are not persistent, so you'd need to reset it every time the board starts.

These are on a 0-255 scale

RGB Matrix Features

If you're using the Smart LED (layer indication) feature from the Oryx Configurator, you want to make sure that you enable these options by adding #define ORYX_CONFIGURATOR to your keymap's config.h.

This changes the RGB_TOG keycode so that it will toggle the lights on and off, in a way that will allow the Smart LEDs to continue to work, even with the rest of the LEDs turned off.

Additionally, a new keycode has been added to toggle the Smart LEDs. Use TOGGLE_LAYER_COLOR, if you aren't already.