]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/xealous/config.h
Make quantum/split_common/serial.[ch] configurable (#4419)
[qmk_firmware.git] / keyboards / handwired / xealous / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #pragma once
20 #include "config_common.h"
21
22 /* Use I2C or Serial, not both */
23
24 #define USE_I2C
25 #define SCL_CLOCK  400000UL
26
27 // #define USE_SERIAL
28 /* serial.c configuration for split keyboard */
29 // #define SOFT_SERIAL_PIN D0
30
31 /* Select hand configuration */
32
33 #define MASTER_LEFT
34 // #define MASTER_RIGHT
35 // #define EE_HANDS
36
37
38 //#define DEBUG_MATRIX_SCAN_RATE //Use this to determine scan-rate.
39 #define FORCE_NKRO
40
41 #define QMK_KEYS_PER_SCAN 4 //if we press four keys simultaneously, lets process them simultaneously...
42 #define DIODE_DIRECTION COL2ROW
43
44 #ifdef AUDIO_ENABLE
45   #define C6_AUDIO
46   #define STARTUP_SONG SONG(STARTUP_SOUND)
47   #define NO_MUSIC_MODE
48   #define TONE_QWERTY SONG(Q__NOTE(_E4));
49   #define TONE_NUMPAD SONG(Q__NOTE(_D4));
50 #endif
51