Page 4 of 5

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Mon Aug 13, 2012 7:12 am
by Nixola
I've got a 32bit system, so I don't think I have the 64 one... Anyway, I've got Xinput9_1_0 in system32

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Mon Aug 13, 2012 10:51 pm
by Charles Randall
Okay, I know you said you have direct x installed, but could you install this one?

http://www.microsoft.com/en-us/download ... px?id=8109

The installers that come with games don't necessarily have all the files; this package does have xinput1_3.dll, I verified. If you run that and install it, you *should* have the dll. The one you have is default with Vista/Windows 7, which means you've never had the direct x version installed.

So run that installer, and if the game still complains about it missing, I'll move on to next steps.

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Sat Sep 15, 2012 5:18 pm
by Noktai
I've tried the updated love.exe, but that throws an error:
The application was unable to start correctly (0xc00007b)
trying to include the .dll throws the following error:
error loading module XInputLua.dll from file '.\XinputLua.dll' %1 is not a valid win32 application
I'm using windows 7 64bit

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Sun Sep 16, 2012 2:50 pm
by Lafolie
Just a heads up, the latest tattie-bogle driver for OS X maps both the triggers correctly, and can handle both vibration motors. There's no SDL bindings for the vibration though.

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Mon Sep 17, 2012 3:02 pm
by Charles Randall
Noktai wrote:I've tried the updated love.exe, but that throws an error:
The application was unable to start correctly (0xc00007b)
trying to include the .dll throws the following error:
error loading module XInputLua.dll from file '.\XinputLua.dll' %1 is not a valid win32 application
I'm using windows 7 64bit
You shouldn't need an updated love.exe anymore, I've switched things over to existing purely in the package/dll so it works with basic love2d.

Lafolie wrote:Just a heads up, the latest tattie-bogle driver for OS X maps both the triggers correctly, and can handle both vibration motors. There's no SDL bindings for the vibration though.
Yeah I played with it a bit, the triggers work great. Problem is his driver doesn't identify the controller properly to SDL so I can't know that it's a 360 controller. I emailed him to see if he'd be willing to change that but I never did hear back.

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Tue Nov 20, 2012 3:15 pm
by mangadrive
I'm probably doing something terribly wrong, but the test app cannot find "Xpad" I see it requires it, but there's no Xpad in your library (unless I don't understand what to use)

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Tue Nov 20, 2012 3:20 pm
by Charles Randall
mangadrive wrote:I'm probably doing something terribly wrong, but the test app cannot find "Xpad" I see it requires it, but there's no Xpad in your library (unless I don't understand what to use)
You have to pull the XPad library from github and locate it in the test app folder. See the instructions on the test app at this page:
https://github.com/mrcharles/love2d-x360-test

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Tue Nov 20, 2012 4:01 pm
by mangadrive
I copied the .dll to Love directory.

I got Xpad-Master library and added the contents to the test app folder

Error: Main.LUA:2.Xpad module not found:

No Xpad.lua in Love game directories.

There's no Xpad.Lua in your github.

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Tue Nov 20, 2012 4:18 pm
by Charles Randall
This is the Xpad library:

https://github.com/mrcharles/XPad

That repo goes in a /XPad/ folder in your test app's directory.

Re: Xinput for Love (Real Xbox controller support) BETA

Posted: Tue Nov 20, 2012 4:24 pm
by mangadrive
There we go :) Thank you so much.