mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 18:06:34 +06:00
e91070401d
* Added accent. * Added keymap for 5x6 dactyl manuform on KOY layout * Added xd75 folder that is not in the main repo anymore? * Added keymap for naked48 on KOY layout * Added keymap for splitreus62 on KOY layout * Added keymap for Dactyl Manuform 4x6 with RGB LEDs and K.O,Y layout * Fixed error where handedness was not correctly determined because of combining vbus pins of both controllers. * Replaced dynamic macros bith backspace and delete. * Changed detecting handedness from detecting usb communication to checking a wired pin. This avoids problems when booting the PC, where VBUS is already high, but no communication is happening -> both halves think they are not master. * Update keyboards/handwired/dactyl_manuform/4x6/keymaps/scheiklp/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/naked48/keymaps/scheiklp/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keymap.c Added copyright * Update config.h * Update rules.mk * Updated files according to PR requests. * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/keymaps/default/keymap.c Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/xd75/config.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Removed duplicate code. Updated copyright info. * Restored readme Co-authored-by: Drashna Jaelre <drashna@live.com>
52 lines
1.6 KiB
C
52 lines
1.6 KiB
C
/* Copyright 2017 Benjamin Kesselring
|
|
*
|
|
* 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
|
|
// place overrides here
|
|
#define AUTO_SHIFT_TIMEOUT 125
|
|
#define NO_AUTO_SHIFT_SPECIAL
|
|
#define NO_AUTO_SHIFT_NUMERIC
|
|
|
|
// require two taps for a TT layer switch (default 5)
|
|
#define TAPPING_TOGGLE 2
|
|
|
|
// Mouse control
|
|
// constant mode (velocity)
|
|
#define MK_3_SPEED
|
|
// KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2
|
|
|
|
// Cursor offset per movement (unmodified)
|
|
#define MK_C_OFFSET_UNMOD 20
|
|
// Time between cursor movements (unmodified)
|
|
#define MK_C_INTERVAL_UNMOD 1
|
|
/* #define MK_C_INTERVAL_UNMOD 16 */
|
|
|
|
// Cursor offset per movement (KC_ACL0)
|
|
#define MK_C_OFFSET_0 1
|
|
// Time between cursor movements (KC_ACL0)
|
|
#define MK_C_INTERVAL_0 10
|
|
|
|
// Cursor offset per movement (KC_ACL1)
|
|
#define MK_C_OFFSET_1 4
|
|
// Time between cursor movements (KC_ACL1)
|
|
#define MK_C_INTERVAL_1 16
|
|
|
|
// Cursor offset per movement (KC_ACL2)
|
|
#define MK_C_OFFSET_2 20
|
|
/* #define MK_C_OFFSET_2 32 */
|
|
// Time between cursor movements (KC_ACL2)
|
|
#define MK_C_INTERVAL_2 16
|