Hi Dmitry,

On Sat, 19 Jan 2019, 19:36 Dmitry Bogatov <kact...@debian.org wrote:

>
> [2019-01-04 12:29] Kentaro Hayashi <haya...@clear-code.com>
> > On Fri, 4 Jan 2019 02:17:57 +0100 Adam Borowski <kilob...@angband.pl>
> wrote:
> > > Am I holding it wrong?
> >
> > step 1. launch xhk
> > step 2. press "j" key, then "j" is typed
> > step 3. press space and "j" key, then "f" is typed.
>


To clarify the above, push and *hold* the space bar, while typing the next
key to invert.

>
> > If xhk works as above, it is OK (expected behavior).
>
> It does not work for me like this to me. Here is log (-d):
>
>         -- HalfKey Xorg Driver Utility 1.0 --
>         SetPriority call failed : -1
>         Process Priority set at 0
>         XOpenDisplay(":0")
>         XI Version 2.0
>         Device Virtual core XTEST keyboard (id: 5) is a slave keyboard
>         Device is attached to/paired with 3
>         Device Power Button (id: 6) is a slave keyboard
>         Device is attached to/paired with 3
>         Device Video Bus (id: 7) is a slave keyboard
>         Device is attached to/paired with 3
>         Device Power Button (id: 8) is a slave keyboard
>         Device is attached to/paired with 3
>         Device Sleep Button (id: 9) is a slave keyboard
>         Device is attached to/paired with 3
>         Device Apple Inc. Apple Internal Keyboard / Trackpad (id: 10) is a
> slave keyboard
>         Device is attached to/paired with 3
>         Device FaceTime Camera (Built-in): Fac (id: 12) is a slave keyboard
>         Device is attached to/paired with 3
>         Floating device ID 10
>         Keyrelease 36 (Return), keycode = 36 (Return) time=385249722
>
>         Keypress 44 (j), keycode = 44 (j) time=385251136
>
>         jKeyrelease 44 (j), keycode = 44 (j) time=385251264
>
>         Keypress 65 (space), keycode = -1 ((null)) time=385251704
>         Keyrelease 65 (space), keycode = 65 (space) time=385251808
>

This log shows you have pushed then released the space before pressing the
next key to mirror.

Think of the side bar like a shift key which mirrors the keyboard. Except
if you press space and release it, it still presses space.

Regards

Kieran



>          Keypress 44 (j), keycode = 44 (j) time=385252784
>
>         jKeyrelease 44 (j), keycode = 44 (j) time=385252936
>
>         Keypress 65 (space), keycode = -1 ((null)) time=385253024
>         Keyrelease 65 (space), keycode = 65 (space) time=385253192
>
>          Keypress 66 (Control_L), keycode = 66 (Control_L) time=385253568
>
>         Keypress 54 (c), keycode = 54 (c) time=385256208
>
>         cKeyrelease 54 (c), keycode = 54 (c) time=385256368
>
>         Keyrelease 66 (Control_L), keycode = 66 (Control_L) time=385256376
>
>         Keypress 111 (Up), keycode = 111 (Up) time=385256528
>
>         ^[[AKeyrelease 111 (Up), keycode = 111 (Up) time=385256704
>
>         Keypress 66 (Control_L), keycode = 66 (Control_L) time=385257192
>
> --
> To unsubscribe, send mail to 917629-unsubscr...@bugs.debian.org.
>

Reply via email to