Simple question about joystick

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
Posts: 14
Joined: Mon Jan 08, 2018 6:31 pm

Simple question about joystick

Post by Tuxion »

I want to use right bumper or the right trigger of the joystick but I don't know the exact name, I tried that:


but it doesn't work
User avatar
Party member
Posts: 234
Joined: Thu Sep 24, 2015 1:05 pm
Location: New York, USA

Re: Simple question about joystick

Post by Beelz »

Have you made sure that Joystick:isGamepad() returned true? Does it work right if you use the gamepad callbacks(love.gamepadpressed(), etc)?

Code: Select all

if self:hasBeer() then self:drink()
else self:getBeer() end
GitHub -- Website
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests