You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
809 B
50 lines
809 B
#pragma once
|
|
|
|
#include "WS2812.h"
|
|
#include "generated/keymaps.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
|
|
#define KEYMAPS 3
|
|
#define NUMPAD_KEYMAP 2
|
|
#define KEYMAP_LIST KEYMAP_QWERTY KEYMAP_GENERIC_FN2 KEYMAP_NUMPAD
|
|
|
|
|
|
#endif
|
|
|