Handling Three Inputs

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
czarmurphy
Prole
Posts: 9
Joined: Fri Feb 24, 2012 4:00 am

Handling Three Inputs

Post 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
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: Handling Three Inputs

Post 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
czarmurphy
Prole
Posts: 9
Joined: Fri Feb 24, 2012 4:00 am

Re: Handling Three Inputs

Post by czarmurphy »

Okay thanks for the response
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: Handling Three Inputs

Post 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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Handling Three Inputs

Post by Robin »

Yeah, we have the same problem playing Achtung Die Kurve on any computer we tried so far. (Not made in LÖVE.)
Help us help you: attach a .love.
User avatar
Kadoba
Party member
Posts: 399
Joined: Mon Jan 10, 2011 8:25 am
Location: Oklahoma

Re: Handling Three Inputs

Post by Kadoba »

There is a very good article over this here.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 7 guests