Hi Benjamin,
Benjamin BOUCHER schrieb:
Why does the X11 interface not contain the XNextEvent function as well
as ButtonPress, Button1,etc... constants ? Yet, I saw threads on the
web which references it.
Oh, your right. Thread
https://jna.dev.java.net/servlets/ReadMsg?listName=users&msgNo=678 is
referencing it. Seems that Kim Eik has already implemented or tried to
implement it in his own class. I don't think it was ever part of the X11
class of JNA and has been removed later.
should I implement it myself or is there another way to manage events
from X11 with JNA ?
Maybe Kim can help you to implement the necessary code or give you his code.
BTW I'm also interested in getting and simulating XEvents (keyboard,
mouse and window events). Currently I don't have time to work on it. But
I think I can help you in September.
PS: I've also created a small object oriented class model to address X11
objects and methods (e.g. window.getTitle() returns the title of an
window). I try to submit it in September.
Regard,
Stefan