Author Topic: Need some help with QMK  (Read 1754 times)

0 Members and 1 Guest are viewing this topic.

Offline bizzy11

  • Thread Starter
  • Posts: 88
  • Location: Los Angeles
Need some help with QMK
« on: Fri, 18 May 2018, 20:50:25 »
Posted this in Hasu's thread but figured it would get more exposure here..

Is there a way to reduce the delay for activating a modifier key when using dual-role (ACTION_MODS_TAP_KEY)? I currently have my left shift key activate caps lock on tap, and my caps lock key acting as Layer 1 key when pressed, backspace on tap.

I noticed there is a considerable delay when I try to activate shift or Layer 1. I type fairly quickly, so the delay is really messing up my workflow.

I attached my hex file in case I might have done something wrong. I've only been using the keymap editor below, still very new to TMK.

http://www.tmk-kbd.com/tmk_keyboard/editor/unimap/?fc980c
FC660C | FC980C

Offline Tactile

  • Posts: 1434
  • Location: Portland, OR
Re: Need some help with QMK
« Reply #1 on: Fri, 18 May 2018, 21:08:01 »
I think you can do what you want if you build from source. Here's the file"action_tapping.h" and it looks to me like you can change some values here to change the delay. I don't know anything about the keymap editor.

Code: [Select]
/*
Copyright 2013 Jun Wako <wakojun@gmail.com>
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 ACTION_TAPPING_H
#define ACTION_TAPPING_H



/* period of tapping(ms) */
#ifndef TAPPING_TERM
#define TAPPING_TERM    200
#endif

//#define RETRO_TAPPING // Tap anyway, even after TAPPING_TERM, as long as there was no interruption

/* tap count needed for toggling a feature */
#ifndef TAPPING_TOGGLE
#define TAPPING_TOGGLE  5
#endif

#define WAITING_BUFFER_SIZE 8


#ifndef NO_ACTION_TAPPING
void action_tapping_process(keyrecord_t record);
#endif

#endif
REΛLFORCE

Offline bizzy11

  • Thread Starter
  • Posts: 88
  • Location: Los Angeles
Re: Need some help with QMK
« Reply #2 on: Fri, 18 May 2018, 22:52:55 »
Alright thanks.
FC660C | FC980C