<div dir="ltr">I am working with some touchscreen displays where I run a java application and want to provide audible feedback on "ButtonPress" events. <div><br></div><div>One thing I tried and got pretty close with is by writing a xev like program that does an XBell() call on specific mouse events. This worked great for root and xterm windows, but it turned out to not work on JAVA Swing windows since xev does not see mouse events at all, for reasons I don't fully understand.</div>
<div><br></div><div>I would really like to have X handle this directly and not have an external program listen for events, maybe via a module or config option.</div><div><br></div><div>How can I accomplish this? Are there any tools or patches to the source code? Any ideas on different approaches I can take?</div>
<div><br></div><div>Thank you,</div><div>lb</div></div>