Brian Schott, Devon McCormick, and others,

While working on the use of the keyboard in this demo, it would be good
to correct a flaw in the original.  The original does not notice keys
that are down after the most recently key-down key has been released.

The standard for things such as arrow-keys in this demo is to process
for the most recently pressed key in the set that remains down.

Here is an example:  If you hold down the up-arrow, forward motion is
rendered.  If you press the right-arrow while continuing to keep the
up-arrow depressed, the right-arrow's turning action occurs.  When the
right-arrow key is released, the demo interprets no commands as active
even though the up-arrow remains in the key-down state.  Standard
interface would instead interpret that continued key-down so that simple
forward motion would be resumed at the release of the other key.


Tracy Harms
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to