Closed GoogleCodeExporter closed 9 years ago
The mouse speed depends on the window manager/OS settings. If your mouse
movement is slower within/on the pygame2 window,, this can indicate a general
implementation issue of your code. Without an example, this is hard to
determine, though.
Original comment by marcusvonappen@googlemail.com
on 12 Nov 2010 at 6:46
I don't have a window manager or gui at all. I have a vanilla archlinux install
(text mode only) but have set the vga boot switch in grub (/boot/grub/menu.lst)
to 789 which gives me a /dev/fb0.
The only gui is pygame2.
im guesting that I can't set the tracking speed of the mouse from grub?!?
With regard to the example, take a look at the first link I sent it contains
the code I used. (The bottom two code snipers together)
Original comment by tom.medh...@gmail.com
on 12 Nov 2010 at 9:02
Will try setting SDL_VIDEO_X11_MOUSEACCEL when I have the machine infront of me
and trying again.
Original comment by tom.medh...@gmail.com
on 12 Nov 2010 at 9:38
The documentation example you linked to does not contain any mouse event
handling, so from that perspective, there is effectively no pygame2 code that
could slow it down.
I doubt that the SDL_VIDEO_X11_MOUSEACCEL environment variable will bring a
change, since it is used for X11/X.org based systems.
Regarding the mouse tracking speed, I am not sure, where to set it for
console/framebuffer based devices, but you won't be able to adjust it from
pygame2 or the underlying SDL implementation. It could be that the framebuffer
driver and mouse event handler from SDL for framebuffers is not optimized. For
further information, I recommend you to discuss potential issues on the
relevant SDL lists and forums (http://libsdl.org/).
Original comment by marcusvonappen@googlemail.com
on 12 Nov 2010 at 11:22
Original comment by marcusvonappen@googlemail.com
on 19 Nov 2010 at 7:10
Original issue reported on code.google.com by
tom.medh...@gmail.com
on 11 Nov 2010 at 2:58