qmk/keyboards/planck/planck.h
noroadsleft 5f0ab5a24b [Keyboard] Planck Layout Macro Refactor, Part II (#6156)
* Move layout macros to revision folders

* Update Planck EZ layout macros

Planck EZ only supports one layout (centered 2u spacebar). Deleted all the other macros.

* Flesh out QMK Configurator support

Give each Planck revision its own info.json file.

* Readme updates

- give each revision its own readme
- add the Planck EZ to the main Planck readme

* Fix layout macro for Planck EZ

Previous matrix didn't compile because the electrical matrix defined a k3b location, which was unused by the physical arguments.

Drashna was kind enough to confirm the Planck EZ's matrix for me.

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Pretend the Planck EZ supports ortho_4x12 layout

The hardware doesn't, but doing so prevents CI errors because the default keymap uses LAYOUT_planck_grid.

Going to pretend LAYOUT_ortho_4x12 is a valid layout for the Planck EZ.

* Update Planck EZ's URL in info.json

Co-Authored-By: Drashna Jaelre <drashna@live.com>
2019-06-19 10:56:20 -07:00

27 lines
617 B
C

#ifndef PLANCK_H
#define PLANCK_H
#include "quantum.h"
#define encoder_update(clockwise) encoder_update_user(uint8_t index, clockwise)
#if defined(KEYBOARD_planck_ez)
#include "ez.h"
#elif defined(KEYBOARD_planck_light)
#include "light.h"
#elif defined(KEYBOARD_planck_rev1)
#include "rev1.h"
#elif defined(KEYBOARD_planck_rev2)
#include "rev2.h"
#elif defined(KEYBOARD_planck_rev3)
#include "rev3.h"
#elif defined(KEYBOARD_planck_rev4)
#include "rev4.h"
#elif defined(KEYBOARD_planck_rev5)
#include "rev5.h"
#elif defined(KEYBOARD_planck_rev6)
#include "rev6.h"
#endif // Planck revisions
#endif