You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.8 KiB
72 lines
1.8 KiB
14 years ago
|
/*
|
||
9 years ago
|
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
||
14 years ago
|
|
||
|
This program is free software: you can redistribute it and/or modify
|
||
|
it under the terms of the GNU General Public License as published by
|
||
|
the Free Software Foundation, either version 2 of the License, or
|
||
|
(at your option) any later version.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
|
||
14 years ago
|
#ifndef CONFIG_H
|
||
|
#define CONFIG_H
|
||
|
|
||
9 years ago
|
#include "config_common.h"
|
||
13 years ago
|
|
||
9 years ago
|
/* USB Device descriptor parameter */
|
||
14 years ago
|
#define VENDOR_ID 0xFEED
|
||
13 years ago
|
#define PRODUCT_ID 0xCAFE
|
||
11 years ago
|
#define DEVICE_VER 0x0104
|
||
9 years ago
|
#define MANUFACTURER q.m.k
|
||
14 years ago
|
#define PRODUCT HHKB mod
|
||
9 years ago
|
#define DESCRIPTION q.m.k keyboard firmware for HHKB
|
||
13 years ago
|
|
||
9 years ago
|
/* key matrix size */
|
||
|
#define MATRIX_ROWS 8
|
||
14 years ago
|
#define MATRIX_COLS 8
|
||
|
|
||
9 years ago
|
#define TAPPING_TERM 200
|
||
12 years ago
|
|
||
9 years ago
|
/* number of backlight levels */
|
||
|
#define BACKLIGHT_LEVELS 3
|
||
14 years ago
|
|
||
9 years ago
|
/* Set 0 if debouncing isn't needed */
|
||
|
#define DEBOUNCE 5
|
||
12 years ago
|
|
||
9 years ago
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||
|
//#define LOCKING_SUPPORT_ENABLE
|
||
|
/* Locking resynchronize hack */
|
||
|
//#define LOCKING_RESYNC_ENABLE
|
||
11 years ago
|
|
||
9 years ago
|
/* key combination for command */
|
||
|
#define IS_COMMAND() ( \
|
||
|
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
|
||
|
)
|
||
11 years ago
|
|
||
14 years ago
|
/*
|
||
12 years ago
|
* Feature disable options
|
||
|
* These options are also useful to firmware size reduction.
|
||
9 years ago
|
*/
|
||
|
|
||
12 years ago
|
/* disable debug print */
|
||
|
//#define NO_DEBUG
|
||
|
|
||
|
/* disable print */
|
||
|
//#define NO_PRINT
|
||
|
|
||
|
/* disable action features */
|
||
12 years ago
|
//#define NO_ACTION_LAYER
|
||
12 years ago
|
//#define NO_ACTION_TAPPING
|
||
|
//#define NO_ACTION_ONESHOT
|
||
|
//#define NO_ACTION_MACRO
|
||
|
//#define NO_ACTION_FUNCTION
|
||
14 years ago
|
|
||
|
#endif
|