mouse configuration

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
Post Reply
LaurenceW
Explorer
Explorer
Posts: 12
Joined: Mon Feb 02, 2004 12:52 am
Location: London, UK

mouse configuration

Post by LaurenceW »

My middle mouse button is u/s, so I can't zoom the local map - is there no way to remap this function eg to the mouse scroll wheel? That would be more logical anyway.

Can't find a mention of it anywhere in manual mouse config.

Thanks,
Laurence
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

I see dead polygons....
LaurenceW
Explorer
Explorer
Posts: 12
Joined: Mon Feb 02, 2004 12:52 am
Location: London, UK

Post by LaurenceW »

[quote="etheral walker"]http://vegastrike.sourceforge.net/phpwi ... onfigMouse[/quote]

Yes, thanks, I've been there but what I don't see is the name of the command (mapzoom?) I want to bind to a mousebutton, or a name four the mouse scroll wheel.

Laurence
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

yes, the wiki should be a bit old; let me have a look
I see dead polygons....
Silverain
Expert Mercenary
Expert Mercenary
Posts: 984
Joined: Thu Aug 07, 2003 5:35 am
Location: Brisbane, Land of Oz
Contact:

Post by Silverain »

There was a discussion on one of the map threads in which the third button of a mouse could be bound so you could press, hold and move the mouse - this zooming the map.

Nothing had come about though for a mouse wheel (not as yet anyway). If you get a mouse wheel working, feel free to put the details on the wiki manual config area.
THOUGHT CRIME! [points finger] THOUGHT CRIME!
etheral walker
Elite
Elite
Posts: 1516
Joined: Sat May 10, 2003 5:26 pm
Location: into the depths

Post by etheral walker »

I don't see wher it take place in the config file
I see dead polygons....
LaurenceW
Explorer
Explorer
Posts: 12
Joined: Mon Feb 02, 2004 12:52 am
Location: London, UK

mouse config

Post by LaurenceW »

Nope, neither could I which is why I asked in the first place.

F10 F11 are specified in vegastrike.config as cockpit zoom in out why can't we use those in map view?

Supportwise I still think I am more than getting my money's worth (!) - my little'un was given a copy of Lego Island 2 for Christmas and I have still never got it to run, or got a single peep of support for it, let alone an entire forum and rapid answers to any question.
(Even if the answer is "find out and let us know"!)

Laurence
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

not sure how to support mouse scrolling in a cross platform way
sorry folks :-)
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Post by pontiac »

hellcatv wrote:not sure how to support mouse scrolling in a cross platform way
sorry folks :-)
Maybe via SDL?

From http://www.libsdl.org/cvs.php and http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/WhatsNew
Changes for Mon Aug 19:
* ...
* Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
* ...
Sorry, i haven't found any reference docs or something similar.

Is this of any use?

Pontiac
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Vega Strike's SDL is old... Wheel support is new.

Post by ace123 »

Ah... I see the problem!
My SDL.dll is version 1.2.4.0

1.2.5 was released in Oct 04, 2002 (thanks to wayback machine).

We started using SDL *at least* two years ago (I'm pretty sure)
1.2.5: Added SDL_BUTTON_WHEELUP (4) and SDL_BUTTON_WHEELDOWN (5)
That would explain why I thought there was no wheel support.
I guess it is time to upgrade SDL :-) Maybe I'll get around to doing this during the weekend.

(1.2.6 has lots of changes since 1.2.4!)
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Re: Vega Strike's SDL is old... Wheel support is new.

Post by pontiac »

ace123 wrote: That would explain why I thought there was no wheel support.
I guess it is time to upgrade SDL :-) Maybe I'll get around to doing this during the weekend.
That would be cool.
If you get around to do this, are you also trying to include wheel support the menus (cargo/weapon/etc)?
It is a real pain to use the slider/buttons when one has a fully functional mouse-wheel at hand ;-)

EDIT: And of course 3d-shooter like weapon switching when using the mouse for ship control.

Pontiac
Post Reply