Rasp3 retropie - Cursor working but trapped in bounding box

Discussion about other and unofficial ports of ScummVM

Moderator: ScummVM Team

Post Reply
Posts: 1
Joined: Wed May 17, 2017 10:26 pm

Rasp3 retropie - Cursor working but trapped in bounding box

Post by Adfield » Thu May 18, 2017 1:00 pm

Hi all,

I'm hoping somebody might be able to shed some light on why this is happening, i've posted it on the retropie forums too but haven't had much luck yet.

My plan was to use an air mouse as a sort of 'pointer' to control the point and click interface on my raspberry pi, similar to how Scummvm functions on the wii.

So i got hold of an old wiimote and a mayflash dolphin sensor bar which plugs in via USB. With the bar set to mode 2 (mouse and keyboard), the sensor bar translates the wiimote's IR signal into mouse movement.
I got this working to an extent, when in the scumm menu or with a game booted, the cursor moves freely (and surprisingly well!) but with one huge caveat: the cursor is confined to a small box in the upper left corner of the screen, and hits an invisible wall if you try and move it across the full width of the screen.

Strangely if i plug a regular mouse back in, the problem disappears and I regain full control of the screen again.

Pretty close to working but no dice, I'm hoping there's potentially a setting that needs altering somewhere?

Any ideas?

The help is hugely appreciated!


ScummVM Developer
Posts: 1013
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Fri May 19, 2017 11:41 am

Might need to modify xinput parameters for the Mayflash Dolphin Sensor Bar, which I assume acts to provide a Bluetooth host and protocol convertor which makes this appear as a USB mouse:
https://www.reddit.com/r/linux_gaming/c ... ease_help/

Apart from that, we use libSDL to abstract mouse input so you may want to try with DOSBox (which also uses it or similar libSDL based application in Fullscreen) to see if you see the same behaviour.

Apart from that, you could try changing some of the mouse related libSDL environment variables which can fix issues with slightly "odd" mice and HID devices:
https://www.libsdl.org/release/SDL-1.2. ... vvars.html

Post Reply