How can i prevent vista to go in to powersave mode (turn the monitor off) when i play my blitz3d game with a joystick? There is no problem
if i play the game with the keyboard.
Henrik
if i play the game with the keyboard.
Henrik
.lib "user32.dll" api_keybd_event%(bVk%, bScan%, dwFlags%, dwExtraInfo%) : "keybd_event"
Repeat api_keybd_event($41, 0, 0, 0) ;keydown api_keybd_event($41, 0, 2, 0) ;keyup Delay 2500 Until KeyHit(1) End