Refactor Chocopad to support LAYOUT_ortho_4x4 macro (#3106)

* Refactor for Chocopad

* Configurator update

* Chocopad refactor for LAYOUT_ortho_4x4

* info.json update
This commit is contained in:
noroadsleft 2018-06-02 09:15:52 -07:00 committed by Drashna Jaelre
commit 692a77c2dd
4 changed files with 8 additions and 6 deletions

View file

@ -3,7 +3,7 @@
#include "quantum.h"
#define LAYOUT( \
#define LAYOUT_ortho_4x4( \
A1, A2, A3, A4, \
B1, B2, B3, B4, \
C1, C2, C3, C4, \
@ -22,7 +22,7 @@
C1, C2, C3, C4, \
D1, D2, D3, D4 \
) \
LAYOUT( \
LAYOUT_ortho_4x4( \
KC_##A1, KC_##A2, KC_##A3, KC_##A4, \
KC_##B1, KC_##B2, KC_##B3, KC_##B4, \
KC_##C1, KC_##C2, KC_##C3, KC_##C4, \