Public bug reported:

Hi Tom,

I've got a Logitech Zone Touch T400 mouse which has two physical
contacts/actuators under the middle button and each actuator can be
pressed independently. The default behavior for the actuators is: the
front actuator sends a keypress ( Super_L) instead of the middle button
press and the back actuator sends an actual middle button press. I can
do gestures with the back actuator but it's really uncomfortable so
using a combination of udev/xkb I've remapped the front actuator to send
a middle button press but I can't do mouse gestures in easystroke using
the front actuator.

Using xev I can see no difference between using the back or front
actuator and moving the mouse, but using easygestures -vvvvv nothing is
displayed in the terminal when doing the gestures with the front
actuator, only when doing the gestures with the back actuator. Is
easystroke somehow hooking into the events stream below where xkb is
doing the mapping to a middle click? On second thought it's prolly
because easystroke looks for actual mouse buttons ( grabbing: Button
)...

Is this fixable in some way? Thanks!

$ easystroke -vvvvv
Loaded preferences.
Loaded actions.
Opened Device 11 ('Logitech HID compliant keyboard').
Opened Device 9 ('Logitech USB-PS/2 Optical Mouse').
Opened Device 12 ('Logitech Unifying Device. Wireless PID:4026').
grabbing: Button
Entered window 0x158a6b5 -> 0x1c0f881
********************************using the front 
actuator*************************
********************************using the back 
actuator**************************
Press (XI2): 2 (1357.712, 755.292) - () at t = 103379950
Active window 0x158a6b5 -> 0x1c0f881
New event handling stack: Idle Stroke 
grabbing: None
Motion (XI2): (1358.712, 755.292) - (1358.712) at t = 103380528
Motion (XI2): (1359.712, 755.292) - (1359.712) at t = 103380536
Motion (XI2): (1360.712, 756.292) - (1360.712, 756.292) at t = 103380544
Motion (XI2): (1362.712, 756.292) - (1362.712) at t = 103380552
Motion (XI2): (1364.712, 756.292) - (1364.712) at t = 103380560
Motion (XI2): (1367.712, 756.292) - (1367.712) at t = 103380573
Motion (XI2): (1372.712, 756.292) - (1372.712) at t = 103380576
Motion (XI2): (1375.712, 756.292) - (1375.712) at t = 103380584
Motion (XI2): (1379.712, 757.292) - (1379.712, 757.292) at t = 103380592
Motion (XI2): (1383.712, 757.292) - (1383.712) at t = 103380600
Motion (XI2): (1388.712, 757.292) - (1388.712) at t = 103380608
Motion (XI2): (1390.712, 757.292) - (1390.712) at t = 103380616
Motion (XI2): (1393.712, 757.292) - (1393.712) at t = 103380626
Motion (XI2): (1394.712, 757.292) - (1394.712) at t = 103380634
Motion (XI2): (1394.712, 758.292) - (*, 758.292) at t = 103380722
Release (XI2): 2 (1394.712, 758.292) - () at t = 103380984
Executing Action Aero Right
New event handling stack: Idle 
grabbing: Button

$ xev -event mouse
Outer window is 0x2600001, inner window is 0x2600002
***************************************using the front 
actuator***********************
[snip spurious info]

EnterNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103490284, (175,32), root:(241,1053),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 528

ButtonPress event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103490277, (175,32), root:(241,1053),
    state 0x10, button 2, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103491371, (174,32), root:(240,1053),
    state 0x210, is_hint 0, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103491387, (174,33), root:(240,1054),
    state 0x210, is_hint 0, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103492879, (174,34), root:(240,1055),
    state 0x210, is_hint 0, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103493427, (174,34), root:(240,1055),
    state 0x210, button 2, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103496005, (175,34), root:(241,1055),
    state 0x10, is_hint 0, same_screen YES

LeaveNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103496005, (180,34), root:(246,1055),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus YES, state 16
*****************************************using the back 
actuator*****************************

[snip spurious info]

EnterNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103513994, (160,49), root:(226,1070),
    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
    focus YES, state 528

ButtonPress event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103513991, (160,49), root:(226,1070),
    state 0x10, button 2, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103514373, (160,50), root:(226,1071),
    state 0x210, is_hint 0, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103514391, (160,51), root:(226,1072),
    state 0x210, is_hint 0, same_screen YES

[snip spurious info]

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103514683, (156,82), root:(222,1103),
    state 0x210, is_hint 0, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103514897, (156,83), root:(222,1104),
    state 0x210, is_hint 0, same_screen YES

ButtonRelease event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103514905, (156,83), root:(222,1104),
    state 0x210, button 2, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103519293, (162,83), root:(228,1104),
    state 0x10, is_hint 0, same_screen YES

MotionNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103519303, (172,80), root:(238,1101),
    state 0x10, is_hint 0, same_screen YES

LeaveNotify event, serial 25, synthetic NO, window 0x2600001,
    root 0x261, subw 0x0, time 103519308, (221,69), root:(287,1090),
    mode NotifyNormal, detail NotifyNonlinear, same_screen YES,
    focus YES, state 16

** Affects: easystroke (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1321779

Title:
  gestures not working with simulated mouse button

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/easystroke/+bug/1321779/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to