Fix YMDK NP21 keyboard to use proper keyboard level functions (#3042)

* Use proper function levels

* Add matrix init functions

* Convert KEYMAP to LAYOUT

Or @mechmerlin is going to hunt me down and harm me... probably :)

* Fix conflict issues
This commit is contained in:
Drashna Jaelre 2018-10-01 08:09:57 -07:00 committed by Jack Humbert
parent 9d949389f9
commit 3907ed034b
4 changed files with 19 additions and 9 deletions

View file

@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
void matrix_init_user(void); // TODO port this to other PS2AVRGB boards
#define KEYMAP_GRID( \
#define LAYOUT( \
K01, K02, K03, K04, K05, K06, \
K11, K12, K13, K14, K15, K16, \
K21, K22, K23, K24, K25, K26, \
@ -38,6 +38,4 @@ void matrix_init_user(void); // TODO port this to other PS2AVRGB boards
{ K36, K35, K34, K33, K32, K31 } \
}
#define KEYMAP KEYMAP_GRID
#endif