|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "WS2812.h"
|
|
|
|
#define EEPROM_KEYMAP_LOCATION 0
|
|
|
|
|
|
|
|
#define MODEL01 true
|
|
|
|
|
|
|
|
#ifdef SYMMETRIC60
|
|
|
|
#define ROWS 5
|
|
|
|
#define COLS 14
|
|
|
|
static const byte colPins[COLS] = {
|
|
|
|
A0, 3,13, 5, 10, 9, 8, 6, 12, 4, 11, 1, 0, 2
|
|
|
|
};
|
|
|
|
|
|
|
|
static const byte rowPins[ROWS] = { A5,A4,A3,A2,A1};
|
|
|
|
#define LED_DATA_PIN 7
|
|
|
|
#define LED_COUNT 0
|
|
|
|
static const int key_led_map[ROWS][COLS] = {};
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef MODEL01
|
|
|
|
|
|
|
|
|
|
|
|
int RIGHT_COLS=8;
|
|
|
|
int RIGHT_ROWS=4;
|
|
|
|
|
|
|
|
|
|
|
|
int LEFT_COLS=8;
|
|
|
|
int LEFT_ROWS=4;
|
|
|
|
int left_colpins[]= {7,6,5,4,3,2,1,0};
|
|
|
|
int left_rowpins[]= {8,9,10,11};
|
|
|
|
|
|
|
|
int right_colpins[]= {0,1,2,3,4,5,6,7};
|
|
|
|
int right_rowpins[]= {8,9,10,11};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define COLS 16
|
|
|
|
#define ROWS 4
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|