summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/myskeeb/config.h
blob: ef6dcb13b7ccb708c82f4f573140bd5c399a807e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#pragma once

#include "config_common.h"

/* USB Device Descriptor Parameter */
#define VENDOR_ID       0xFEED
#define PRODUCT_ID      0x6060
#define DEVICE_VER      0x0100
#define MANUFACTURER    DAG3
#define PRODUCT         MySKeeb

// Key Matrix Size //
// Rows are Doubled-up
#define MATRIX_ROWS 10
#define MATRIX_COLS 7

// Wiring of Each Half
#define DIODE_DIRECTION COL2ROW
#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { B6, B2, B3, B1, F6, F7, F5 }
#define MATRIX_COL_PINS_RIGHT { F5, B3, F7, B1, F6, B2, B6 }

// Comunication and Split Detection

#define USE_SERIAL
#define SOFT_SERIAL_PIN D3
#define SELECT_SOFT_SERIAL_SPEED 1
#define SPLIT_USB_DETECT
#define EE_HANDS
#define SPLIT_USB_TIMEOUT 1000

// OLED Display Config

#define OLED_DISPLAY_128X64
#define OLED_FONT_HEIGHT 8
#define OLED_FONT_WIDTH 6
#define OLED_FONT_H "skeeb_font.c"

// Tap Dance

#define TAPPING_TERM 200

// Other

#define DEBOUNCE 0