Menu

#353 Xsetwacom treat QWERTY key when using XtestFakeKeyEvent on AZERY keyboard

closed-works-for-me
xf86-input-wacom
2018-01-24
2017-11-19
No

Hi,
i am french, sorry for my poor english.
I found a bug i xsetwacom. I am developing a radial menu and i use it with xsetwacom. This menu can exec process or send keystrokes to to

My software works well with my keyboard (i use « Super z » to start my menu).
But when i use xsetwacom to start my menu (via the « super z » keystroke) it works once. The next times xsetwacom send «super w » instead of « super w » (i use a AZERTY), i seen it with xev.

So when i use XtestFakeKeyEvent while pressing the wacom key (the call « super z ») it works once and the next times are « super z ». On keyboard it works all the time.

The bug occurs only when my menu call XtestFakeKeyEvent.
My xsetwacom version is : 0.35.0

I hope you understand that i mean.

Discussion

  • Jason Gerecke

    Jason Gerecke - 2017-12-04

    Apologies for the late reply... I've tried to replicate this locally and don't see the behavior you describe. When I run e.g. xsetwacom set 14 button 8 key +super z, xev shows the Super+Z key combo each time I press the button. Is it possible that something is temporarily changing the keymap from AZERTY to QWERTY after pressing Super+Z? Our driver has to lookup keyboard codes to determine which key is "Z", and if the layout changes after the xsetwacom command has been run, the key that is produced will change as well.

     
  • Jason Gerecke

    Jason Gerecke - 2018-01-24
    • status: new --> closed-works-for-me
    • assigned_to: Jason Gerecke
    • Project: linuxwacom (legacy) --> xf86-input-wacom
     
  • Jason Gerecke

    Jason Gerecke - 2018-01-24

    Marking bug as "works-for-me". If you still have this problem (especially with version 0.36.0 of xf86-input-wacom), please let us know.