[SDL] SDL tampers with display power settings on the sly

Alberto Luaces aluaces at udc.es
Tue Feb 26 06:49:58 PST 2008

El Tuesday 26 February 2008 14:25:09 Erik escribió:
> > The feature was added because there are two cases where X will trigger
> > the screen saver even though you're still interacting with the
> > application: 1. Using non-keyboard/mouse input (e.g. gamepads)
> >  
> While the X server is active, all input, including gamepads, must go
> through the X server.

That setup is very uncommon. While it is possible to configure a gamepad as a 
X input device, the vast majority of the systems out there doesn't do that 
way. As a disadvantage, you would loss the device's PnP capability, as 
current X servers seem to only look for devices at startup. You would have to 
restart X after plugging the pad for it to be recognized as a X input device.

More information about the SDL mailing list