How to add a short delay inbetween keystrokes?

151 views
Skip to first unread message

issac.song...@gmail.com

unread,
Jan 28, 2016, 3:01:01 AM1/28/16
to Karabiner

  • OS X version: OSX 10.11.2
  • Karabiner version: 10.15.0
    (You can confirm version in "Misc & Uninstall" tab in Karabiner Preferences.)
  • Your Mac hardware:MacBook Pro (Retina, 13-inch, Early 2015)
  • Your keyboard hardware: equipped with the machine. not an external keyboard
--------------------------------------
I intend to get some Qs after pressing F. Here is my private.xml:
<item>
    <name>song_5Q</name>
    <identifier>song_5Q</identifier>
    <autogen>__KeyToKey__ KeyCode::F, 
     KeyCode::Q,
     KeyCode::Q,
     KeyCode::Q,
          KeyCode::Q
    </autogen>

but I want to add some short delays, about 500ms after each Q.

It should be sth like

          KeyCode::Q,
          Delay 500,
       KeyCode::Q,
Delay 500,
       KeyCode::Q,
Delay 500,
          KeyCode::Q

Is there such a command? 

thanks in advance.

Takayama Fumihiko

unread,
Jan 28, 2016, 10:53:10 AM1/28/16
to issac.song...@gmail.com, osx-ka...@googlegroups.com
Please use KeyCode::VK_WAIT_*.
https://github.com/tekezo/Karabiner/blob/version_10.15.0/src/core/server/Resources/include/checkbox/samples/virtual_keycodes.xml#L19-L28

KeyCode::Q,
KeyCode::VK_WAIT_100MS,
KeyCode::VK_WAIT_100MS,
KeyCode::VK_WAIT_100MS,
KeyCode::VK_WAIT_100MS,
KeyCode::VK_WAIT_100MS,
KeyCode::Q,

--
Takayama Fumihiko <tek...@pqrs.org>

On 1/28/16 5:01 PM, issac.song...@gmail.com wrote:
>
> * OS X version: OSX 10.11.2
> * Karabiner version: 10.15.0
> (You can confirm version in "Misc & Uninstall" tab in Karabiner
> Preferences.)
> * Your Mac hardware:MacBook Pro (Retina, 13-inch, Early 2015)
> * Your keyboard hardware: equipped with the machine. not an external
> keyboard
>
> *--------------------------------------*
> *I intend to get some Qs after pressing F. Here is my private.xml:*
> <item>
> <name>song_5Q</name>
> <identifier>song_5Q</identifier>
> <autogen>__KeyToKey__ KeyCode::F,
> KeyCode::Q,
> KeyCode::Q,
> KeyCode::Q,
> KeyCode::Q
> </autogen>
>
> but I want to add some short delays, about 500ms after each Q.
>
> It should be sth like
>
> KeyCode::Q,
> Delay 500,
> KeyCode::Q,
> Delay 500,
> KeyCode::Q,
> Delay 500,
> KeyCode::Q
>
> Is there such a command?
>
> thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
> <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osx-karabiner/9d94c3f2-6de3-4f44-a0a4-5820220ce9ce%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/9d94c3f2-6de3-4f44-a0a4-5820220ce9ce%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

issac.song...@gmail.com

unread,
Jan 28, 2016, 8:08:22 PM1/28/16
to Karabiner, issac.song...@gmail.com
WOW!!!!!!!!!!!!!!!!!!!!!!!!

I REALLY SHOULD HAVE COME HERE SOONER!!!!

THANK U!!! 

在 2016年1月28日星期四 UTC+8下午11:53:10,Fumihiko Takayama写道:

issac.song...@gmail.com

unread,
Jan 28, 2016, 8:15:29 PM1/28/16
to Karabiner, issac.song...@gmail.com
Hi,

I just discovered that there is a side effect:

VK_WAIT will disable my mouse during the waiting period. Is there a way not to disable the mouse when adding an interval to keystrokes? 

thanks!

在 2016年1月29日星期五 UTC+8上午9:08:22,issac.song...@gmail.com写道:

Takayama Fumihiko

