1. Two keys at once
- Posted by The Reaper <reaper at LOKI.ATCON.COM> Jan 29, 1997
- 1246 views
I am working on a two-player simultaneous game. However, it seems that when I hit two keys close together I can only read one of them. Any ideas? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The Reaper (J. Lays) http://www.dragonfire.net/~TheReaper/ reaper at auracom.com ........................ . .. -||..........__...... "There are no miracles, . / ||......../-- \\.:::: Just dreams that come true, . ..| ||...... / o o| |.::: By the actions of someone .| _-||.......|| / /.:::: Who didn't waste time dreaming." ..| |..||...... -\_ \ |\-.::: .| |.[< \ .../ \.:: .||.|||\|\ | . \.:::: ...|.\|| | \ | | |.:::. . .....|||_ | / |.::. . ..||/..-__\ --- | |.::::. ..||.......|.__ |.:::::::. .||.......| /.::::::..... ...||......| /.::::::::::... . ..||......| |.:::::: ..||......| |.::::::::::. ...||.....| |.::::::.... . .....||.....| |.:::....... ------ || --- | | ---------- || |
2. Re: Two keys at once
- Posted by Michael Packard <lgp at EXO.COM> Jan 29, 1997
- 1250 views
On Wed, 29 Jan 1997, The Reaper wrote: > I am working on a two-player simultaneous game. However, it seems that when I > hit two keys close together I can only read one of them. Any ideas? I had the same issue with OZ. I went with Jacques' keypad() routines, which allow you to simultaneously read the left and right shift, alt, ctrl keys and the capslock and numlock keys all at the same time. The only way to read the other keys is to have a interrupt service handler which I guess Euphoria doesn't do. Michael Packard Lord Generic Productions lgp at exo.com http://exo.com/~lgp A Crash Course in Game Design and Production http://exo.com/~lgp/euphoria