[SOLVED] love.keyboard.setKeyRepeat(false) does'nt work!

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
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

[SOLVED] love.keyboard.setKeyRepeat(false) does'nt work!

Post by RaptrStudios »

When i put

Code: Select all

love.keyboard.setKeyRepeat(false)
in love.load() or anywhere else, it does'nt stop the key from repeating!
How do i fix this?
Last edited by RaptrStudios on Sat Mar 28, 2015 4:16 am, edited 1 time in total.
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
User avatar
slime
Solid Snayke
Posts: 3132
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: love.keyboard.setKeyRepeat(false) does'nt work!

Post by slime »

Key repeat is disabled by default. Which functions are you calling (or what event callbacks are you using) that seem to make keys repeat? Key repeat only affects whether [wiki]love.keypressed[/wiki] is called multiple times if a key is held down.
RaptrStudios
Prole
Posts: 39
Joined: Thu Jan 22, 2015 5:46 am

Re: [SOLVED] love.keyboard.setKeyRepeat(false) does'nt work!

Post by RaptrStudios »

I was using it for love.keyboard.isDown(key) but it only works for love.keypressed()
Sorry :)
Raptr Studios
http://raptrstudios.weebly.com/

Please consider donating to us!

New Game I'm Working On - Cerradon
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 222 guests