underspecified / acme-sac

Automatically exported from code.google.com/p/acme-sac
Other
0 stars 0 forks source link

shift + mouse(3) does not work as mouse(2) in windows xp #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. hold down shift and right click

What is the expected output? What do you see instead?
The ACME should allow mouse button 2 to be simulated this way.
(I would like to use acme-sac on a laptop where only touchpad is 
available, + It is cumbersome to click on mouse wheel at other times.)

What version of the product are you using? On what operating system?
Windows XP

Original issue reported on code.google.com by blufox on 1 Feb 2010 at 11:12

GoogleCodeExporter commented 9 years ago
Just found this in sys/emu/Nt/win.c
        if(wparam & MK_RBUTTON)
            if(wparam & MK_CONTROL)
                b |= 2;  //simulate middle button
            else
                b |= 4;  //right button

If ctrl is to be used instead of shift, It is fine with me :). I was thinking of
plan9 bindings.

Original comment by blufox on 2 Feb 2010 at 6:14

GoogleCodeExporter commented 9 years ago
I tried both ctrl and shift in the linux acme, neither works there.

Original comment by blufox on 27 Jan 2013 at 9:38