[maemo-developers] Launch maemo browser in fullscreen mode

From: Johan Bilien jobi at via.ecp.fr
Date: Wed Mar 21 20:00:53 EET 2007
On Tue, Mar 20, 2007, Frantisek Dufka wrote:
> Tomàs Jiménez Lozano wrote:
> 
> >There is really no way to maximize an application in general (and maemo
> >browser in particular) emulating the HW Key press?
> >
> 
> Yes this brute force approach could work too. You could use uinput 
> kernel driver (used with serial bluetooth keyboards) to feed proper 
> F-key to the kernel input subsystem to emulate such key press. Could be 
> quite easy but you need kernel module not present by default on the device.

Using the XTest extension should work, something like
XTestFakeKeyEvent (display, keycode, TRUE, CurrentTime);
XTestFakeKeyEvent (display, keycode, FALSE, CurrentTime);

-- 
Johan Bilien
<jobi at via.ecp.fr>

More information about the maemo-developers mailing list