aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bpiphany/frosty_flake/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bpiphany/frosty_flake/config.h')
-rw-r--r--keyboards/bpiphany/frosty_flake/config.h96
1 files changed, 96 insertions, 0 deletions
diff --git a/keyboards/bpiphany/frosty_flake/config.h b/keyboards/bpiphany/frosty_flake/config.h
new file mode 100644
index 000000000..a60d728ac
--- /dev/null
+++ b/keyboards/bpiphany/frosty_flake/config.h
@@ -0,0 +1,96 @@
1/*
2Copyright 2012 Jun Wako <[email protected]>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x6060
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Bathroom Epiphanies
27#define PRODUCT frosty_flake
28
29/*
30 * Frosty Flake Rev. 20140521 made by Bathroom Ephiphanies
31 * Ported from the Bathroom Epiphanies TMK Firmware:
32 * https://github.com/BathroomEpiphanies/epiphanies_tmk_keyboard/tree/master/be_controllers
33 *
34 */
35
36/* key matrix size */
37#define MATRIX_ROWS 18 // ColA - ColR in the schematic
38#define MATRIX_COLS 8 // Row0 - Row7 in the schematic
39
40/*
41 * Keyboard Matrix Assignments
42 *
43 * MATRIX_ROW_PINS and MATRIX_COL_PINS aren't actually used and are included
44 * for data driven compatibility.
45 */
46#define MATRIX_COL_PINS { B0, B3, B2, B1, B6, B4, B5, C7 }
47#define MATRIX_ROW_PINS { NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
48#define UNUSED_PINS { C0, C1, C2, C3, C4, D2, D7 }
49
50/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
51#define DEBOUNCE 5
52
53/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
54#define LOCKING_SUPPORT_ENABLE
55/* Locking resynchronize hack */
56#define LOCKING_RESYNC_ENABLE
57
58/*
59 * Force NKRO
60 *
61 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
62 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
63 * makefile for this to work.)
64 *
65 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
66 * until the next keyboard reset.
67 *
68 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
69 * fully operational during normal computer usage.
70 *
71 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
72 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
73 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
74 * power-up.
75 *
76 */
77//#define FORCE_NKRO
78
79/*
80 * Feature disable options
81 * These options are also useful to firmware size reduction.
82 */
83
84/* disable debug print */
85//#define NO_DEBUG
86
87/* disable print */
88//#define NO_PRINT
89
90/* disable action features */
91//#define NO_ACTION_LAYER
92//#define NO_ACTION_TAPPING
93//#define NO_ACTION_ONESHOT
94//#define NO_ACTION_MACRO
95//#define NO_ACTION_FUNCTION
96#define DYNAMIC_KEYMAP_LAYER_COUNT 3