config.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* Copyright 2020 shela
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #include "../../config.h"
  18. /* USB Device descriptor parameter */
  19. #undef VENDOR_ID
  20. #define VENDOR_ID 0x0853
  21. #undef PRODUCT_ID
  22. #define PRODUCT_ID 0x0100
  23. #undef DEVICE_VER
  24. #define DEVICE_VER 0x0102
  25. #undef MANUFACTURER
  26. #define MANUFACTURER Topre Corporation
  27. #undef PRODUCT
  28. #define PRODUCT HHKB Professional
  29. #undef TAPPING_TERM
  30. #define TAPPING_TERM 210
  31. #define SPFN_TAPPING_TERM 190 /* SpaceFN tapping term */
  32. #define ONESHOT_TAP_TOGGLE 3
  33. #define ONESHOT_TIMEOUT 2000