|
From: Fred <fr...@sp...> - 2013-02-02 10:18:05
|
Hi Steven, The SDL code is set to disable the cursor when it is running in fullscreen mode when started in a UI, but I'm not 100% sure that we have things right when SDL is running outside a WM. You could try further modifying ui/sdl/sdlui.c and ui/sdl/sdldisplay.c to remove any calls to SDL_ShowCursor( SDL_ENABLE ) and see what happens (not in a WM as it is likely to leave your cursor hidden even on exit). Fred On 02/02/2013, at 11:21, Sergio Baldovi <ser...@gm...> wrote: > I vaguely remember a similar case posted on WOS, he was using Raspberry > IIRC. > > On SDL UI the mouse pointer is grabbed to the top left corner to keep > track of movements when using fullscreen or Kempston Mouse interface. I > guess SDL_ShowCursor is not working on the console or there is some > mouse daemon. > > Lastly, on xlib UI we draw a transparent pointer instead of disabling it. > > Cheers, > Sergio > > On 01/02/13 21:57, Philip Kendall wrote: >> On Wed, Jan 30, 2013 at 05:09:04PM +0000, Steven Raynham wrote: >>> Hi, >>> >>> First I'd like to compliment you on Fuse, it's a great emulator. >> Thanks - a lot of the credit should go to the rest of the team as well :-) >> >>> I have a small question: >>> >>> I've been running the emulator via SDL without X running, but the mouse >>> pointer always appears in the top left corner. I made a small adjustment by >>> adding SDL_ShowCursor( SDL_DISABLE ); to the sdlui.c file but it didn't >>> make any different. My knowledge of C is pretty low, but I get by. >>> >>> I'm not sure where to go from here, is there a location where this code can >>> be inserted that would have the desired effect to hiding the mouse pointer >>> complete (ideally without effecting the emulator when it's running in X, >>> but that's not essential). >>> >>> I understand if you don't have time to answer this, my thanks for even >>> taking a look. >> The best thing I can quickly do here is to include the Fuse development >> list, especially as I'm not an expert in the SDL UI. >> >> Cheers, >> >> Phil >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > fuse-emulator-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-emulator-devel |