Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Lilwolf on September 29, 2005, 06:35:29 am

Title: setting / clearing system cursor from a command line
Post by: Lilwolf on September 29, 2005, 06:35:29 am
Anyone know of a utility that will clear and reset the system cursors from a command line?

Title: Re: setting / clearing system cursor from a command line
Post by: youki on September 29, 2005, 07:42:24 am
What you mean by "system cursor"? 

Under dos , linux or windows?

Title: Re: setting / clearing system cursor from a command line
Post by: Minwah on September 29, 2005, 11:31:06 am
I'm sure he means in Windows...

I don't know of an app that does it but it should be pretty simple to make one - let me know if you get stuck, I have all the code to do it in Mamewah anyway.
Title: Re: setting / clearing system cursor from a command line
Post by: Lilwolf on September 29, 2005, 02:34:51 pm
Yeah windows.

My frontend is written in java (which doesn't have access to the system cursors).  And when I plug a new joystick in windows takes over for a sec, pops up the cursor, and java doesn't realize its there until you move it (at which point it disappears)

its not a big deal, but with hotswap control panels and swapping kinda often, it just a little annoying.
Title: Re: setting / clearing system cursor from a command line
Post by: Minwah on September 29, 2005, 04:48:00 pm
Try this...rename to .zip, and unzip to a folder of your choice.

Run 'cursorhider.exe' -cc to create cursorhider.ini which holds the name of your cursor scheme
Run 'cursorhider.exe' to hide the cursor
Run 'cursorhider.exe -r' to reset the cursor back to the scheme set in cursorhider.ini

I've only tested it in XP but it should in theory work for all Windows versions.
Title: Re: setting / clearing system cursor from a command line
Post by: Lilwolf on October 01, 2005, 11:43:00 pm
Cool and thanks!

btw, I clicked it before doing the .ini from a command line.. (duh).  But it did something weird.  made my monitor hum and got bits of a cursor here / there when moving...

took a few minutes to find the dos icon on the screen!

Thanks again!
Title: Re: setting / clearing system cursor from a command line
Post by: Minwah on October 03, 2005, 07:39:34 am
btw, I clicked it before doing the .ini from a command line.. (duh).  But it did something weird.  made my monitor hum and got bits of a cursor here / there when moving...

That's odd it should just hide the cursor as normal.  Oh well hope it is some use other than that!