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.

83 lines
2.3 KiB

  1. /* Copyright 2020 Alexander Tulloh
  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 0xFEED
  20. #define PRODUCT_ID 0xCA49
  21. #define DEVICE_VER 0x0001
  22. #define MANUFACTURER Alexander Tulloh
  23. #define PRODUCT Oddball
  24. /* key matrix size */
  25. #define MATRIX_ROWS 8
  26. #define MATRIX_COLS 6
  27. /* COL2ROW, ROW2COL*/
  28. #define DIODE_DIRECTION COL2ROW
  29. /* Split Keyboard specific options */
  30. #define USE_I2C
  31. #define SPLIT_USB_DETECT
  32. #define MASTER_RIGHT
  33. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  34. #define DEBOUNCE 5
  35. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  36. #define LOCKING_SUPPORT_ENABLE
  37. /* Locking resynchronize hack */
  38. #define LOCKING_RESYNC_ENABLE
  39. /* disable these deprecated features by default */
  40. #define NO_ACTION_MACRO
  41. #define NO_ACTION_FUNCTION
  42. /* optical sensor settings */
  43. #define SCROLL_DIVIDER 12
  44. #define CPI_1 2000
  45. #define CPI_2 4000
  46. #define CPI_3 8000
  47. /*
  48. * MIDI options
  49. */
  50. /* Prevent use of disabled MIDI features in the keymap */
  51. //#define MIDI_ENABLE_STRICT 1
  52. /* enable basic MIDI features:
  53. - MIDI notes can be sent when in Music mode is on
  54. */
  55. //#define MIDI_BASIC
  56. /* enable advanced MIDI features:
  57. - MIDI notes can be added to the keymap
  58. - Octave shift and transpose
  59. - Virtual sustain, portamento, and modulation wheel
  60. - etc.
  61. */
  62. //#define MIDI_ADVANCED
  63. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  64. //#define MIDI_TONE_KEYCODE_OCTAVES 1
  65. /* Bootmagic Lite key configuration */
  66. // #define BOOTMAGIC_LITE_ROW 0
  67. // #define BOOTMAGIC_LITE_COLUMN 0