summaryrefslogtreecommitdiff
path: root/keyboards/tzarc/ghoul/config.h
blob: c027b77565d820eb1f5856c0f8b18aea9afeca36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2018-2022 Nick Brassel (@tzarc)
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once

// Matrix
#define MATRIX_SHIFT_REGISTER_COUNT 5
// #define MATRIX_ROWS 6 // actually defined in info.json: 5 shift registers, plus one row for extras (i.e. encoder pushbutton read)
// #define MATRIX_COLS 8 // actually defined in info.json: 8 bits per register

// EEPROM configuration
#define EXTERNAL_EEPROM_BYTE_COUNT 8192
#define EXTERNAL_EEPROM_PAGE_SIZE 64 // it's FRAM, so it doesn't actually matter, this just sets the RAM buffer

// RGB configuration
#define RGB_MATRIX_LED_COUNT 40
#define RGBLED_NUM 40