Skip navigation.

Software Development

Correcting The Future

Anyone know how to detect 4th & 5th mouse buttons?

Like the title says!

Just When I thought OO Couldn't Get DUMBER!Project V Redefined

Comments

avatar
I think it could be found in Xorg sources. But probably it's to much to dig.

By vladas, # 29. March 2008, 07:54:50

avatar
Actually, I'm on Windows. Forgot to mention that.

By Vorlath, # 30. March 2008, 05:55:11

avatar
I meant to see the source code.

IIRC, the is no active way to know this. It depends on installed mouse driver protocol. And usually there is only the passive way to determine 4 and 5 buttons (i.e through setup or asking user to press this buttons during installation). X-Window system works exactly this way - you have to correctly set up those in config file.

By vladas, # 30. March 2008, 07:55:15

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

Please type this security code : 146094

Smilies

November 2008
S M T W T F S
October 2008December 2008
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29