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.

55 lines
1.5 KiB

  1. /*
  2. QMK Firmware for dekuNukem/duckyPad
  3. Copyright (C) 2020 Max Bridgland <@M4cs>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. #include "config_common.h"
  17. #define VENDOR_ID 0xFEED
  18. #define PRODUCT_ID 0x0B91
  19. #define DEVICE_VER 0x0001
  20. #define MANUFACTURER dekuNukem
  21. #define PRODUCT duckyPad
  22. #define MATRIX_ROWS 1
  23. #define MATRIX_COLS 17
  24. #define DIRECT_PINS {{ B13, B14, B15, A8, A15, B3, B4, B5, B6, B7, C13, C14, C15, F0, F1, A1, A2 }}
  25. #define RGB_DI_PIN A10
  26. #define RGBLED_NUM 15
  27. #define DRIVER_LED_TOTAL 15
  28. #define RGB_MATRIX_KEYPRESSES
  29. #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  30. #define RGB_MATRIX_STARTUP_HUE 221
  31. #define I2C1_SCL 8
  32. #define I2C1_SDA 9
  33. #define I2C1_SCL_PAL_MODE 1
  34. #define I2C1_SDA_PAL_MODE 1
  35. #define OLED_DISPLAY_ADDRESS 0x3C
  36. #define OLED_DISPLAY_128X64
  37. #define OLED_COM_PINS 0x12
  38. #define OLED_IC OLED_IC_SH1106
  39. #define OLED_COLUMN_OFFSET 2