Mouse emulating joystick challenge

Blitz3D Forums/Blitz3D Programming/Mouse emulating joystick challenge

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

The mousexspeed() and mouseyspeed() should be called only once a loop and after it, you can use MoveMouse 400, 300.
This will prevent the mouse from reaching the screen border.
What is it you want it to do exactly ? A joystick falls back into it's centre position when you let it go. The mouse cant detect that. You should either simulate this using the mousebutton or accept that the 'joystick' will stay in it's current position when you let it go.