jung1981 / linux-track

Automatically exported from code.google.com/p/linux-track
MIT License
0 stars 0 forks source link

Head movements in-game are rough and granular #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set up a tracking profile for ETS 2 in ltr_gui.
2. Use ltr_pipe --output-file=/dev/uinput --format-uinput-abs --ltr-profile=ETS2
3. Play game, head movements appear rough and granular.

What is the expected output? What do you see instead?
I expected head movements inside the game to appear smooth and fluid like they 
are in the 3D Model test in the Tracking Window of ltr_gui. However, while 
in-game, head movements are jerky and granular.

What version of the product are you using? On what operating system?
Linuxtrack 0.99.11, using Arch Linux 64-bit.

Please provide any additional information below.
Here is a video demonstrating the 'roughness' I'm talking about. In it I move 
my head around at different speeds. it's most noticeable when moving my head 
slowly or in small increments: http://youtu.be/esCCOd9AQ2Y

Original issue reported on code.google.com by jamesave...@gmail.com on 27 Oct 2014 at 12:18

GoogleCodeExporter commented 9 years ago
Hello,
to be honest, so far I have never used the joystick emulation (I'm not a 
anuthor of this part of code and so far nobody reported such a problem); that 
said, looking at the code, it seems that it gives the "joystick" axes range 
from -180 to 180 in one degre increments, which is quite rough...

When I get home, I'll try to reproduce the situation and I'll try to provide 
you with a ltr_pipe with a finer resolution (-2048/2048 should give ~ ten times 
better resolution)...

Thank you for taking time to report this problem!
Kind regards,

Michal

Original comment by f.jo...@email.cz on 27 Oct 2014 at 6:05

GoogleCodeExporter commented 9 years ago
Hello,
unfortunately I don't own ETS2, but I was able to reproduce the behavior in 
X-Plane.

Here is the modified ltr_pipe; put it anywhere (it will find the needed 
libraries by itself), make sure it is executable and run it as you'd run the 
one from the package.
I used following line:

./ltr_pipe --format-uinput-abs --output-file /dev/uinput --uinput-abs-range 4096

You can try putting there even higher numbers, but 4096 worked well enough for 
me...

Please let me know if it helped.
Kind regards,

Michal

PS. I assume you manage to overcome the xend issue - may I ask you for the 
reference what was the outcome?

Original comment by f.jo...@email.cz on 27 Oct 2014 at 7:46

Attachments:

GoogleCodeExporter commented 9 years ago
It works absolutely wonderfully!! Thank you very much for your dedication, you 
always respond so quickly!

As far as the xend issue.. I will post about it in that bug thread.

Original comment by jamesave...@gmail.com on 28 Oct 2014 at 7:15

GoogleCodeExporter commented 9 years ago
Thank you for the confirmation... I'm going to release the new version soon 
(hopefully in a matter of week or so). Thinking of it, I'll probably make the 
4096 new default.

I'll keep this issue open until it is released properly...
Kind regards,

Michal

Original comment by f.jo...@email.cz on 28 Oct 2014 at 8:10

GoogleCodeExporter commented 9 years ago
Hello,
Linuxtrack 0.99.12 is up now, so this problem should not bother you no more...

I'm closing this issue, feel free to reopen it, should the problem reappear.
Kind regards,

Michal

Original comment by f.jo...@email.cz on 18 Nov 2014 at 6:04