qmk

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

config.h (2012B)


      1 /*
      2 Copyright 2012 Jun Wako <wakojun@gmail.com>
      3 Copyright 2015 Jack Humbert
      4 Copyright 2017 F_YUUCHI
      5 
      6 This program is free software: you can redistribute it and/or modify
      7 it under the terms of the GNU General Public License as published by
      8 the Free Software Foundation, either version 2 of the License, or
      9 (at your option) any later version.
     10 
     11 This program is distributed in the hope that it will be useful,
     12 but WITHOUT ANY WARRANTY; without even the implied warranty of
     13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14 GNU General Public License for more details.
     15 
     16 You should have received a copy of the GNU General Public License
     17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
     18 */
     19 
     20 #pragma once
     21 
     22 /* USB Device descriptor parameter */
     23 #define VENDOR_ID       0xFC51
     24 #define PRODUCT_ID      0x0058 
     25 #define DEVICE_VER      0x0100
     26 #define MANUFACTURER    F_YUUCHI
     27 #define PRODUCT         Lily58
     28 #define DESCRIPTION     Lily58 is 6×4+5keys column-staggered split keyboard.
     29 
     30 /* key matrix size */
     31 // Rows are doubled-up
     32 #define MATRIX_ROWS 10
     33 #define MATRIX_COLS 6
     34 
     35 // wiring of each half
     36 #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
     37 #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
     38 
     39 /* define tapping term */
     40 #define TAPPING_TERM 100
     41 
     42 /* define if matrix has ghost */
     43 //#define MATRIX_HAS_GHOST
     44 
     45 /* Set 0 if debouncing isn't needed */
     46 #define DEBOUNCE 5
     47 
     48 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
     49 //#define LOCKING_SUPPORT_ENABLE
     50 /* Locking resynchronize hack */
     51 //#define LOCKING_RESYNC_ENABLE
     52 
     53 /* ws2812 RGB LED */
     54 #define RGB_DI_PIN D3
     55 #define RGBLED_NUM 12    // Number of LEDs
     56 
     57 /*
     58  * Feature disable options
     59  *  These options are also useful to firmware size reduction.
     60  */
     61 
     62 /* disable debug print */
     63 // #define NO_DEBUG
     64 
     65 /* disable print */
     66 // #define NO_PRINT
     67 
     68 /* disable action features */
     69 //#define NO_ACTION_LAYER
     70 //#define NO_ACTION_TAPPING
     71 //#define NO_ACTION_ONESHOT
     72 //#define NO_ACTION_MACRO
     73 //#define NO_ACTION_FUNCTION