config.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* Copyright 2019 albybarber
  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_common.h"
  18. /* USB Device descriptor parameter */
  19. #define VENDOR_ID 0x4142 // "AB"
  20. #define PRODUCT_ID 0x4D55 // "MU"
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER Little Alby
  23. #define PRODUCT Mute
  24. #define USB_MAX_POWER_CONSUMPTION 100
  25. /* key matrix size */
  26. #define MATRIX_ROWS 1
  27. #define MATRIX_COLS 1
  28. /* Default pinout */
  29. /* See arduino micro pinout: https://content.arduino.cc/assets/Pinout-Micro_latest.png
  30. * for pins e.g.
  31. * PB5 = digital pin 9 / analog pin 9
  32. */
  33. #define DIRECT_PINS { \
  34. {B5} \
  35. }
  36. #define UNUSED_PINS
  37. #ifdef RGBLIGHT_ENABLE
  38. #define RGB_DI_PIN B6
  39. #define RGBLED_NUM 1
  40. #endif