/* This is the c configuration file for the keymap Copyright 2012 Jun Wako Copyright 2015 Jack Humbert This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ #pragma once #ifdef RGBLIGHT_ENABLE // Disabling unused animations #undef RGBLIGHT_EFFECT_BREATHING #undef RGBLIGHT_EFFECT_RAINBOW_MOOD #undef RGBLIGHT_EFFECT_RAINBOW_SWIRL #undef RGBLIGHT_EFFECT_SNAKE #undef RGBLIGHT_EFFECT_KNIGHT #undef RGBLIGHT_EFFECT_CHRISTMAS #undef RGBLIGHT_EFFECT_STATIC_GRADIENT #undef RGBLIGHT_EFFECT_RGB_TEST #undef RGBLIGHT_EFFECT_ALTERNATING #undef RGBLIGHT_EFFECT_TWINKLE #define RGBLIGHT_LIMIT_VAL 120 #define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_VAL_STEP 17 #endif #ifdef OLED_ENABLE #define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c" #endif #define EE_HANDS #define LAYER_STATE_8BIT #define TAPPING_TERM 200 // millisecond #define DOUBLE_TAP_SHIFT_TURNS_ON_CAPS_WORD #define COMBO_TERM 30 #define ONESHOT_TAP_TOGGLE 3 /* Tapping this number of times holds the key until tapped once again. */ #define ONESHOT_TIMEOUT 1000 /* Time (in ms) before the one shot key is released */