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.

74 lines
1.9 KiB

  1. /* Copyright
  2. * 2017 Josh Black (@consolenaut)
  3. * 2021 QMK
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU 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 0x5241 // "RA"
  22. #define PRODUCT_ID 0x00AA // 10-A
  23. #define DEVICE_VER 0x0001
  24. #define MANUFACTURER RAMA WORKS
  25. #define PRODUCT RAMA WORKS M10-A
  26. /* key matrix size */
  27. #define MATRIX_ROWS 4
  28. #define MATRIX_COLS 3
  29. /* Planck PCB default pin-out */
  30. #define MATRIX_ROW_PINS { B6, F7, F6, D6 }
  31. #define MATRIX_COL_PINS { F5, F1, F0 }
  32. #define UNUSED_PINS
  33. #define BACKLIGHT_PIN B7
  34. /* COL2ROW or ROW2COL */
  35. #define DIODE_DIRECTION ROW2COL
  36. /* define if matrix has ghost */
  37. //#define MATRIX_HAS_GHOST
  38. /* number of backlight levels */
  39. #define BACKLIGHT_LEVELS 6
  40. /* Set 0 if debouncing isn't needed */
  41. #define DEBOUNCE 5
  42. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  43. #define LOCKING_SUPPORT_ENABLE
  44. /* Locking resynchronize hack */
  45. #define LOCKING_RESYNC_ENABLE
  46. /*
  47. * Feature disable options
  48. * These options are also useful to firmware size reduction.
  49. */
  50. /* disable debug print */
  51. //#define NO_DEBUG
  52. /* disable print */
  53. //#define NO_PRINT
  54. /* disable action features */
  55. //#define NO_ACTION_LAYER
  56. //#define NO_ACTION_TAPPING
  57. //#define NO_ACTION_ONESHOT
  58. //#define NO_ACTION_MACRO
  59. //#define NO_ACTION_FUNCTION