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

Re: [pygame] max keys pressed simultaneously



i'm having issues detecting when more than 3 keys are held down simultaneously.
the OS(WinXP)seems to disallow more than 3 keys being held down at once and generates a pc speaker beep. it seems to be an OS and not a pygame/sdl issue. im pretty sure theirs ways to get around this in low level code, is there ways
to get around it with pygame?
It's the way the internals of the keyboard are laid out. Basically, the idea is that there's only like 3 or 4 "master" signal lines inside most keyboards, and you can experiment with them by holding down different keys. Like, you may only be able to hold down a and s in the home row, but you should be able to hold down 1 q a z.

In the end, though, I would say that if you're writing a game, now's a good time to get a gamepad and write support for it. =]

B
--
* http://clickass.org * ICQ# 1107012 * AIM/Yahoo: theGREENzebra *
-----GEEK CODE 3.12-----
GCM/CS/IT/MU d? s: a24 C++++ UL++++ P+ L+++>$ E---- W++ N+ o K- w---$ O- M V-- PS+ PE Y+ PGP- t++(+++) 5- X R tv(+) b+(-) DI+++ D+ G++ e h++ r+(---) y+ UF*++