Page 2 of 2

Re: Get all keys currently pressed

Posted: Mon Jan 06, 2014 10:23 am
by Plu
If anyone cares about the reason behind not being able to press certain key combinations, this article explains it really well:

http://www.microsoft.com/appliedscience ... ained.mspx

Re: Get all keys currently pressed

Posted: Sat Jan 11, 2014 3:57 pm
by jjmafiae
Does the limitation have something to do with cats on keyboards?

Re: Get all keys currently pressed

Posted: Thu Jan 16, 2014 3:58 am
by richardperkins
A possible solution for you and admittedly a shameless plug.

I made a module called "KeyMap" that allows you to bind keys and gamepad axis/buttons.

If you plan on tracking more than one key per mapping (ex. "up", "down", "left", "right", "fire", "jump", etc.); such as WSAD, arrow keys, gamepad axis, gamepad dpad, gamepad buttons, and so on; or would like users to be able to customize their controls, this might be useful. Check out the demo .love file if you're unsure.

I've been using it nonstop in my current project.

Hope this helps!

Re: Get all keys currently pressed

Posted: Wed Aug 12, 2015 10:10 am
by Reenen
I know this is a bit of a thread necro, but this is one of the best keyjamming* tools I've ever seen... (People sell this!)** It's even better than M$'s own one at http://www.microsoft.com/appliedscience ... splay.aspx

I just modified the fact that you can't see a spacebar on the screen, to say "space" when it is pressed, but other than that, perfect!

*: The terminology starcontrol 2 used for "ghosting"
**: http://www.passmark.com/products/keytest.htm (this crappy thing)

My keyboard is struggles a bit in this department. Pity most places doesn't allow you to load love and run a test program on the keyboard before buying one.

My current aim is 9 keys (numpad directions, numpad 5, numpad enter, and 3 others (currently E,R and space, but could be any)).

And actually it's only about 6 most of the time.

Re: Get all keys currently pressed

Posted: Wed Aug 12, 2015 2:42 pm
by zorg
Keyboards that have "NKRO" or n-key rollover, are not grouped and can handle every key being pressed at once (at least every alphanumeric, probably varies by keyboard maker), and most mechanical keyboards are marketed like this; then again, very old IBM keyboards worked the same way as well.
One issue with NKRO is that USB keyboards need special drivers to support it, but that means that you can't use the keyboard with the BIOS.
There are a few keyboard types, that can do both via smart engineering, but sadly i lost the link to one i did know about.

Re: Get all keys currently pressed

Posted: Sat Aug 15, 2015 9:24 pm
by s-ol
zorg wrote:... But that means that you can't use the keyboard with the BIOS.
There are a few keyboard types, that can do both via smart engineering, but sadly i lost the link to one i did know about.
Many mechanical keyboards have "BIOS mode", often as an additional choice for the profile switch that does this, but there might also be some that automatically switch between the two, I don't know about that.