3bde05c568
* create LAYOUT_half() macro into helix/rev2/keymaps/froggy/keymap.c * Makes QMK standerd OLED driver used by the helix:froggy keymap switchable. * Change helix:froggy keymap to use split_common
50 lines
1.7 KiB
C
50 lines
1.7 KiB
C
/*
|
|
This is the c configuration file for the keymap
|
|
|
|
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
|
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 <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef CONFIG_USER_H
|
|
#define CONFIG_USER_H
|
|
|
|
#undef TAPPING_TERM
|
|
#define TAPPING_TERM 200
|
|
#define ONESHOT_TAP_TOGGLE 5 /* Tapping this number of times holds the key until tapped this number of times again. */
|
|
#define ONESHOT_TIMEOUT 5000 /* Time (in ms) before the one shot key is released */
|
|
|
|
// the froggy keymap does not use the right hand side, so sync_timer is not needed
|
|
#define DISABLE_SYNC_TIMER
|
|
// For the same reason, the following are also not needed
|
|
#undef SPLIT_LAYER_STATE_ENABLE
|
|
#undef SPLIT_LED_STATE_ENABLE
|
|
|
|
// If you need more program area, try select and reduce rgblight modes to use.
|
|
|
|
// Selection of RGBLIGHT MODE to use.
|
|
#if defined(LED_ANIMATIONS)
|
|
#define RGBLIGHT_EFFECT_BREATHING
|
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
#define RGBLIGHT_EFFECT_SNAKE
|
|
#define RGBLIGHT_EFFECT_KNIGHT
|
|
#define RGBLIGHT_EFFECT_CHRISTMAS
|
|
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
//#define RGBLIGHT_EFFECT_RGB_TEST
|
|
//#define RGBLIGHT_EFFECT_ALTERNATING
|
|
#endif
|
|
|
|
#endif /* CONFIG_USER_H */
|