qmk

QMK Firmware
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

config.h (952B)


      1 #pragma once
      2 
      3 #include "config_common.h"
      4 
      5 /* USB Device descriptor parameter */
      6 #define VENDOR_ID       0xFEED
      7 #define PRODUCT_ID      0x6060
      8 #define DEVICE_VER      0x0001
      9 #define MANUFACTURER    40 Percent Club
     10 #define PRODUCT         Tomato
     11 #define DESCRIPTION     A 30 key ortholinear keyboard with RGB backlighting
     12 
     13 /* key matrix size */
     14 #define MATRIX_ROWS 5
     15 #define MATRIX_COLS 6
     16 
     17 /* key matrix pins */
     18 #define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
     19 #define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0 }
     20 #define UNUSED_PINS
     21 
     22 /* COL2ROW or ROW2COL */
     23 #define DIODE_DIRECTION COL2ROW
     24 
     25 /* Set 0 if debouncing isn't needed */
     26 #define DEBOUNCE 5
     27 
     28 /* Locking resynchronize hack */
     29 #define LOCKING_RESYNC_ENABLE
     30 
     31 /* eliminate lag on space cadet mods */
     32 #define PERMISSIVE_HOLD
     33 
     34 /* setup lighting */
     35 #define RGB_DI_PIN B5
     36 #define RGBLIGHT_ANIMATIONS
     37 #define RGBLED_NUM 30
     38 #define RGBLIGHT_HUE_STEP 8
     39 #define RGBLIGHT_SAT_STEP 8
     40 #define RGBLIGHT_VAL_STEP 8