qmk

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

config.h (2111B)


      1 #pragma once
      2 
      3 #include "config_common.h"
      4 
      5 /* USB Device descriptor parameter */
      6 #define VENDOR_ID       0xFEED
      7 #define PRODUCT_ID      0x0C61
      8 #define DEVICE_VER      0x00C6
      9 #define MANUFACTURER    PeiorisBoards
     10 #define PRODUCT         Vinta R1
     11 #define DESCRIPTION     Tada68 Replacement PCB
     12 
     13 /* key matrix size */
     14 #define MATRIX_ROWS 5
     15 #define MATRIX_COLS 16
     16 
     17 #define MATRIX_ROW_PINS { A10, A9, B0, A7, A6 }
     18 #define MATRIX_COL_PINS { A5, A4, A3, A2, A1, A0, F1, F0, B7, B6, B5, B4, B3, A15, A14, A13 }
     19 
     20 /* COL2ROW, ROW2COL*/
     21 #define DIODE_DIRECTION COL2ROW
     22 
     23 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
     24 #define DEBOUNCE 0
     25 
     26 /* define if matrix has ghost (lacks anti-ghosting diodes) */
     27 //#define MATRIX_HAS_GHOST
     28 
     29 /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
     30  * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
     31  */
     32 // #define GRAVE_ESC_CTRL_OVERRIDE
     33 
     34 /*
     35  * Force NKRO
     36  *
     37  * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
     38  * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
     39  * makefile for this to work.)
     40  *
     41  * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
     42  * until the next keyboard reset.
     43  *
     44  * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
     45  * fully operational during normal computer usage.
     46  *
     47  * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
     48  * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
     49  * bootmagic, NKRO mode will always be enabled until it is toggled again during a
     50  * power-up.
     51  *
     52  */
     53 //#define FORCE_NKRO
     54 
     55 /*
     56  * Magic Key Options
     57  *
     58  * Magic keys are hotkey commands that allow control over firmware functions of
     59  * the keyboard. They are best used in combination with the HID Listen program,
     60  * found here: https://www.pjrc.com/teensy/hid_listen.html
     61  *
     62  * The options below allow the magic key functionality to be changed. This is
     63  * useful if your keyboard/keypad is missing keys and you want magic key support.
     64  *
     65  */