A86: Reading keypresses


[Prev][Next][Index][Thread]

A86: Reading keypresses




I'm having trouble getting keys read correctly in a space invaders game I'm
making.  I read the arrow keys in (currently using ports) and also need 2nd
for fire and others like exit.  I want the fire key to have to be pressed
for every shot but the arrows to be held.  Calling getkey to check 2nd
works, but you must let up and re-press left/right.  I read some other
source, but can't find anything exactly like this.  Any ideas?


// David Phillips
// mailto: electrum@tfs.net
// AIM: electrum32


Follow-Ups: