Xbox 360 controller

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
brawlis
Prole
Posts: 3
Joined: Mon Dec 21, 2009 11:49 am

Xbox 360 controller

Post by brawlis » Mon Dec 21, 2009 11:53 am

Hello

I checked out LOVE engine, and it looks promising. I wanted to ask, how about xbox 360 controller support?

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Xbox 360 controller

Post by bartbes » Mon Dec 21, 2009 1:37 pm

And what is the support you want? It can already recognize it as a joystick.

brawlis
Prole
Posts: 3
Joined: Mon Dec 21, 2009 11:49 am

Re: Xbox 360 controller

Post by brawlis » Mon Dec 21, 2009 5:26 pm

In need to detect when, buttons and joystick is pressed. I think, if engine recognize controller then, it support it :) .

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Xbox 360 controller

Post by bartbes » Mon Dec 21, 2009 6:37 pm

So in that case it supports it. Next time you might want to try it first. (or look at the docs)

brawlis
Prole
Posts: 3
Joined: Mon Dec 21, 2009 11:49 am

Re: Xbox 360 controller

Post by brawlis » Tue Dec 22, 2009 10:20 am

I already looked to docs :) But in forum, in older posts was writen, that support is not so good, because Xbox xontroler use XInput, but engine uses DirectInput.

User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Xbox 360 controller

Post by bartbes » Tue Dec 22, 2009 2:16 pm

IIRC it can't separate the trigger axes, but this is unlikely to change anytime soon (unless someone writes a better driver for DirectInput)

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests