JnvSor 20 nov 2012 à 5h07
Multiple button mice
Right now TF2 (And I presume other source games) recognize all my mouses button presses. That's great.

Except it recognizes 3 at a time as mouse4 and 2 as mouse5. I used evrouter to hook the 3 extra buttons up to keypresses but TF2 still ignores the keypresses and reads them as mouse button presses.

Basically, my fancy G500 is useless because TF2 is a bit too zealous when it comes to mouse buttons. Can I disable this behavior? Is this a bug to be reported?
Affichage des commentaires 1 à 7 sur 7
< >
NTolerance 23 nov 2012 à 14h55 
Looks like the source engine only supports MOUSE1-MOUSE5. Even in Windows it's a requirement to bind keyboard presses to MOUSE6+.

I wonder if there's an alternative to evrouter which will fool TF2 into seeing the fake keyboard presses. Does anyone know what library TF2 uses for input?
JnvSor 24 nov 2012 à 6h20 
That's not the problem, I totally anticipated that, that's why I mapped the 3 other buttons to keys. The problem is that the source engine is picking up the buttonpresses and incorrectly assuming they are mouse4 and mouse5 and ignoring the keypresses.
NTolerance 28 nov 2012 à 18h23 
Fixed it! The solution is to use xvkbd and xbindkeys to bind your mouse buttons to keyboard keys. Give this a try:


JnvSor 29 nov 2012 à 10h58 
Nope. Using that makes those buttons do nothing in wine games (And no offense to valve but the vast majority of A3 linux games are through wine so I'm not going to blow that just for them)
NTolerance 29 nov 2012 à 11h14 
I thought this thread was about TF2. What I posted is tested and working in Ubuntu 12.04 64-bit. Also, you can always stop the xbindkeys application before playing something other than TF2.

Did you test this with TF2?
JnvSor 29 nov 2012 à 13h18 
Yes. It works with TF2. But it breaks so many other games it's still a bug.

And switching between the two is hardly an option when it requires sudo kill invocations.

I'll be testing serious sam to see which input method works with it (But if prior experience has anything to say it will prefer evrouter)
JnvSor 30 nov 2012 à 14h44 
As predicted serious sam catches evrouter, but not xbindkeys. TF2 is the exception - all other games I've tried (And wine games) dislike xbindkeys. 'Tis a bug.
Affichage des commentaires 1 à 7 sur 7
< >
Par page : 15 30 50