Zoom in/OUT additional question
Peter Hutterer
peter.hutterer at who-t.net
Mon Jan 26 15:21:23 PST 2009
On Mon, Jan 26, 2009 at 03:32:11PM +0200, linux multitouch wrote:
> I posted a question about the subject zoom in zoom out.
> i am writing X11 input driver.
> i looked at the kdb input driver and it use
> xf86ProcessActionEvent(ACTION_PREV_MODE, NULL);
> xf86ProcessActionEvent(ACTION_NEXT_MODE, NULL);
AFAIK, this switches between graphics modes (i.e. resolutions). Calling that
zoom is pushing the term a bit.
> to emulate zoom in zoom out.Is it the right way.?
> Peter Hutterer answer me and told me to use
> KEY_ZOOMIN and KEY_ZOOMOUT
> But i don't know how to send these events/
post a key event with the matching keycode (KEY_ZOOMIN + 8) from the evdev
driver to the server.
Cheers,
Peter
More information about the xorg
mailing list