qmk_firmware/keyboards/lets_split/keymaps/OLED_sample/config.h

59 lines
1.4 KiB
C
Raw Normal View History

2017-06-28 09:58:58 -07:00
/*
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/>.
*/
2017-06-27 21:26:05 -07:00
#ifndef CONFIG_USER_H
#define CONFIG_USER_H
2017-03-22 11:55:13 -07:00
2017-06-27 21:26:05 -07:00
#include "../../config.h"
2017-03-22 11:55:13 -07:00
2017-06-27 21:26:05 -07:00
/* Use I2C or Serial, not both */
2017-03-22 11:55:13 -07:00
#define USE_I2C
//#define USE_SERIAL
2017-06-27 21:26:05 -07:00
/* Select hand configuration */
#define MASTER_LEFT
// #define MASTER_RIGHT
2017-06-27 21:26:05 -07:00
// #define EE_HANDS
2017-03-22 11:55:13 -07:00
#define FLIP_HALF
#define SSD1306OLED
//#define OLED_ROTATE180
2017-03-22 11:55:13 -07:00
#define TAPPING_FORCE_HOLD
#define TAPPING_TERM 100
#ifdef SUBPROJECT_rev1
#include "../../rev1/config.h"
#endif
#ifdef SUBPROJECT_rev2
#include "../../rev2/config.h"
#endif
2017-03-22 11:55:13 -07:00
#undef RGBLED_NUM
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
2017-06-27 21:26:05 -07:00
#endif