would also love the feature. the opengl demo (shader) has key events but
wd 'verbose 3' doesn't post them to console. mswd_handler =: 3 : 0 smoutput wd 'q' ) doesn't get any keypresses I'm also unsure how to do it, and would like a multicontrol form key preview functionality (text boxes excepted) You may be able to use function keys (from shader demo) a_f10_fkey=: 3 : 0 STOP=: -.STOP ) ----- Original Message ----- From: Ric Sherlock <[email protected]> To: Programming JForum <[email protected]>; [email protected] Sent: Monday, June 20, 2016 9:30 PM Subject: [Jprogramming] Capturing an arrow key press event in wd GUI? Is it possible to capture an Arrow keypress event in a WD-based Qt application? I have developed a J version of the 2048 game with a WD interface that I plan to release as an addon. https://github.com/tikkanz/g2048 Currently I use menu shortcuts (Ctrl+w/s/a/d) to support the keyboard, but it would be more ergonomic if I could use the Left, Right, Up & Down arrows directly. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
