On Wed, Apr 20, 2011 at 10:18 AM, anatoly techtonik <[email protected]>wrote:

>
> So, the advice is.. Change your keyboard! Not very user friendly.


Well, no. The advice is that if you want normal users to be able to play
your game, you need to select the keyboard controls such that they don't
cause jams.

The underlying keyboard matrix is laid out in a grid, and jamming only
occurs if you press 3+ keys that share both a row and a column. So for
example, the 4-key combo 'ASDF' will never jam, because they all lie in the
same row.

Also worth pointing out that the modifier keys (ctrl, alt, cmd/meta/windows
and shift) will never jam other keys.

***

You can also buy much more expensive keyboards which offer 'N-key rollover',
which means that they guarantee that nay number of simultaneous key presses
can be detected (USB and OS limits in reporting key presses may still apply,
however).

It wouldn't pay to expect the average user to have one of these keyboards,
though.

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en.

Reply via email to