Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unreal Tournament: Mouse buttons
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Mon May 22, 2006 6:40 pm    Post subject: Unreal Tournament: Mouse buttons Reply with quote

Using unreal-tournament-451

I can map mouse buttons 1, 2 and 3 and the mouse wheel, but not the side buttons on the mouse. The side buttons do work (they work in firefox, Halflife (under wine) and in UT2004). Has anyone got a way round this?

Cheers.
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
RushPL
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2005
Posts: 116
Location: Poland, Gdansk

PostPosted: Tue May 23, 2006 7:39 am    Post subject: Reply with quote

Firstly my friend, do not use 451, because it just sucks. The CPU usage goes up on this patch as hell. 436 is quite good. There is also an unofficial binary release for 436 from Ryan Gordon, it has a splash screen fixed, various gameplay smoothness fixes(at lease from what I've observed) and the most important fix - Redirect downloads fix. I'll upload this binary later when I get home.

About the buttons, I have used this tool -> http://www.bedroomlan.org/~alexios/coding_evrouter.html to enforce various key events on my mouse events, for example my extra button in Logitech G1 triggers the End button and thus switches my weapon to a best weapon. :P Remember that you have to have your event interface turned on. I also think that it might be possible to hack into libSDL and do this a hard way. :P
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Tue May 23, 2006 8:25 am    Post subject: Reply with quote

Cheers, I'll give the tool a go.

I don't see any performance differences between 451 and 436. On both I get ~60fps on 1920x1200 at 32bit colour with everything set to High (I was quite impressed, given how useless the FX5200Go is). Gameplay is completely smooth on both. The only problem I've had (which is in both 436 and 451) is the tournament match selection thing doesn't scale up to 1920x1200, but that is purely cosmetic. Oh, and the "FindPath()" function in /opt/unreal-tournament/ut doesn't actually do anything so I have to set UT_DATA_PATH manually, but that is nothing to do with patch sets. And FindPath() doesn't work in any game I've installed that uses it.
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
sulu
Guru
Guru


Joined: 21 May 2002
Posts: 399
Location: Dornbirn/Austria

PostPosted: Tue May 23, 2006 11:57 am    Post subject: Reply with quote

RushPL

Could you post your config-file for evrouter. This would be rather handy. :P

I would like to use those side-buttons on my Logithec <whatsoever> mouse for up/down steering of raptors and the like.
_________________
AMD64-Phenom2 940, ASUS M4??-Deluxe-Board , 8 GB-RAM , 1*1TB SATA HDD , 1*750GB SATA Hd, NVIDIA GTX 260
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Tue May 23, 2006 12:53 pm    Post subject: Reply with quote

Yeah, I couldn't get evrouter to actually change the events to work with UT (or xev). I decided that xmodmap does enough for me though, because I don't use my mouse wheel ingame, so remap the buttons so the side buttons send mouse wheel events. Wrote a lil' script that does it for me when I run UT now :)

@sulu: Going by "raptors" I guess you are using UT2004? The side buttons map for UT2004 for me. Sadly my laptop can't run UT2004 that well, and my desktop is far far away, thus I'm settling for the original... :(
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
sulu
Guru
Guru


Joined: 21 May 2002
Posts: 399
Location: Dornbirn/Austria

PostPosted: Tue May 23, 2006 1:42 pm    Post subject: Reply with quote

chrismortimore

Quote:
@sulu: Going by "raptors" I guess you are using UT2004? The side buttons map for UT2004 for me.


Yes i use ut2004.
The side buttons work for you?
Hmmm. Maybe i have to check my xorg.conf.
I have never used those side buttons before so i dont know if they work or not.

Quote:
Sadly my laptop can't run UT2004 that well, and my desktop is far far away, thus I'm settling for the original...


Oh my those laptops ... Me owns a crappy HP-Lap with a graphics using shared memory. The only thing one can play on this box is Age of Empires 2
_________________
AMD64-Phenom2 940, ASUS M4??-Deluxe-Board , 8 GB-RAM , 1*1TB SATA HDD , 1*750GB SATA Hd, NVIDIA GTX 260
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Tue May 23, 2006 2:19 pm    Post subject: Reply with quote

sulu wrote:
chrismortimore

Quote:
@sulu: Going by "raptors" I guess you are using UT2004? The side buttons map for UT2004 for me.


Yes i use ut2004.
The side buttons work for you?
Hmmm. Maybe i have to check my xorg.conf.
I have never used those side buttons before so i dont know if they work or not.

Quote:
Sadly my laptop can't run UT2004 that well, and my desktop is far far away, thus I'm settling for the original...


Oh my those laptops ... Me owns a crappy HP-Lap with a graphics using shared memory. The only thing one can play on this box is Age of Empires 2
My laptop has a FX 5200Go, which runs old stuff really well, so I'm not too hard up ;) One of my mates has a 6800Go (maybe even GT) in his laptop, I'm really really jealous...

But yeah, I configured the side buttons to work with xorg (for like Firefox back and forward buttons), and UT2004 picked it up out of the box.
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue May 23, 2006 10:43 pm    Post subject: Reply with quote

chrismortimore wrote:
the "FindPath()" function in /opt/unreal-tournament/ut doesn't actually do anything so I have to set UT_DATA_PATH manually

This is fixed in the new UT ebuilds. Care to test them?
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Tue May 23, 2006 10:46 pm    Post subject: Reply with quote

PaulBredbury wrote:
This is fixed in the new UT ebuilds. Care to test them?

[quote=Bugzilla]I haven't tested the GOTY ebuilds.[/quote]I don't have the GOTY version, only the standard version. I'll test the standard ones tomorrow for you and post my results on bugzilla.
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
RushPL
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2005
Posts: 116
Location: Poland, Gdansk

PostPosted: Tue May 23, 2006 11:13 pm    Post subject: Reply with quote

~/.evrouterrc
Code:
"Logitech USB-PS/2 Optical Mouse" "/dev/input/event0" none key/275 "XKey/End"

starting evrouter with:
Code:

rm "/tmp/.evrouter:0.0" 2> /dev/null #if the file is left, evrouter won't start
evrouter /dev/input/event0 -c ~/.evrouterrc


About the UT binary upgrade, I quickly prepared a preversion of UT-436plus. It includes that fixed binary by Ryan Gordon, UTGLR 3.1 OpenGL renderer, mixes of UT436 and 451 files to make a best possible combination and .so/binary files with changed linking like linking with system libSDL1.2, linking with system libmiknod. Unfortunately some sncient .so files had to be left, they are renamed. The thanks should go to Spyke, he has managed to get the fixed binary and play with the .so files. Also, along with him I plan to release some updated UT installers soon.
Cheers.
PS. When we release that installers. it would be nice if gentoo ebuilds could use them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum