mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-23 01:49:54 +00:00
0ececbcdb7
* added new layout for keebio/iris * Update keyboards/keebio/iris/keymaps/emp/config.h * Update keyboards/keebio/iris/keymaps/emp/keymap.c Replace #defines with enum * Update keyboards/keebio/iris/keymaps/emp/keymap.c Made requested changes about formatting and the license. * Update config.h Cleaned up formatting * Update keyboards/keebio/iris/keymaps/emp/keymap.c Small changes to improve readability: * changed whitespace in license * added more whitespace around if/else blocks * fixed bracket style in places
98 lines
2.7 KiB
C
98 lines
2.7 KiB
C
/*
|
|
Copyright 2017 Danny Nguyen <danny@keeb.io>
|
|
|
|
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
|
|
|
|
/* Use I2C or Serial, not both */
|
|
#undef USE_I2C
|
|
#define USE_SERIAL
|
|
|
|
/* Select hand configuration */
|
|
#undef MASTER_LEFT
|
|
#undef MASTER_RIGHT
|
|
#define EE_HANDS
|
|
|
|
/* disable debugging features */
|
|
#ifndef NO_DEBUG
|
|
#define NO_DEBUG
|
|
#endif // #ifndef NO_DEBUG
|
|
|
|
/* disable printing features */
|
|
#ifndef NO_PRINT
|
|
#define NO_PRINT
|
|
#endif // #ifndef NO_PRINT
|
|
|
|
/* force n-key rollover to be enabled every boot */
|
|
#undef FORCE_NKRO
|
|
|
|
/* disable tap dance and other tapping features */
|
|
#undef NO_ACTION_TAPPING
|
|
|
|
/* disable one-shot modifiers */
|
|
#undef NO_ACTION_ONESHOT
|
|
|
|
/* PERMISSIVE_HOLD
|
|
* when on: tap-hold keys are held when typed fast, so long as the modifier key
|
|
* is pressed before and released after the rodified key(s)
|
|
* when off: tap-hold keys are both tapped when typed fast (within tapping term)
|
|
*/
|
|
#undef PERMISSIVE_HOLD
|
|
|
|
/* IGNORE_MOD_TAP_INTERRUPT
|
|
* when on: rolling tap-hold keys taps all keys
|
|
* when off: rolling tap-hold keys modifies keys
|
|
*/
|
|
#undef IGNORE_MOD_TAP_INTERRUPT
|
|
|
|
/* TAPPING_TERM x (ms)
|
|
* how long before a tap becomes a hold. if set above 500, a key tapped during
|
|
* the tapping term will turn it into a hold too
|
|
*/
|
|
#define TAPPING_TERM 200
|
|
|
|
/* TAPPING_TOGGLE x (count)
|
|
* If you hold a TT key down, layer is activated, and then is de-activated when
|
|
* you let go (like MO()). If you repeatedly tap it, the layer will be toggled
|
|
* on or off (like TG()). It needs 5 taps by default, but you can change this by
|
|
* defining TAPPING_TOGGLE to another number.
|
|
*/
|
|
// #define TAPPING_TOGGLE 1
|
|
|
|
/* RETRO_TAPPING
|
|
* tap anyway, even after TAPPING_TERM, if there was no other key interruption
|
|
* between press and release
|
|
*/
|
|
#undef RETRO_TAPPING
|
|
|
|
/* ONESHOT_TIMEOUT x (ms)
|
|
* how long before oneshot times out
|
|
*/
|
|
// #define ONESHOT_TIMEOUT 2000
|
|
|
|
/* TAP_CODE_DELAY x (ms)
|
|
* how long tapped keycodes are held down for
|
|
*/
|
|
// #define TAP_CODE_DELAY 100
|
|
|
|
/* NO_USB_STARTUP_CHECK
|
|
* according to:
|
|
* https://github.com/qmk/qmk_firmware/issues/12732
|
|
* defining this can help with boards not being recognized by virtual keymapping
|
|
* software
|
|
*/
|
|
#define NO_USB_STARTUP_CHECK
|