Re: mouse with more than 5 buttons...



On Tue, 2003-06-17 at 09:30, Sébastien Person wrote:

> In fact I 've got a mouse with 9 buttons :
> 	- 1,2,3 -> left, middle, right button
> 	- 4,5 -> wheel
> 	- 6,7 -> forward, backward
> 	- 8,9 -> extra button
> 
> I want to use 6 and 7 for example to go to next and previous page in mozilla. With imwheel i ve assiocated this button to ALT|Left and ALT|Right. It was great working with gtk1.x in mozilla. 
> Since i ve got mozilla with gtk2 support it doesn't work anymore.
> 
> So my question are :
> - gtk2 could support more than 5 buttons natively ? (in this case I could maybe add support this feature to mozilla)

It does, why do you think it doesn't? 

(You are probably looking at GdkModifierType ... yes, that's restricted
to 5 buttons, but you can get button press/release events for other
buttons.)

> - is there a way to assiocate mouse event to key event without imwheel ?

No.

> - why does imwheel didn't work anymore with gtk2 while it does with gtk1.x ?

No idea. It's probably a bad hack of some sort that depends on the
particular toolkit.

Regards,
							Owen





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]