Forums » General

using mousewheelup/down for accel/decel. Help please :<

12»
Nov 15, 2016 ohshtwaddup link
i really really really want to use my mouse's scroll wheel to facilitate accelerating and decelerating to free up R and F keys, but it simply isn't working.

Is there a way to properly implement this?

Thank you
Nov 15, 2016 yodaofborg link
Wont work, simple as that. A more detailed explanation can be found on these forums somewhere, but basically it's due to the way a mouse wheel works. When you scroll a mouse wheel up or down, it sends a series of "on / off" presses for the OS to use as a scroll, but when you press a key/button it is either on (pressed) and stays pressed until you let go, at which point it sends the off.

So basically when you bind it to accelerate or whatever, VO just see's a key being tapped really fast. It actually will change your speed or whatever, but just in such small increments that it isn't useful.
Nov 15, 2016 the_pleiadian link
There are many libraries that support the Mouse Scroll event, and it returns you some kind of value - in most cases the so-called delta speed. One can do whatever one wants with that value, so I'd find it hard to believe that mouse wheel acceleration is difficult to implement.

I tried that too and was flabbergasted that it has no reaction at all.
Nov 15, 2016 draugath link
It's possible to make the scroll wheel behave similar to a throttle control on a joystick, but this would necessitate having F/A turned on.
Nov 15, 2016 yodaofborg link
Yes, it is possible to have the scroll wheel have some use, but not by default. It would require a plugin or a 3rd party app.

Basically if it can be mapped to a one button press, you can map it to mousewheel. If the event you are mapping requires that a key be held down (like strafe or speed), forgetaboutit.

[edit]

And anyone thinking this deserves any dev time? Also forgetaboutit, you are not just the minority, but your thinking is wrong. Having accel/decel on the mousewheel will not pan out like you think it will. You are less than the 1%. You are special. Find other keys you can lose. Like targeting.
Nov 15, 2016 meridian link
Not possible with a plug-in since the ability for plug-ins to control ship movement was removed. Would have to rely on a 3rd party app.
Nov 15, 2016 ohshtwaddup link
Does anyone have any binds or plugins that switch from fullspeed forward to full speed backward? It would be amazingly great if i coupd just have that on a mousewheel up/down.
Nov 15, 2016 draugath link
Choco, you can still use Game.SetDesiredSpeed(<num>) to set your desired forward speed (limited by the ship) when F/A is turned on. It does not appear to be possible to go into reverse with this function.
Nov 16, 2016 the_pleiadian link
And anyone thinking this deserves any dev time? Also forgetaboutit, you are not just the minority, but your thinking is wrong. Having accel/decel on the mousewheel will not pan out like you think it will. You are less than the 1%. You are special.

Well some dev time went into the mouse wheel, since it does appear as mapping in Settings.
Nov 16, 2016 yodaofborg link
No. mouse and keyboard support is kind of a given in PC games, and there are plenty of libraries they could have used (like SDL). I'm pretty sure 0 dev time went into getting the mouse wheel working after they implemented keyboard + mouse support.

Anyway, like I have said, it will not work. Even if you do get it to work, there are much better things to use the mouse wheel for, like targeting or zoom.
Nov 16, 2016 joylessjoker link
Yoda, can you kindly tell him how you map your acceleration/deceleration so that he'll see the errors of his ways and shut up for once?

I use mouse buttons 4 and 5 for those. If your mouse doesn't have more buttons beyond the left and right buttons, consider investing into a real gaming mouse. Those don't have to be expensive. I got mine for $18. I use the mouse wheel for toggling AF and AA.
Nov 16, 2016 the_pleiadian link
Yoda, can you kindly tell him how you map your acceleration/deceleration so that he'll see the errors of his ways and shut up for once?

Do you talk to your friends like that too? Or is it because I'm a new player?

I don't need funky gaming mice, I don't see the need to spend 100 Euro or so on one of those gaming mice, my trackball does me just fine.

