You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
2.8 KiB
88 lines
2.8 KiB
/*
|
|
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/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
/* Select hand configuration */
|
|
|
|
// #define MASTER_LEFT
|
|
// #define MASTER_RIGHT
|
|
#define EE_HANDS
|
|
|
|
#define USE_SERIAL_PD2
|
|
|
|
|
|
/* MIRYOKU specific configs */
|
|
|
|
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
|
|
#define QUICK_TAP_TERM 0
|
|
|
|
// default but important
|
|
#define TAPPING_TERM 200
|
|
|
|
// Recommended for heavy chording.
|
|
//#define QMK_KEYS_PER_SCAN 4
|
|
|
|
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
// NOT NEEDED ANYMORE - IS DEFAULT NOW ANYWAYS
|
|
//#define IGNORE_MOD_TAP_INTERRUPT
|
|
|
|
// Consider a rapid key successions as a HOLD and not a TAP,
|
|
// even if HOLD is shorter than TAPPING_TERM
|
|
//#define PERMISSIVE_HOLD
|
|
|
|
|
|
/* Mouse key speed and acceleration. */
|
|
|
|
//// For use with QMK default mouse behavior: ////
|
|
// #undef MOUSEKEY_DELAY
|
|
// #define MOUSEKEY_DELAY 50
|
|
// #undef MOUSEKEY_INTERVAL
|
|
// #define MOUSEKEY_INTERVAL 16
|
|
// #undef MOUSEKEY_WHEEL_DELAY
|
|
// #define MOUSEKEY_WHEEL_DELAY 150
|
|
// #undef MOUSEKEY_MAX_SPEED
|
|
// #define MOUSEKEY_MAX_SPEED 7
|
|
// #undef MOUSEKEY_WHEEL_MAX_SPEED
|
|
// #define MOUSEKEY_WHEEL_MAX_SPEED 16
|
|
// #undef MOUSEKEY_TIME_TO_MAX
|
|
// #define MOUSEKEY_TIME_TO_MAX 64
|
|
// #undef MOUSEKEY_WHEEL_TIME_TO_MAX
|
|
// #define MOUSEKEY_WHEEL_TIME_TO_MAX 128
|
|
|
|
//// For Inertia QMK mouse mode ////
|
|
#define MOUSEKEY_INERTIA undefined //Enable Inertia mode
|
|
#define MOUSEKEY_DELAY 150 //Delay between pressing a movement key and cursor movement
|
|
#define MOUSEKEY_INTERVAL 16 //Time between cursor movements in milliseconds (16 = 60fps)
|
|
#define MOUSEKEY_MAX_SPEED 32 //Maximum cursor speed at which acceleration stops
|
|
#define MOUSEKEY_TIME_TO_MAX 64 //Number of frames until maximum cursor speed is reached
|
|
#define MOUSEKEY_FRICTION 12 //How quickly the cursor stops after releasing a key
|
|
#define MOUSEKEY_MOVE_DELTA 1 //How much to move on first frame (1 strongly recommended)
|
|
|
|
/* How many combos do we use?! */
|
|
#define COMBO_COUNT 2
|
|
|
|
// Auto Shift
|
|
// #define NO_AUTO_SHIFT_ALPHA
|
|
// #define AUTO_SHIFT_TIMEOUT TAPPING_TERM
|
|
// #define AUTO_SHIFT_NO_SETUP
|
|
|
|
#define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
|