Assetto Corsa EVO

Assetto Corsa EVO

Mouse steering
Got it working with vjoy device but cursor is always on screen. Any ideas how to remove?
< >
Showing 1-3 of 3 comments
Novameh Jan 16 @ 9:25am 
Can you tell me how you managed to configure it? It doesn't work for me
i had the vjoy app for F1 23. load it up before launching evo. in controls select vjoy device and then click steering then move mouse to lock in input. Hopefully mouse steering will be officially supported like in AC
To lock the cursor, I added the following at the top of my script:

from ctypes import *
user32 = windll.user32



Then somewhere in the body of the script, add:

mouselock = False

toggle_mouselock = keyboard.getPressed(Key.M)

# assign toggle key. if want to assign on mouse, use "mouse.getPressed(2)" instead, 2=middle button, 0=left and 1=right

if toggle_mouselock:
mouselock = not mouselock
if (mouselock):
user32.SetCursorPos(0, 5000)

# lock mouse at left-bottom of screen (x y pixel coordinates)


Here, the M key is the toggle, but you could set it to any key. There are other third party apps that hide the cursor. This just locks it to the edge of your screen. Sometimes a pain to pause and then restart a race. Hope this helps.
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Jan 16 @ 8:51am
Posts: 3