Page 1 of 1
Handling Three Inputs
Posted: Tue Feb 28, 2012 9:36 pm
by czarmurphy
Does love have any default limit to the number of keyboard presses at one time?
I'm not able to detect any more than two simultaneously on my laptop, but is it Love or is it my laptop? It seems like you would definitely need to be able to detect at least three.
Thanks
Re: Handling Three Inputs
Posted: Tue Feb 28, 2012 9:44 pm
by Xgoff
czarmurphy wrote:Does love have any default limit to the number of keyboard presses at one time?
I'm not able to detect any more than two simultaneously on my laptop, but is it Love or is it my laptop? It seems like you would definitely need to be able to detect at least three.
Thanks
it's a hardware limit of your keyboard (usually called "rollover"). nothing you can really do other than allow the player to select their own keys (keys affected by rollover is usually different for each keyboard model), or use a keyboard designed to not suffer from it
Re: Handling Three Inputs
Posted: Tue Feb 28, 2012 10:42 pm
by czarmurphy
Okay thanks for the response
Re: Handling Three Inputs
Posted: Tue Feb 28, 2012 10:50 pm
by Ellohir
I figured this out when playing Super Mario War four people on the same keyboard, when the player on my left sprinted I couldn't move to the left xD Very fun game.
Re: Handling Three Inputs
Posted: Wed Feb 29, 2012 8:00 am
by Robin
Yeah, we have the same problem playing Achtung Die Kurve on any computer we tried so far. (Not made in LÖVE.)
Re: Handling Three Inputs
Posted: Wed Feb 29, 2012 8:13 am
by Kadoba
There is a very good article over this
here.