You don't have an internal speaker, right? Otherwise it would go crazy if you hold shiftl+shiftr+t. Its a hardware limitation of your keyboard (It's on 90% of all keyboards, but sometimes with different keys). There are also some other combinations which don't work (Just try it out: press all keys down with your hand and it won't write anything anymore [a-s-x-c for example]).
Last edited by DarkDragon on Thu Jun 05, 2008 10:47 am, edited 1 time in total.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
I had this problem in a game using several keys (for two players). If you define an action on each shift keys, sometimes they're not detected, or the others keys! Annoying! A solution is for the player 1 to use the shift key, and the other with CTRL.
In fact, there's this problem if you're using the same row of keys.
I'd like to try an explanation why this behaviour occurs.
the keys pressed have to be encoded some way to be sent via the port where the keyboard communicated with the mainboard.
this port has a limited width.
to encode a keyboard with over 100 keys in a way that each keypress can occur at the same time,
the port needs a width of 128bit (1bit for every key)
when the port is narrower, the keypresses have to be encoded in a way that some combinations cannot be encoded correctly.
since in no normal cases one would use both shift-keys at the same time, this is a combination you can easily leave out.
hope that explanation is correct enough, I know the problem for a long time, but I never read long essays about it.