[racket-dev] multiple key-press

From: YC (yinso.chen at gmail.com)
Date: Thu Jul 22 18:01:54 EDT 2010

On Thu, Jul 22, 2010 at 6:43 AM, Jay McCarthy <jay.mccarthy at gmail.com>wrote:

> On Thu, Jul 22, 2010 at 7:38 AM, Shriram Krishnamurthi <sk at cs.brown.edu>
> wrote:
> >> As far as I know, at the lowest level there is no "multiple key press"
> >> event even in the OS.
> >

Not that there is a multiple key press event in OS, but below are some
potential solutions/examples in other languages:

Here's a potential solution in C# describing looking up keyboard states via
kernel32.dll - not sure whether it will easily be applicable/ported in your


Processing also appear to handle multiple keypress (code):


Here's one demo in flash with WASD - but did not show firing:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20100722/791acbea/attachment.html>

Posted on the dev mailing list.