I'm using LOVE 11.3 on macOS 11.4 and I believe I have discovered a bug, but it could also be just my keyboard.
If I would like to do something when the G and the H key both is down and I also holding the Space key, so I have 3 key down Space, G and H then nothing is happening, the code is not firing. I experience this problem only with G and H. other keys are working.
Here is a project that reproduce the problem for me. This is the code:
Code: Select all
local message
function love.load(arg)
end
function love.update(dt)
if love.keyboard.isDown('g') and love.keyboard.isDown('h') then
message = 'G and H is down'
else
message = 'G and H is not down'
end
end
function love.draw()
love.graphics.print('Hold Space key and then press and hold G and H',0,100,0,2,2)
love.graphics.print(message,0,200,0,2,2)
end
Thanks.