qmk_firmware/keyboards/hhkb/ansi/keymaps/shela/config.h

37 lines
1.1 KiB
C
Raw Normal View History

2020-08-05 03:19:27 +00:00
/* Copyright 2020 shela
*
* 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/>.
*/
#pragma once
2016-08-12 12:24:43 +00:00
2020-08-05 03:19:27 +00:00
/* USB Device descriptor parameter */
#undef VENDOR_ID
#define VENDOR_ID 0x0853
#undef PRODUCT_ID
#define PRODUCT_ID 0x0100
#undef DEVICE_VER
#define DEVICE_VER 0x0102
#undef MANUFACTURER
#define MANUFACTURER "Topre Corporation"
2020-08-05 03:19:27 +00:00
#undef PRODUCT
#define PRODUCT "HHKB Professional"
2020-08-05 03:19:27 +00:00
2016-08-12 12:24:43 +00:00
#undef TAPPING_TERM
2020-08-05 03:19:27 +00:00
#define TAPPING_TERM 210
#define SPFN_TAPPING_TERM 190 /* SpaceFN tapping term */
2016-08-12 12:24:43 +00:00
2020-08-05 03:19:27 +00:00
#define ONESHOT_TAP_TOGGLE 3
2016-08-12 12:24:43 +00:00
#define ONESHOT_TIMEOUT 2000