Zoom Support

Nicolas Mailhot nicolas.mailhot at laposte.net
Tue Dec 16 14:42:06 PST 2008


Le mercredi 17 décembre 2008 à 07:36 +1000, Peter Hutterer a écrit :
> On Tue, Dec 16, 2008 at 02:49:23PM +0000, micki _ wrote:
> > I am writing X11 input driver,
> > I would like to emulate Zoom IN/OUT ,
> > Is there API ,
> > for example to emulate button event i use
> > xf86PostButtonEvent
> > thank you
> 
> no. zoom is done on the client-side (e.g. compositor) and input drivers don't
> have anything to do with it. Additionally, there's no specific "zoom" button,
> so you have to rely on the client to map button X correctly to the function.

Actually MS has defined standard Zoom+/Zoom- keycodes in the HID spec
(before mouse wheel zooming took over MS thought a zoom lever in its
ergo keyboards would be a great idea), so if they are not part of the
>255 crowd xorg currently zaps commanding zoom function should just be a
matter of sending those codes, and hoping zooming apps recognize them 

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.x.org/archives/xorg/attachments/20081216/31ef2478/attachment.pgp>


More information about the xorg mailing list