qmk-firmware/keyboards/ergodox_ez
drashna 2c703b1528 Fix RGBLIGHT startup color (#1975)
* Fix RGBLIGHT startup color

While it's awesome to see the layer indicating code in here (no really!), and the general rule is to not alter the default keymap/code....

The problem with the layer_state_set_kb call handling this, is that the code doesn't seem to be called at startup.  So the default layer color won't ever get set on startup.  It needs to be called in the init function to be properly set. 

I've played with this extensively, and if you check my keymaps, that is precisely why I have the setrgb/sethsv in the init function.

* Removed typo (pipe)
2017-11-06 11:43:38 -05:00
..
keymaps Fix RGBLIGHT startup color (#1975) 2017-11-06 11:43:38 -05:00
util
190hotfix.sh
config.h adds indication up to layer 7 2017-11-06 09:19:51 -05:00
ergodox_ez.c implement ergodox_left_leds_update in ergodox_ez 2017-10-27 13:34:03 -07:00
ergodox_ez.h
i2cmaster.h
matrix.c update left led support 2017-10-27 13:24:30 -07:00
readme.md
rules.mk document how to define LEFT_LEDS and how that hack is done 2017-10-27 13:46:51 -07:00
twimaster.c

readme.md

ErgoDox EZ

The Ez uses the Teensy Loader.

Linux users need to modify udev rules as described on the Teensy Linux page. Some distributions provide a binary, maybe called teensy-loader-cli.

To flash the firmware:

  • Build the firmware with make keymapname, for example make default

  • This will result in a hex file called ergodox_ez_keymapname.hex, e.g. ergodox_ez_default.hex

  • Start the teensy loader.

  • Load the .hex file into it.

  • Press the Reset button by inserting a paperclip gently into the reset hole in the top right corder.

  • Click the button in the Teensy app to download the firmware.

To flash with ´teensy-loader-cli´:

  • Build the firmware with make keymapname, for example make default

  • Run ´<path/to/>teensy_loader_cli -mmcu=atmega32u4 -w ergodox_ez_.hex´

  • Press the Reset button by inserting a paperclip gently into the reset hole in the top right corder.