Page 1 of 2

Keyboard Sensitivity

Posted: Mon Apr 03, 2006 4:33 pm
by opticyclic
When I sneak up on someone from behind (~1km) I find that 1 touch of the up arrow on the keyboard moves the cross hairs about 1/3 of the screen and I can subsequently never target properly.

Is there something wrong with my setup or is this by design when you fly this close?

I am running 1.65 on Ubuntu Linux and I am flying a Cobra Mk1

Posted: Mon Apr 03, 2006 5:04 pm
by JensAyton
This is because keyboards are no good for games of this nature. Use the mouse. :-)

Posted: Mon Apr 03, 2006 8:35 pm
by Lucidor
It would be nice to have a modifier key (alt?) that you could press down to halve the sensitivity when doing precision aiming.

Posted: Tue Apr 04, 2006 5:01 am
by Lanx
I second that. Since I am playing this game with my keyboard since the good old C64, it is very cumbersome to adjust to a new way of steering the ship.

Posted: Tue Apr 04, 2006 9:05 am
by opticyclic
errrmm
How do I set up my mouse as controller? :oops:

Only info I could find on controls was here
http://wiki.alioth.net/index.php/Oolite ... d_Controls

Posted: Tue Apr 04, 2006 9:09 am
by winston
In full screen, press Shift-M and it'll say "Mouse control ON"

Imagine the mouse to be the top of a joystick. Mouse control is very precise (the most precise control method in Oolite).

Posted: Tue Apr 04, 2006 9:38 am
by JensAyton
It’s useful to know that right-click recenters, too.

Posted: Tue Apr 04, 2006 4:40 pm
by Ponder
Can you toggle mouse control in windowed mode?

When I toggle to full screen and back to windowed, the new window is the size of full screen (1280x1024) not the 1024x768 I prefer it to run at.

Posted: Tue Apr 04, 2006 5:42 pm
by JensAyton
Ponder wrote:
Can you toggle mouse control in windowed mode?
No. It only works in full-screen mode.

Posted: Tue Apr 04, 2006 8:36 pm
by winston
Ahruman wrote:
It’s useful to know that right-click recenters, too.
Erm, it doesn't on SDL builds...

But that is fixed now (in r428) and will appear in tonight's nightly build.

Posted: Tue Apr 04, 2006 9:15 pm
by Commander Gralen
Iv'e tried this "mouse control" and i don't really like it. a nifty idea, but i can't use it. I even tried with an old joystick form years ago wich got recognised as a mouse :shock:
That didn't work.

So untill i get a proper joystick,

I'll triple the Alt-button idea. 8)

Posted: Wed Apr 05, 2006 11:30 am
by JensAyton
winston wrote:
Ahruman wrote:
It’s useful to know that right-click recenters, too.
Erm, it doesn't on SDL builds...
It doesn’t?
winston wrote:
But that is fixed now (in r428) and will appear in tonight's nightly build.
Ahh. That should bring more followers over to the One True Way.

Posted: Wed Apr 05, 2006 11:36 am
by winston
Ahruman wrote:
winston wrote:
Ahruman wrote:
It’s useful to know that right-click recenters, too.
Erm, it doesn't on SDL builds...
It doesn’t?
No - the right mouse button event wasn't even being handled by anything. The fix wasn't as trivial as I had hoped either - so that Oolite's cursor appears under the real mouse pointer in the GUI screens, the game under SDL was using the absolute mouse pointer position to position the cursor. This meant with the trivial fix (re-set the virtual stick to 0,0 when the right button was pressed) as soon as you moved the mouse, the virtual joystick would snap back to its old position which can be fatally annoying. Therefore, in flight mode the mouse input style is changed to relative motion only. It's not a big thing but what was supposed to be a five second fix with one line of code turned out to be more like 10 lines of code :-)

I must admit I like the precision of mouse mode, but I prefer my joystick's easily reachable 10 buttons better!

Posted: Wed Apr 05, 2006 11:55 am
by JensAyton
Hey, I’ve got over 100 easily-reachable buttons under my other hand.

Mind you, since I’ve learned to fly precisely with a gamepad under FS2_Open (because its mouse support sucks), I might’ve gone over to that for Oolite if the Mac HID branch hadn’t stalled. Who was doing that again? Oh yeah. ;-) (Then again, I’d have to relearn because of the lack of yaw control…)

Posted: Wed Apr 05, 2006 3:24 pm
by Cyberian Tiger
Back to the original problem.

If you have a low framerate for some reason the keyboard becomes very insensitive, this is because the keyboard events are only polled between frames.

I've had this when I managed to mess up my opengl setup, it was almost impossible to dock using the keyboard.

I'm still a keyboard user, I haven't learnt the one true way yet (tm).

Reminds me of when we played doom 2 at university, using the mouse was 'the one true way'. It was bourne out by the fact that the best player in college used keys, and nearly everyone who learnt or switched to the mouse started beating him. He never learnt the mouse to my knowledge, and was never the best player in college again, or even close to that dubious title :)

(If anyone can remember back to when fps were played with the keyboard predominantly).