- Joined
- Aug 12, 2012
- Messages
- 164
- Reaction score
- 78
- First Language
- English
- Primarily Uses
Marked for deletion
Last edited:
class Scene_Base alias upinput update def update upinput p("XboxControllerConnected = " + Input.xbox360_input.connected?.to_s + " PS3ControllerConnected = " + Input.ps3_input.connected?.to_s) endend
Yea, likewise. I double checked all the issues that the error message comes up with (Having DX installed, the dll, etc.), and it's just not going. I'm using Windows 7 Ultimate.This would be awesome but just can't get it to work. For some reason it just doesn't recognize the controller. Without this script the Xbox 360 controller works fine, with the script the controller stops working. I added the script and put both of the .dll to system folder. Any ideas what could be wrong?
Try this:This is the same problem I'm having for both 360 and PS3 controllers - even when the DLL seems to be in the right place, it just can't load the DLL. By removing the scripted error message, I get a Runtime Error, LoadLibrary, regarding IsConnected = Win32API.new('System/ps3_controller.dll', 'ConnectedController', '', 'n'), or similar for the 360 controller line. I think it's applied to all the Win32API calls though, not just the "is this connected" check.
I'm also using Windows 7, Home Premium.
I also get an error with evented button checks. I have a parallel process that checks if the C button (keyboard Z) is pressed, and get this error:
Line 1484, NoMethodError occurred.
Undefined method [] for nil:NillClass.
The line is return @@input_mapping[sym][c_keyboard].any?{|k| @@keyboard_keys.press?(k)}


DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETE DELETEMarked for deletion
Closed at OP's request