Bluetooth controller support on android

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
ordim3n
Prole
Posts: 1
Joined: Sat Aug 20, 2016 6:28 pm

Bluetooth controller support on android

Post by ordim3n »

How do I add support for a Bluetooth controller on Android?
bobbyjones
Party member
Posts: 730
Joined: Sat Apr 26, 2014 7:46 pm

Re: Bluetooth controller support on android

Post by bobbyjones »

believe SDL handles the gamepad code for love. So maybe if it's in SDL it would just work? Anyways if you want to add support for it now you would either have to add it into love using jni or you can add it in Lua side using bartbes' JNI wrapper.
https://bitbucket.org/bartbes/jniwrap

If you would want it added to love you would most likely have to add it to sdl first if it already does not support it. Have you tested it already?
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 53 guests