]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/handwired/bluepill/config.h
Add Bluepill (stm32f103) handwired keyboard (#4126)
[qmk_firmware.git] / keyboards / handwired / bluepill / config.h
1 /*
2 Copyright 2015 Jun Wako <wakojun@gmail.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #pragma once
19
20 /* define if matrix has ghost */
21 //#define MATRIX_HAS_GHOST
22
23 /* Set 0 if debouncing isn't needed */
24 //  Modified by Xydane
25 #define DEBOUNCE    1
26
27 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
28 //#define LOCKING_SUPPORT_ENABLE
29 /* Locking resynchronize hack */
30 //#define LOCKING_RESYNC_ENABLE
31
32 /* key combination for command */
33 #define IS_COMMAND() ( \
34   keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
35 )
36
37 /* Backlighting include */
38 /*#define BACKLIGHT_PIN 19
39 #define BACKLIGHT_LEVELS 5
40 #define BACKLIGHT_BREATHING
41 #define BREATHING_PERIOD 6*/
42 /*
43  * Feature disable options
44  *  These options are also useful to firmware size reduction.
45  */
46
47 /* disable debug print */
48 //#define NO_DEBUG
49
50 /* disable print */
51 //#define NO_PRINT
52
53 /* disable action features */
54 //#define NO_ACTION_LAYER
55 //#define NO_ACTION_TAPPING
56 //#define NO_ACTION_ONESHOT
57 //#define NO_ACTION_MACRO
58 //#define NO_ACTION_FUNCTION