On 2008-04-23, Tomá¹ Ebenlendr <[EMAIL PROTECTED]> wrote:
> I'd like to use mouse chording [1], when defining my mouse bindings. As I
> cannot (and also I don't want to) prevent mouse, I use mouse with as much
> additional buttons as possible to avoid mouse-keyboard switching. I'd like
> to use the additional buttons as mouse-modifiers.

Sounds ok, and should be relatively trivial to implement, for X does
pass ButtonXMask in the modifier state mask. 

> But it will suffice to create msubmap 

Submaps are not for modifies. All you should need is 

        mpress("Button1Mask+Button2", ...) 

or so, after adding support for buttons as modifiers. However, if
you want to support button press sequences (without necessarily
holding down the earlier buttons), then you don't really need
the support for the buttons as modifiers (which you said isn't there
fore buttons > 5... WTF? More than 5 buttons? I have just three;
no wheel). Even in that case, the existing submap might suffice
and support more general combos (mouse press in a keyboard submap,
etc.), although would demand a bit more work.

...

There should actually also be a patch around somewhere, that adds
support for some variant of double-clicking or something (I don't
recall exactly what), that someone wrote for use on the N770 or so.
But he never submitted it with darcs, so I couldn't be arsed to
apply it, although would otherwise have included it.


-- 
Tuomo

Reply via email to