qmk-firmware/keyboards/planck/ez
Drashna Jaelre 94efa18c28
[Keyboard] Updates to ZSA boards (#6513)
* Update Layer functions to use layer_state_t in ZSA Boards

* Update Music Mask for ZSA boards

Fixes an issue with the board getting stuck on Adjust layer when activating music mode

* Add Support for SMART LED Toggle to Planck EZ

* Add support for SMART LED toggle in Ergodox EZ

* Ifdef swiss cheeze for Oryx Configurator

* Documentation and updates

* Add Oryx Keymap

* Add option to configure the layers for the Layer Indicator

* Update keymap with better examples

* Make sure eeprom is initialized before reading from it

* Force flush of LED matrix when suspending board

This fixes an issue where the LEDs don't fully clear sometimes when the host system goes to sleep

* Enable RGB Sleeping by default

* Add clarification about planck ez led layer config
2019-08-21 17:19:07 -07:00
..
config.h [Keyboard] Updates to ZSA boards (#6513) 2019-08-21 17:19:07 -07:00
ez.c [Keyboard] Updates to ZSA boards (#6513) 2019-08-21 17:19:07 -07:00
ez.h [Keyboard] Updates to ZSA boards (#6513) 2019-08-21 17:19:07 -07:00
info.json [Keyboard] Planck Layout Macro Refactor, Part II (#6156) 2019-06-19 10:56:20 -07:00
readme.md [Keyboard] Updates to ZSA boards (#6513) 2019-08-21 17:19:07 -07:00
rules.mk Fix Planck and Preonic builds (#5658) 2019-04-29 11:04:56 -07:00

Planck EZ

Planck EZ

A variant of the Planck featuring a 2u spacebar and per-key RGB backlighting.

Keyboard Maintainer: Jack Humbert
Hardware Supported: Planck EZ
Hardware Availability: ergodox-ez.com

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

make planck/ez:default

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.

Planck EZ Configuration (from Oryx)

Indicator LEDs

The two front "teeth" LED indicators are PWM controlled. If you have ORYX_CONFIGURATOR defined in your keymap's config.h, you can use the LED_LEVEL to cycle through preset vales (0, 25%, 50%, 75%, 100%), and will be saved to EEPROM (persistent storage)

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

void planck_ez_right_led_level(uint8_t level);
void planck_ez_left_led_level(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

Layer indication

By default, the indicator lights are used for layer indication, expecting the specific layers used in the default keymap. However, this may not work for you. And if that is the case, you can add #define PLANCK_EZ_USER_LEDS to your config.h file.

This will remove the default behavior for changing the LEDs based on layer, and allow you to control them manually.

Alternatively, you can use the following defines in your keymap's config.h to control which layers are used, as long as you have ORYX_CONFIGURATOR defined in your keymap's config.h file, as well.

#define PLANCK_EZ_LED_LOWER 3
#define PLANCK_EZ_LED_RAISE 4
#define PLANCK_EZ_LED_ADJUST 6

This will allow you to change the layers that are used, without having to add anything code to your keymap.c

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.