[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] How to prevent mouse initialization in Pygame



Why not just programmatically move the mouse offscreen? 

Or change the mouse cursor to something invisible. Both are easy under wx python, im guessing easy with pygame too. 




> On Jul 5, 2017, at 4:22 PM, Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx> wrote:
> 
> Роман Мещеряков wrote:
>> I instruct pygame to not use X Window server (which, if I understand right, should set $DISPLAY environment variable), but to use framebuffer.
> 
> Probably the framebuffer device is owned by root and only allows
> access by root. Changing the permissions on /dev/fb might let
> you avoid the need to run as root.
> 
> -- 
> Greg
>