If you find my thoughts on the mouse wheel thing and available libraries unbearable, I'm sure there are other ways to communicate that. Oh, and, if you see me in space, please make sure you shoot my ship so that you have your satisfaction. ;)
Nov 16, 2016 yodaofborg link
Yoda, can you kindly tell him how you map your acceleration/deceleration so that he'll see the errors of his ways and shut up for once?

Well one way to do it is with an autohotkey script, like this one that sends a big chunk of events rather than a simple on/off. It does work well for what it does and will change speed with FA on, and will even throw you in reverse.

Oh, and, if you see me in space, please make sure you shoot my ship so that you have your satisfaction. ;)

I would have done anyway.

Do you talk to your friends like that too?

Real friends will tolerate being talked to like crap, and even better friends will talk to you like crap too from time to time.
Nov 16, 2016 ohshtwaddup link
Thank you so much yoda for the resource. Will that fix also work with FA off? Basically the fix just returns a value while the scroll wheel is being moved right? So it works like a keypress return value then?
Nov 16, 2016 joylessjoker link
I don't need funky gaming mice, I don't see the need to spend 100 Euro or so on one of those gaming mice, my trackball does me just fine.

Trackball? Lmfao not exactly an ideal weapon of choice for VO. You can do better than this.

Really, 100 euro? Didn't I mention that there are such a thing as CHEAP gaming mice? Here, I'll make shopping REALLY easy for you.

http://www.ebay.com/itm/5500-DPI-7-Button-LED-Optical-USB-Wired-Gaming-Mouse-Mice-For-Pro-Gamer-PC-US-/201621695392?hash=item2ef196eba0:g:rOMAAOSwqrtWnIc2

$7 for a 7 button mouse. You're probably in Europe, so add $11 shipping to that. Still extremely cheap. Not exactly a beauty, but it'll serve you much, MUCH better than that absurd piece of shit that you call a "trackball."
Nov 17, 2016 the_pleiadian link
Trackball? Lmfao not exactly an ideal weapon of choice for VO. You can do better than this.

Look man... I don't need you to tell me what I can do better.

$7 for a 7 button mouse. You're probably in Europe, so add $11 shipping to that. Still extremely cheap. Not exactly a beauty, but it'll serve you much, MUCH better than that absurd piece of shit that you call a "trackball."

That "piece of shit" I have cost me 70 bucks you idiot, and I'm doing quite well with it. If you have some kind of aggressive aversion about people playing a sci-fi game with a trackball, and not how you think it should be played, I suggest you see a shrink.

Interesting community.
Nov 17, 2016 Darth Nihilus link
Oh, that guy doesn't represent our community as a whole, by any means.

By all means, he is a grade-A douche baggerino.
Nov 17, 2016 yodaofborg link
Well, all the script/keyhook basically does is tell the OS you have moved the mouse wheel a lot faster that you are doing. Instead of sending a single on/off, it sends on,on,on,on,on,on/off, basically speeding up the input (and doing so in such a way that even the OS feels it). Would it work without flight assist? Yes, but not very well as there is no fixed speed set. You would literally have to continue to scroll up as long as you wanted to move forwards, where as with flight assist you can just scroll to the desired speed and leave it alone.

Even this isn't perfect as you will lose some accuracy (and it will also affect things like scrolling menus - which VO doesn't have many of), but due to the way the mouse wheel works; I really don't see any other solution being much better.

[edit]

I cannot remember which player it was, but I do recall someone who was a rather good PvP'er swearing by trackballs. Ghost maybe? Anyway, trackballs are not the issue. The mouse wheel is. And at least in my opinion, there are much better uses for the mouse wheel, but not everyone is me.
Nov 17, 2016 ohshtwaddup link
Thank you for helping me out folks

But um.. This was one hell of a roller coaster ride just for a question about a mousewheel.
Nov 17, 2016 Moe Lester link
WELCOME TO VO!

:D

--
Moebius