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 »

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 »

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 »

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 »

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 »

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 »

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: Ahrefs [Bot], Bing [Bot], Google [Bot] and 6 guests