Jump to content
LaunchBox Community Forums

Hide my darn cursor


Nathaniel138

Recommended Posts

Hey folks, just getting my setup back up after some corrupted files hit me. I was wondering, since I use overlays in Retroarch and it always start's with the cursor enabled, is there a way to rectify this issue?

Now know that there isn't a setting yet to take care of this in Launchbox, but pushing F11 when I load the games will just hide it. It's odd that I can't get Retroarch to just take care of the issue for me and I don't want to push the button every time I load a game. Is there anything anyone could suggest to help me out? I was thinking that I might be able to add a command line next to where I have the Core and Config commands to just push that button while loading up but I honestly don't know how I'd do that. Thanks in advance guys, you all rock.

Link to comment
Share on other sites

Use an AutoHotKey script for the emulator to move the cursor.

Put this in the AHK tab for your emulator in LB:

MouseMove, 1920, 1080

Change the numbers to your displays resolution if using something other than 1920 x 1080. It will move the cursor to the bottom right corner of the screen and should be hidden.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

So that didn't work for me, I can't have it target Retroarch. I did find this

https://forums.launchbox-app.com/topic/33950-lbcc-open-source-cursor-hiding-thing/

IT's LaunchBox Cursor Changer. Something i should be able to add to Launchbox and then edit the config file to target Retroarch. Problem is I can't figure out how to add it to Launchbox. Any advice?

Link to comment
Share on other sites

i like nomousy.exe . it has always worked perfectly for me.

n case you want to hide the mouse pointer and have nomousy.exe, you can add this ahk code to your emulator's AutoHotkey Script tab (example is for Demul since that one often needs this):

Run, R:\LaunchBox\Games\Tools\nomousy.exe /hide
$Esc::
{
        Run, R:\LaunchBox\Games\Tools\nomousy.exe
        WinClose, ahk_class window ahk_exe demul.exe
}

Just change the path to where you put your nomousy.exe file.

Link to comment
Share on other sites

Yeah sure, learn to use and setup a bloated confusing software package just to hide a mouse cursor, talk about a sledgehammer for a small job.

Edit:
Just doing some tinkering combining of AHK scripts and cobbled this together and seems to work perfectly without the need to use any external programs whatsoever, it relies solely on Launchbox's built in AHK script. Simply put the following script in the AutoHotKey Script tab of the edit emulator window.

If using a different resolution display change the 1920,1080 to whatever the resolution your display is.

The reason for the sleep command is because I found without it the mouse didn't move, the delay seemed to fix it.

Sleep, 3000
SetKeyDelay, -1, 110
MouseMove, 1920,1080

$Esc::
{
    Process, Close, {{{StartupEXE}}}
}

59df15e5cbca0_2017-10-1203_11_31-EditEmulator.thumb.png.a561e9042ca419f7d679e4cf7cf2a139.png

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

On 10/10/2017 at 2:03 AM, Nathaniel138 said:

It didn't work unfortunately. My thinking is that because of the OVerlay, Retroarch resets the cursor position. Any way for the AHK to just be F11?

It does work. I've just tried the first script above that Monkus posted above and it WORKS. My resolution is 1280x720 and it still works. I have overlays in RetroArch too. "Darn cursor hidden" using three little words! Or one word and two numbers if you want to split hairs.

I can unbind "mouse movement" from my Xpadder controls for a few more emulators now. Wow.

You are adding the script to the AutoHotKey tab on the Edit Emulator screen yes?

Edited by JamesBond@ge
Link to comment
Share on other sites

Just tried it in BigBox with RetroArch 1.0.0.2 and 1.6.0 and 1.6.7 and it's worked in all of them. 1280x720 resolution and RetroArch overlays etc. Yeah so that very first script you posted worked for me even though my resolution is different. I'm still on Windows 7 so I bet it's you Windows 10 guys that have a problem with it. I'll try it in DEMul tommorow but I expect it to work. I'll finally get my right analogue stick back heh.

Thanks Monkus. You're on fire lately.

Edited by JamesBond@ge
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...