qmk

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

config.h (1294B)


      1 /*
      2 This is the c configuration file for the keymap
      3 
      4 Copyright 2012 Jun Wako <wakojun@gmail.com>
      5 Copyright 2015 Jack Humbert
      6 
      7 This program is free software: you can redistribute it and/or modify
      8 it under the terms of the GNU General Public License as published by
      9 the Free Software Foundation, either version 2 of the License, or
     10 (at your option) any later version.
     11 
     12 This program is distributed in the hope that it will be useful,
     13 but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 GNU General Public License for more details.
     16 
     17 You should have received a copy of the GNU General Public License
     18 along with this program.  If not, see <http://www.gnu.org/licenses/>.
     19 */
     20 
     21 #pragma once
     22 
     23 //#define USE_MATRIX_I2C
     24 
     25 /* Select hand configuration */
     26 
     27 #define MASTER_LEFT
     28 // #define MASTER_RIGHT
     29 // #define EE_HANDS
     30 
     31 #define SSD1306OLED
     32 
     33 #define USE_SERIAL_PD2
     34 
     35 #define TAPPING_FORCE_HOLD
     36 #define TAPPING_TERM 100
     37 
     38 #undef RGBLED_NUM
     39 #define RGBLIGHT_ANIMATIONS
     40 #define RGBLED_NUM 27
     41 #define RGBLIGHT_LIMIT_VAL 120
     42 #define RGBLIGHT_HUE_STEP 10
     43 #define RGBLIGHT_SAT_STEP 17
     44 #define RGBLIGHT_VAL_STEP 17
     45 
     46 // Underglow
     47 /*
     48 #undef RGBLED_NUM
     49 #define RGBLED_NUM 14    // Number of LEDs
     50 #define RGBLIGHT_ANIMATIONS
     51 #define RGBLIGHT_SLEEP
     52 */