HTV04/wiilove

love.wiimote.isDown not working

Opened this issue · 0 comments

I'm trying to retrieve the wiimote input by this way:

function love.update(dt)
    if love.wiimote.isDown(0, 'down') then
        keypressed = "down"
    end
end

but it doesn't work, I tried with all available key but none works.

This works correctly:

function love.update(dt)
   x = love.wiimote.getX(0)
end