> I want to generate a Scroll event (identical to a scroll wheel on a 
> mouse) but from software.  Is there a function that will let me do this? 
>   I know there is XWarpPointer to move the pointer and XSendEvent but 
> I'm not sure how to generate a scroll event.  Any info apprectiated.

> Does a Scroll event in X mean the same thing as is sent from a mouse's 
> scroll wheel?  Or is there another meaning (Like scrolling around a destop)?

   The wheel is just seen as a couple of buttons, usually button 4 for up and
  5 for down. You cannot generate "scroll" events but you can generate
  "scroll wheel" events by generating button 4 and/or 5 events. Be aware that
  an application is free to ignore "synthetic" events, that is: events
  generated by other applications.

    Hope this helps,

      Lo�c
_______________________________________________
Devel mailing list
[email protected]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to