<br><div class="gmail_quote">On Thu, Jul 22, 2010 at 6:43 AM, Jay McCarthy <span dir="ltr"><<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Jul 22, 2010 at 7:38 AM, Shriram Krishnamurthi <<a href="mailto:sk@cs.brown.edu">sk@cs.brown.edu</a>> wrote:<br>
>> As far as I know, at the lowest level there is no "multiple key press"<br>
>> event even in the OS.<br>
><br></div></blockquote><div><br></div><div>Not that there is a multiple key press event in OS, but below are some potential solutions/examples in other languages: </div><div><br></div><div>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 scenario. </div>
<div><br></div><div><a href="http://stackoverflow.com/questions/2686019/multiple-key-presses-doing-different-events-in-c">http://stackoverflow.com/questions/2686019/multiple-key-presses-doing-different-events-in-c</a></div>
<div><br></div><div>Processing also appear to handle multiple keypress (code): </div><div><br></div><div><a href="http://wiki.processing.org/index.php?title=Keep_track_of_multiple_key_presses">http://wiki.processing.org/index.php?title=Keep_track_of_multiple_key_presses</a></div>
<div><br></div><div>Here's one demo in flash with WASD - but did not show firing: </div><div><br></div><div><a href="http://www.freeactionscript.com/2009/02/multiple-key-press-detection/">http://www.freeactionscript.com/2009/02/multiple-key-press-detection/</a></div>
<div><br></div><div>Cheers,</div><div>yc</div><div><br></div></div>