Run the game from the console, you will be getting a few kinds of messages, this would be preferable idle output (when you're not pressing anything).
Code: Select all
../X3/X3/s_linux/sio2.cpp : S_VbiIO2_Direct : 435 : sc Arrows 0 0 0 0
../X3/X3/s_linux/sio2.cpp : S_VbiIO2_Direct : 595 : sc MDxy 0 0
../X3/X3/s_linux/sio2.cpp : S_VbiIO2_Direct : 435 : sc Arrows 0 0 0 0
../X3/X3/s_linux/sio2.cpp : S_VbiIO2_Direct : 595 : sc MDxy 0 0
sc MDxy -10 -10 would mean that the mouse has moved 10 pixels left and up.
You will also get this when you press a key:
../X3/X3/s_linux/sio2.cpp : S_VbiIO2_Direct : 361 : sc K Down 36
And when you release a key:
../X3/X3/s_linux/sio2.cpp : S_VbiIO2_Direct : 390 : sc K Up 36
There are also some for the joystick like JD1xy JD2xy these are like the mouse, and JDpov where -1 means centered.
So if you see that the arrows are constantly e.g. 1 0 1 0 when you're not pressing them then report that. Or if you see lot's of Down events that aren't from normal keypresses, or if any of the mouse joystick messages give a constant non zero reading (except pov which should report -1).
haitamsh wrote:after I first get control of the spaceship, it keeps spinning down+left as if the mouse is not calibrated, when I move the mouse it start "correcting" the movements and then go back to spinning down+left..
Edit: I tried this in both window mode and full screen mode, same issue
sysinfo:
Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
asus sabertooth x79
Gigabyte GTX680 OC 2GB GDDR5 DX11 2xDVI HDMI DP PCI-E 1
Corsair 4x8GB Vengeance Quad Channel CL10-10-10-27
mouse: Logitech performance MX
kernel: 3.7.0-7
video driver: Nvidia 313.09
Distro: Ubuntu 12.10 - 64bit
haitamsh wrote:I tried two different keyboards same problem, but I have some extra information now:
1- if I start the game with the keyboard and mouse connected the spaceship will keep spinning, tried to disconnect both and reconnect - didn't help, kept spinning
2- if I try to start the game with only the mouse connected no keyboard it will work ok, then I reconnect the keyboard without any issues - fixes the problem.
I have no joysticks or second mouse/keyboard connected, and I am not using any mapping macros.
I also never encountered any input issues that indicates that a key is stuck in other games or daily use.
haitamsh wrote:windows are being opened when pressing r , . but it will not stop spinning. I don't have a numlock in my keyboard, as for capslock it didn't have any effect.
if you need my xinput and xkbcomp output as well:
xinput list output: http://pastebin.com/Ce18cnxR
xkbcomp output: http://pastebin.com/QhBbWAXi
let me know if there is anything else that I provide.
Thank you for your help and quick response.
Haitam
LaurensBER wrote: I can confirm this problem. Pressing the arrow keys doesn't help. I don't seem to have Scroll lock (Logitech Wave keyboard) but pressing numlock doesn't change anything.
Pressing F3 (target view?) and using the numlock keys stops the spinning but if I press F1 (my ship view) again it starts to spin again.
I don't get any scrolling in the windows in , . or r.
xinput list --long:
http://pastebin.com/KedcQqL3
xkbcomp :0 out:
http://pastebin.com/ZE7BQFmu