The online racing simulator
Program to jump mouse to center
(17 posts, started )
Program to jump mouse to center
Hi all!

I'm looking for a progam, what makes the mouse jump in center position, when I press a button on the keyboard, or on the mouse, while I play LFS. Important thing, that it needs to work with an usb mouse, because I use a laptop.

I know it sounds a bit weird, so I tell the reason why I need this. I made a custom (force feedback) steering wheel using an usb trackball mouse, a logitech wingman formula force gp and some junk . After a lots of hours of work I had to face, that it's not working, because the mouse is not precise enough. But if I could find a program like this, I could solve this problem completely. It will jump the mouse center, when I turn the wheel in center position.

Any idea where can I found this program?
Its very crude and only 5 minutes work but its functional, let me know if its what you're after and then I can go on and refine it a little.


Note : The idea is only to center the cursor so I'm not 100% sure if its useful - If you're using your mouse as steering input then it'll work.
Attached files
GotMouse.rar - 43.8 KB - 267 views
:woohoo:
This is exactly what I needed! Is this your work? You have no idea how thankful I am! Thank you very much!
:bowdown:

I have only one little request: is it possible to make the program center the cursor with the scroll button, or with the right mouse button? Then I could use a microswitch of the mouse, instead of taking apart my keyboard
Sure no problem, I'll add a few options to enable you to select what you need.

Give me a few hours and I'll have it done.
Great! :hyper:
Ok... Round 2!


Added two selectable options between Mouse 2 (right mouse button) and Mouse wheel (click) - not sure if you wanted mouse wheel scroll included so left it out for now.


Laters,
Attached files
MouseCenterthing.rar - 27.5 KB - 225 views
It works fine, just how I wanted
I think I can test it tomorrow in action, with the wheel. I will report you how it's working.
Nice work
Quote from Rooble :Is it of any use to you? Or are you just saying that to be nice?

i tested it... pretty cool :P it is nice tho...
I tested my wheel this week, it works perfectly. But whitout this program it would be useless So I dont think, that the program needs any modification
Invader,

Could you take some pictures of your wheel/setup - I'm curious to see what it actually looks like and how it functions.
Hi!

Here are the pictures. It's actually a beta version, that's why it looks so ugly The force feedback part and the electronics came from an old Logitech wingman wheel. I spent money only on the steering wheel (~4 eur) and on the USB trackball mouse (~1 eur), wich is very rare. Everything else are things what I found in the shed. Most of the parts are made from bakelite plates (that's the dark wood-like thing). I inverted the wirings in the mouse, so it uses the scroll as X axis.

http://img17.imageshack.us/img17/8441/img8365w.jpg
http://img685.imageshack.us/img685/7656/img8363s.jpg
http://img684.imageshack.us/img684/6103/img8361s.jpg
http://img21.imageshack.us/img21/1818/img8360h.jpg
http://img189.imageshack.us/img189/9117/img8358k.jpg
http://img3.imageshack.us/img3/510/img8357e.jpg
http://img709.imageshack.us/img709/4143/img8354vb.jpg
http://img22.imageshack.us/img22/3/img8353c.jpg

If I have time I will build a second version, all from steel parts
#14 - PoVo
Pretty cool to see a person writing a small application to a Demo'er

Respect
Thats a ghetto wheel you got there, I'm actually quite jealous It looks more realistic then my G25 and its mounted perfectly.

My first wheel was a hacked together PS1 wheel - I simply cut off the plug and soldered a printer plug onto it, but this a different league altogether. Love it!


If you're going to make a new version and go all out with steel - build your own usb controller!

Google MJoy16 and read more on it, its pretty simple stuff but will give you so much!!
The best thing about it, that you can handle it as hard as you want. It wont brake. I dont know how long a plastic wheel would last if I handle them as hard as this one.
I forget the most important thing last time, it turns 900°.
And you're right about the driving position. It counts a lot! Much better and much more realistic, than sitting on an office chair...

I read the manual of this program you recommended, it says, that the resolution of every axis is 10 bits. I dont know what this exactly means, but I guess this is too small. This was the reason I used a mouse. The resolution of the wingman wheel wasnt enough. But thanks anyways!
Quote :the resolution of every axis is 10 bits. I dont know what this exactly means, but I guess this is too small.

2^10 = 1024
if wheel 900°
------------
sensibility = 900/1024 = 0.879°

ps. saitek x-52 pro have 10 bit axises

Program to jump mouse to center
(17 posts, started )
FGED GREDG RDFGDR GSFDG