2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
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.
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.
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/>.
22 #include "config_common.h"
24 /* USB Device descriptor parameter */
25 #define VENDOR_ID 0x4131
26 #define PRODUCT_ID 0x5141
27 #define DEVICE_VER 0x0001
28 #define MANUFACTURER XeaLouS
29 #define PRODUCT XeaL60
30 #define DESCRIPTION A split keyboard
33 // Rows are doubled-up
34 #define MATRIX_ROWS 10
37 // wiring of each half
38 // Ascii art of pro micro. Pin names PD3, PD2, etc.
39 //Usage| Name | Label Label| Name | Usage
42 // | PD2 RX1 GND |SerGnd
45 // | PD1 2 A3 PF4 | Col7
46 //Ser | PD0 3 A2 PF5 | Col6
47 //Row4 | PD4 4 A1 PF6 | Col5
48 //AUDIO| PC6 5 A0 PF7 | Col4
49 //Row3 | PD7 6 15 PB1 | Col3
50 //Row2 | PE6 7 14 PB3 | Col2
51 //Row1 | PB4 8 13 PB2 | Col1
52 //Row0 | PB5 9 10 PB6 | Col0
54 // Note reservation of C6 for audio
55 #define MATRIX_ROW_PINS { B5, B4, E6, D7, D4 }
56 #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4 }
58 /* define if matrix has ghost */
59 //#define MATRIX_HAS_GHOST
61 /* number of backlight levels */
62 // #define BACKLIGHT_LEVELS 3
64 /* Set 0 if debouncing isn't needed */
65 #define DEBOUNCING_DELAY 5
67 /* key combination for command */
68 #define IS_COMMAND() ( \
69 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
73 * Feature disable options
74 * These options are also useful to firmware size reduction.
77 /* disable debug print */
83 /* disable action features */
84 //#define NO_ACTION_LAYER
85 //#define NO_ACTION_TAPPING
86 #define NO_ACTION_ONESHOT
87 #define NO_ACTION_MACRO
88 //#define NO_ACTION_FUNCTION
89 #define IGNORE_MOD_TAP_INTERRUPT