Author Topic: Mouse Button Support  (Read 9908 times)

0 Members and 1 Guest are viewing this topic.

Offline Backslash

  • 29
  • Bring Our Might To Bear
 :eek2:

Um, well if you can find some information on the API for such buttons, sure.  So far I haven't seen built-in support for anything above 5 buttons, any program.

I'm guessing that huge mouse already has a key mapping utility anyway...  What brand is it?

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Logitech, and it does.  There was at least a hint of exaggeration in that post ;)
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 
It is kind of funny that you want these features, because I have completed most of the requests in this thread (mouse button 4 and 5 support), in game binding of mouse axis binding, and freelancer style mouse control.  My patch was never accepted because it required a change to the pilot file (one-way, be warned).  If you want a copy of the build, I'll put it up once I recompile to the latest CVS.  Keep in mind any bugs that occur with CVS builds and all that.

4/22/06 CVS build with Mouse patches
« Last Edit: April 22, 2006, 11:18:02 pm by litghost »

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
They might be accepted now cause Taylor is updating the pilot file code.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
I would like to see the code, even if just for learning how it was done!   :yes:

 

Offline Kaine

  • 27
freelancer-style mouse control would be awesome... open the game up for lots of people by dropping the learning curve, particularly for the many many people that don't have a joystick  ;7

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Send in the patch and I should be able to roll it into the pilot file upgrade (if it doesn't duplicate what I aready have in the new code).  The freelancer-style mouse control is something that's been asked for many times, but since I've never played freelancer it's a bit more difficult for me to code support for it.  That code at least would be nice.

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
It needs a toggle (eventually in the options screen, preferably) for "continuous" (freelancer-style) and "default" because, like it or not, the scroll-drag-scroll-drag style of mouse flying is a part of the original Freespace.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Good zark those changes are awesome.  I look forward to seeing the code -- I have some great ideas for further things to add, and have almost everything right, but am obviously missing something because the ship tab of the controls screen crashes (in my build, not yours).  Would anyone like Slide-when-pressed, and slide axes?  ;7

Edit:  Though ouch, now that I try it in combat I realize how nice the visible mouse reticle during such control would be.  (After all, we don't have the auto-tracking that Freelancer does.)  But I know that may be tricky to implement.

Is it the new axes that necessitates the pilot file change?  If so, could we reserve two more for the slide axes?
« Last Edit: April 24, 2006, 09:38:07 pm by Backslash »

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Is it the new axes that necessitates the pilot file change?  If so, could we reserve two more for the slide axes?
Adding new controls or new actions will break pilot files.  When you have the changes done just get me a patch and I'll roll it into the new pilot code before it hits CVS.

 
Mouse buttons 4 and 5 and mouse wheel support
Freelancer Control style

There is some lint in my patchs, but nothing too bad.

 

Offline Backslash

  • 29
  • Bring Our Might To Bear
Re: Mouse Button Support
Sorry for so long with no feedback.  Thank you.  This is cool.   :yes:  I learned a few things :)

Based on this, here's my take on it, merged with my slide (lateral thrust) axes and slide-when-pressed ;7

http://www.qeyleb.net/files/mousebuttonsandslidingaxis.patch

It may be the lint, or me making a mistake, but I can't get the mousewheel to work.  I wonder if it has to do with the osapi bug and which platform SDK I use?  Either way, taylor's going to hate the windows hacks but I don't know how to do it any better yet...  :ick:  course, that's just the mousebuttons... maybe there's already a better way being implemented.  At least the axis code 'should' work fine :nervous:

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Steam
    • Something
Re: Mouse Button Support
Wait...did someone say slide axes?  :eek2:

That's it; now someone absolutely has to do that Descent mod. :)

  
Re: Mouse Button Support
and my mod which has lateral thrusters on everything. :D
its actually rather silly to have a space ship without lateral/vertical thusters.

im also rather supprised they havent implemented a flightsim mouse flight mode yet, sorta like in freelancer.

because mouse flight doesnt simulate flight controls.