unread,
Jan 29, 2016, 4:08:12 AM1/29/16
to issac.song...@gmail.com, osx-ka...@googlegroups.com
> Is there a way not to disable the mouse when adding an interval to
keystrokes?

The only way is enable the following setting to ignore pointing devices
in Karabiner.

* Karabiner core settings > Exclude devices > Don't remap any pointing
devices

--
Takayama Fumihiko <tek...@pqrs.org>
> > <mailto:osx-karabine...@googlegroups.com>.
> <https://groups.google.com/d/msgid/osx-karabiner/9d94c3f2-6de3-4f44-a0a4-5820220ce9ce%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
> <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osx-karabiner/b0635806-046c-4214-bf8a-c5559e5202ad%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/b0635806-046c-4214-bf8a-c5559e5202ad%40googlegroups.com?utm_medium=email&utm_source=footer>.

issac.song...@gmail.com

unread,
Feb 21, 2016, 8:22:36 PM2/21/16
to Karabiner, issac.song...@gmail.com


在 2016年1月28日星期四 UTC+8下午4:01:01,issac.song...@gmail.com写道:

issac.song...@gmail.com

unread,
Feb 21, 2016, 8:23:11 PM2/21/16
to Karabiner, issac.song...@gmail.com
Hi, there! where can I find this "Karabiner core settings" please? I checked out the preference page & context menu, but can't find it.

在 2016年1月29日星期五 UTC+8下午5:08:12,Fumihiko Takayama写道:
>          > <mailto:osx-karabiner+unsub...@googlegroups.com>.
>          > To view this discussion on the web visit
>          >
>         https://groups.google.com/d/msgid/osx-karabiner/9d94c3f2-6de3-4f44-a0a4-5820220ce9ce%40googlegroups.com
>         <https://groups.google.com/d/msgid/osx-karabiner/9d94c3f2-6de3-4f44-a0a4-5820220ce9ce%40googlegroups.com>
>
>          >
>         <https://groups.google.com/d/msgid/osx-karabiner/9d94c3f2-6de3-4f44-a0a4-5820220ce9ce%40googlegroups.com?utm_medium=email&utm_source=footer
>         <https://groups.google.com/d/msgid/osx-karabiner/9d94c3f2-6de3-4f44-a0a4-5820220ce9ce%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
>          > For more options, visit https://groups.google.com/d/optout
>         <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com

Takayama Fumihiko

unread,
Feb 22, 2016, 12:43:42 AM2/22/16
to issac.song...@gmail.com, osx-ka...@googlegroups.com
Please search "karabiner core settings" in Karabiner preferences.
(I attached screen shot.)

--
Takayama Fumihiko <tek...@pqrs.org>

On 2/22/16 10:23, issac.song...@gmail.com wrote:
> Hi, there! where can I find this "Karabiner core settings" please? I
> checked out the preference page & context menu, but can't find it.
>
> 在 2016年1月29日星期五 UTC+8下午5:08:12,Fumihiko Takayama写道:
>
> > Is there a way not to disable the mouse when adding an interval to
> keystrokes?
>
> The only way is enable the following setting to ignore pointing devices
> in Karabiner.
>
> * Karabiner core settings > Exclude devices > Don't remap any pointing
> devices
>
> --
> Takayama Fumihiko <tek...@pqrs.org <javascript:>>
> > > <mailto:osx-karabine...@googlegroups.com
> <javascript:>>.
> > an email to osx-karabine...@googlegroups.com <javascript:>
> > <mailto:osx-karabine...@googlegroups.com <javascript:>>.
> <https://groups.google.com/d/msgid/osx-karabiner/b0635806-046c-4214-bf8a-c5559e5202ad%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/osx-karabiner/b0635806-046c-4214-bf8a-c5559e5202ad%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Karabiner" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to osx-karabine...@googlegroups.com
> <mailto:osx-karabine...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osx-karabiner/14863d20-b0e0-4bc7-a01d-289593bea5f4%40googlegroups.com
> <https://groups.google.com/d/msgid/osx-karabiner/14863d20-b0e0-4bc7-a01d-289593bea5f4%40googlegroups.com?utm_medium=email&utm_source=footer>.
160222-0002.png
Reply all
Reply to author
Forward
0 new messages