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
<[EMAIL PROTECTED]>
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to