09 June 2015, 12:59 | #1 |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
Xbox 360 controller problems
I can't use my xbox 360 controller with emulated games. Does WinUAE support DirectInput or X-Input?
|
09 June 2015, 13:40 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
XBox 360 controllers should work fine (at least mine works). DirectInput and RawInput are used.
What do you mean by "can't use"? Does the controller appear in gameports GUI panel? |
09 June 2015, 20:17 | #3 |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
|
09 June 2015, 20:31 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Click Remap/Test button next to joystick selection in GamePorts panel. Then click Test again, does anything happen when you press pad buttons etc?
RawInput is low level, low latency API that gets USB raw packets, lower then DirectInput or X-Input. What Windows version? |
09 June 2015, 20:36 | #5 |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
Yes, the button presses are detected.
I'm using Windows 7 64. |
09 June 2015, 20:42 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
And d-pad also works in test mode too, I guess?
You sure you have your pad in correct Amiga joystick port? What games? |
09 June 2015, 20:47 | #7 |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
Yes and yes. I've tried apidia and super cars 2.
|
09 June 2015, 21:16 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
Hmm.. I assume keyboard joystick emulation works? What if you set keyboard to both ports, have controller connected, start game, confirm that keyboard control works, then press xbox360 controller green button once. Does the pad now work?
(Include also winuaebootlog.txt) |
09 June 2015, 21:38 | #9 |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
If I choose the controller without custom mapping it works. But I'd like to use custom mapping...
|
09 June 2015, 21:44 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
It would have been good idea to mention it in first post..
Attach your config file (with custom controller configuration) and I'll check it. |
09 June 2015, 21:59 | #11 | |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
Quote:
I changed back to custom mapping and the game stopped recognizing the controller's input, only warp mode works. |
|
09 June 2015, 22:08 | #12 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
How does it appear in Input panel?
I only have wireless version (which has different name and IDs) and only buttons are mapped in Input panel but config file does have "missing" direction events. Weird.. Directly using Input panel (with Configuration#x selected in top select menu) probably works but it should not be needed.. |
09 June 2015, 22:57 | #13 |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
Here are screenshots of the input panel.
|
10 June 2015, 16:04 | #14 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
How did you do the custom mapping? Using Input panel remap option or gameports remap?
Your screenshots says "Game Ports Panel" so you probably used Game Ports remap option but I don't understand how did you manage to get directions mapped to [-]/[+] events. It should automatically merge separate events to single horizontal (X) or vertical (Y) movement. Test/Remap -> Delete All -> Remap -> dpad left, dpad right (separate events merged here), dpad up, dpad down (another merge), fire1, fire2, F12, (add extra events if needed), ESC. Done. (This works for me) D-pad ("Hat Switch") mapped to [-]/[+] events cause stuck directions because d-pad does not have real "release" event. Only way I can do this is to do something crazy like pressing left when mapping to right direction and vice versa. There must be some use case I have missed.. |
10 June 2015, 20:58 | #15 |
Registered User
Join Date: Jun 2014
Location: Porto / Portugal
Age: 44
Posts: 16
|
It now works! I wasn't using the remap button, I was double-clicking on the actions.
|
10 June 2015, 21:02 | #16 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
|
11 June 2015, 19:47 | #17 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
It was actually by design.. Single remaps are designed to not do automatic "merging", there are some situations where it is not wanted.
I guess something needs to be done to make it less confusing but I am not sure what.. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
XBox 360 Wireless Controler | Worf | support.WinUAE | 18 | 21 September 2020 16:49 |
XBOX 360 controller disappointment | Zak | Retrogaming General Discussion | 20 | 20 December 2013 15:07 |
XBox 360 controller support (hat switch) | sulaco | support.WinUAE | 6 | 13 April 2012 16:50 |
Problems with an XBox 360 Controller? | JohnnyWalker | support.WinUAE | 7 | 25 June 2011 18:46 |
XBox 360 emulation | JonSick | Retrogaming General Discussion | 2 | 17 May 2010 13:17 |
|
|