Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

love.wiimote.isDown not working #13

Open
LuisHCK opened this issue Sep 15, 2022 · 0 comments
Open

love.wiimote.isDown not working #13

LuisHCK opened this issue Sep 15, 2022 · 0 comments

Comments

@LuisHCK
Copy link

LuisHCK commented Sep 15, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant