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

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to