Page 1 of 1
How to stop gamepad from controlling cursor? (Solved)
Posted: Sat Aug 12, 2023 7:48 am
by NutButterPea
Hello everyone.
TLDR: How do I turn off the cursor support for gamepads in FossaPup64 9.5?
I am using FossaPup64 9.5 and I have attached a generic USB gamepad I got for dirt cheap ($5) which thus far has worked flawlessly on emulators, and games using x360ce on Windows. The gamepad seems to work perfectly fine when I got wine installed from quickpet and fired up an emulator, with all my button mappings translating perfectly from Windows which is great however the gamepad seems to also affect my desktop cursor, now this is actually a great feature since I had to use xpadder in the past for that so I definitely would like to use it when I am not running a game or emulator, but how do I turn it off so that I can use the gamepad without affecting the desktop cursor?
Re: Gamepad controlling cursor
Posted: Sat Aug 12, 2023 9:56 am
by greengeek
I don't know the answer - but just a quick thought that maybe it would be possible to temporarily change the desktop cursor to a single pixel (instead of whatever arrow is currently in use?
That way you may not see the cursor until you switched off the modded cursor and went back to normal.
I know that Barry Kauler has recently offered a pet that can be used to change the cursor theme so maybe this is an option?
Re: Gamepad controlling cursor
Posted: Sat Aug 12, 2023 4:20 pm
by NutButterPea
Thanks for the response. :
I am able to use Simple Xcursor Creator and Simple Xcursor Selector to switch to a 0px cursor, part of the process includes restarting the graphical server so you have to launch the relevant applications through the terminal until you're ready to switch it back thus regaining the mouse cursor. It might be worth noting that even though you have a 0px cursor, it is still a fully functional cursor that can interact with desktop elements, it just is rendering 0 pixels. The 0px cursor may still interact with the taskbar if the application entering fullscreen does not automatically hide it for example, or even simulate mouse clicks in the Winows games as Button 1 on the gamepad triggers LMB.
In my particular case, this does indeed allow me to use the gamepad on emulators in fullscreen without the cursor moving all over the screen.
Re: How to stop gamepad from controlling cursor?
Posted: Sat Aug 12, 2023 4:33 pm
by Flash
So is your problem solved?
Re: How to stop gamepad from controlling cursor?
Posted: Sat Aug 12, 2023 6:25 pm
by Grey
NutButterPea wrote: ↑Sat Aug 12, 2023 7:48 am
so I definitely would like to use it when I am not running a game or emulator, but how do I turn it off so that I can use the gamepad without affecting the desktop cursor?
Hi. Go to /usr/share/X11/xorg.conf.d/
In the 50-joystick.conf file (if it doesn't exist, then create it), add the lines (if there are already lines there, then inside the section, not at the end of the file).
Comments behind the # sign are optional:
Code: Select all
Option "StartKeysEnabled" "off" # Disable mouse
Option "StartMouseEnabled" "off" # support of joypad
"off" or "on" turn off or turn on the operation of the joy as a mouse
Restart graph server (Menu>>Exit>>Restart graphical server)
Flash wrote: ↑Sat Aug 12, 2023 4:33 pm
So is your problem solved?
I think it's solved NOW
Re: How to stop gamepad from controlling cursor?
Posted: Sun Aug 13, 2023 10:08 am
by NutButterPea
Grey wrote: ↑Sat Aug 12, 2023 6:25 pm
I think it's solved NOW
Yes, it's solved perfectly!
Thanks!! This is actually exactly what I was looking for, this solution works flawlessly and allows you to toggle the setting easily.
Much appreciated!