So I want to be able to detect controller buttons and hats while the window is unfocused. My game requires you to be out of focus a lot of the time consulting a separate .pdf as you play, and it looks like currently the engine cannot support this at all?
I do NOT need this for keyboard, only for controllers.
[SOLVED] Controller Inputs While Window Is Unfocused?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 22
- Joined: Sat Jun 01, 2013 4:40 am
[SOLVED] Controller Inputs While Window Is Unfocused?
Last edited by immakinggames on Tue May 17, 2016 2:13 pm, edited 1 time in total.
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Controller Inputs While Window Is Unfocused?
LÖVE's APIs don't have a way to natively do this, but you can use the FFI to enable it: https://bitbucket.org/rude/love/issues/ ... t-14550714
-
- Prole
- Posts: 22
- Joined: Sat Jun 01, 2013 4:40 am
Re: Controller Inputs While Window Is Unfocused?
This worked perfectly, thank you!slime wrote:LÖVE's APIs don't have a way to natively do this, but you can use the FFI to enable it: https://bitbucket.org/rude/love/issues/ ... t-14550714
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 10 guests