keyboard/qmk/keyboards/hhkb/ansi/keymaps/shela/config.h

39 lines
1.1 KiB
C

/* 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
#include "../../config.h"
/* 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
#undef PRODUCT
#define PRODUCT HHKB Professional
#undef TAPPING_TERM
#define TAPPING_TERM 210
#define SPFN_TAPPING_TERM 190 /* SpaceFN tapping term */
#define ONESHOT_TAP_TOGGLE 3
#define ONESHOT_TIMEOUT 2000