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.

82 lines
2.4 KiB

  1. /*
  2. * This file is part of the QMK Firmware distribution (https://github.com/qmk/qmk_firmware).
  3. * Copyright 2018-2021 "kaylanm" <http://github.com/kaylanm> [Melody96]
  4. * Vino Rodrigues <http://github.com/vinorodrigues> [ID96]
  5. *
  6. * This program is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, version 3.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #pragma once
  19. #include "config_common.h"
  20. /* USB Device descriptor parameter */
  21. #define VENDOR_ID 0x6964 // "id"
  22. #define PRODUCT_ID 0x0096
  23. #define DEVICE_VER 0x0001
  24. #define MANUFACTURER IDOBAO
  25. #define PRODUCT ID96
  26. /* key matrix size */
  27. #define MATRIX_ROWS 12
  28. #define MATRIX_COLS 9
  29. /* key matrix pins */
  30. #define MATRIX_ROW_PINS { B7, B3, B2, B1, B0, E6, F0, F1, F4, F5, F6, F7 }
  31. #define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4 }
  32. #define UNUSED_PINS
  33. /* COL2ROW or ROW2COL */
  34. #define DIODE_DIRECTION ROW2COL
  35. #define LED_NUM_LOCK_PIN C6
  36. #define LED_CAPS_LOCK_PIN C7
  37. #define LED_PIN_ON_STATE 0
  38. /* number of backlight levels */
  39. #define BACKLIGHT_PIN B6
  40. #ifdef BACKLIGHT_PIN
  41. #define BACKLIGHT_LEVELS 7
  42. #define BACKLIGHT_BREATHING
  43. #endif
  44. /* Set location for BootMagic key = [ESC] */
  45. #define BOOTMAGIC_LITE_ROW 5
  46. #define BOOTMAGIC_LITE_COLUMN 0
  47. /* Set 0 if debouncing isn't needed */
  48. #define DEBOUNCE 5
  49. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  50. #define LOCKING_SUPPORT_ENABLE
  51. /* Locking resynchronize hack */
  52. #define LOCKING_RESYNC_ENABLE
  53. #define RGB_DI_PIN E2
  54. #ifdef RGB_DI_PIN
  55. #define RGBLIGHT_EFFECT_BREATHING
  56. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  57. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  58. #define RGBLIGHT_EFFECT_SNAKE
  59. #define RGBLIGHT_EFFECT_KNIGHT
  60. #define RGBLIGHT_EFFECT_CHRISTMAS
  61. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  62. #define RGBLIGHT_EFFECT_RGB_TEST
  63. #define RGBLIGHT_EFFECT_ALTERNATING
  64. #define RGBLIGHT_EFFECT_TWINKLE
  65. #define RGBLED_NUM 18
  66. #define RGBLIGHT_HUE_STEP 8
  67. #define RGBLIGHT_SAT_STEP 8
  68. #define RGBLIGHT_VAL_STEP 8
  69. #endif