aboutsummaryrefslogtreecommitdiff
path: root/keyboard/macway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/macway/config.h')
-rw-r--r--keyboard/macway/config.h25
1 files changed, 12 insertions, 13 deletions
diff --git a/keyboard/macway/config.h b/keyboard/macway/config.h
index 6ab0dec92..b88f898e2 100644
--- a/keyboard/macway/config.h
+++ b/keyboard/macway/config.h
@@ -29,19 +29,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
29#define MANUFACTURER t.m.k. 29#define MANUFACTURER t.m.k.
30#define PRODUCT Macway mod 30#define PRODUCT Macway mod
31 31
32
33/* message strings */ 32/* message strings */
34#define DESCRIPTION t.m.k. keyboard firmware for Macway mod 33#define DESCRIPTION t.m.k. keyboard firmware for Macway mod
35 34
36
37/* matrix size */ 35/* matrix size */
38#define MATRIX_ROWS 9 36#define MATRIX_ROWS 9
39#define MATRIX_COLS 8 37#define MATRIX_COLS 8
38
40/* define if matrix has ghost */ 39/* define if matrix has ghost */
41#define MATRIX_HAS_GHOST 40#define MATRIX_HAS_GHOST
41
42/* Set 0 if need no debouncing */ 42/* Set 0 if need no debouncing */
43#define DEBOUNCE 5 43#define DEBOUNCE 5
44 44
45/* legacy keymap support */
46#define USE_LEGACY_KEYMAP
45 47
46/* key combination for command */ 48/* key combination for command */
47#define IS_COMMAND() ( \ 49#define IS_COMMAND() ( \
@@ -49,17 +51,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
49 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ 51 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
50) 52)
51 53
52 54/* Boot Section Size in *BYTEs*
53/* layer switching */ 55 * Teensy halfKay 512
54#define LAYER_SWITCH_DELAY 100 56 * Teensy++ halfKay 1024
55#define LAYER_SEND_FN_TERM 300 57 * Atmel DFU loader 4096
56 58 * LUFA bootloader 4096
57 59 * USBaspLoader 2048
58/* mouse keys */ 60 */
59#ifdef MOUSEKEY_ENABLE 61#define BOOTLOADER_SIZE 4096
60# define MOUSEKEY_DELAY_TIME 192
61#endif
62
63 62
64/* PS/2 mouse */ 63/* PS/2 mouse */
65#ifdef PS2_MOUSE_ENABLE 64#ifdef PS2_MOUSE_ENABLE