[racket] shift/release shift keys in universe module

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu Mar 14 22:44:15 EDT 2013

Yes, on-release will register a release of the shift key. But I am not sure about the eventual purpose. 


On Mar 14, 2013, at 9:56 PM, Mitchell Wand wrote:

> Does releasing a shift key cause a key event in 2htdp/universe ?  I want to distinguish between ordinary mouse click and shift click.  What I'd like is to have a sequence like
> 
> keyevent:  "shift"  (or "rshift")
> mouse-event: button-down [or whatever]
> keyevent: ???    (I release the shift key)
> 
> I suppose I could experiment to find out, but it's quicker to ask :)
> 
> --Mitch
> 
> 
> 
> 
> 
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users



Posted on the users mailing list.