Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

KeyUp event

44 views
Skip to first unread message

Vincent

unread,
May 6, 2012, 8:32:46 PM5/6/12
to
Is there any way to determine if a key is currently depressed, or to trigger an event when a key is released in Mathematica? Similarly to

EventHandler[
InputField[""], {"KeyDown", "h"} :> ( Print["h pressed"];)]

only with the trigger being the release rather then the pressing?

Szabolcs Horvát

unread,
May 8, 2012, 4:12:34 AM5/8/12
to
This was cross posted on Mathematica.SE as well. The following comment
suggests this might not be possible directly in Mathematica:

http://mathematica.stackexchange.com/questions/5246/detecting-keyup-events#comment14383_5246

--
Szabolcs Horvát
Visit Mathematica.SE: http://mathematica.stackexchange.com/

0 new messages