English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 22 November 2016, 21:51   #1
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Mapping joystick / joypad [Xbox 360 specific]

<sigh>

If only I could map my Xbox 360 wireless controllers to a CD32 pad configuration successfully...

This process is sooooo difficult and not very intuitive at all; spent the past half-an-hour without 100% success (can get 70% of buttons / movement set but not everything)
DamienD is online now  
AdSense AdSense  
Old 22 November 2016, 21:58   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,565
Game Ports, select custom <something>, CD32 pad, remap/test. Remap again. Do something with the pad. It can't get (much) more easier or intuitive.
Toni Wilen is online now  
Old 22 November 2016, 22:17   #3
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Ok, easier when you know how...

I was previously selecting "Inputs" --> "Configuration #1" and then trying to "Remap".

One slight issue still though, with my Xbox 360 controller I've set / can use the "Hat Switch (X) & (Y)" but how do I set the "X Axis" & "Y Axis" also?
DamienD is online now  
Old 22 November 2016, 23:01   #4
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Phew, finally got there:



I wouldn't say it was simple Toni; I did as you mentioned in order to get "Hat Switch (X)" & Hat Switch (Y)" setup but no matter what I tried couldn't get "X Axis" & "Y Axis" incorporated also...

In the end I had to:

a) Start with a blank config, set "Hat Switch (X)" & Hat Switch (Y)", plus all "CD32 buttons" and then save as "001.uae".
b) Start with a blank config again, set "X Axis" & "Y Axis" and then save as "002.uae".
c) Copy the relevant entries out of "joyportcustom0=" in "002.uae" and paste at the end of "joyportcustom0=" "001.uae".

So for anyone else with Xbox 360 wireless controllers that's having difficulty remapping to a CD32 joypad; just paste the following over the "joyport1" lines in your configurations:

Code:
joyport1=custom0
joyport1autofire=none
joyport1mode=cd32joy
joyportcustom0=j.0.b.0=JOY2_CD32_RED j.0.b.1=JOY2_CD32_BLUE j.0.b.2=JOY2_CD32_GREEN j.0.b.3=JOY2_CD32_YELLOW j.0.b.4=JOY2_CD32_RWD j.0.b.5=JOY2_CD32_FFW j.0.b.7=JOY2_CD32_PLAY j.0.a.0=JOY2_HORIZ j.0.a.1=JOY2_VERT j.0.a.5=JOY2_HORIZ j.0.a.6=JOY2_VERT

Last edited by DamienD; 22 November 2016 at 23:25.
DamienD is online now  
Old 23 November 2016, 00:07   #5
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Ok, been playing around trying to add in my second Xbox 360 wireless controller

You don't even need to remap anything; just set from "Default" to "CD32 pad" for both ports

...so if you have 2 x Xbox 360 wireless controllers; just paste the below over "joyport0" & "joyport1" in your CD32 configuration files:

Code:
joyport0=joy1
joyport0autofire=none
joyport0mode=cd32joy
joyportfriendlyname0=Controller (XBOX 360 For Windows) [2]
joyportname0=\\?\HID#VID_045E&PID_02A1&IG_02#8&1587aceb&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
joyport1=joy0
joyport1autofire=none
joyport1mode=cd32joy
joyportfriendlyname1=Controller (XBOX 360 For Windows) [1]
joyportname1=\\?\HID#VID_045E&PID_02A1&IG_00#8&207c98d7&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Buttons will be as follows:

Code:
XBOX 360          CD32
---------------------------------
"A" button        "Red" button
"B" button        "Blue" button
"X" button        "Green" button
"Y" button        "Yellow" button
"LB" button       "RWD" button
"RB" button       "FFW" button
"Back" button     "Play" button
DamienD is online now  
Old 23 November 2016, 07:52   #6
ransom1122
Registered User
ransom1122's Avatar
 
Join Date: Aug 2011
Location: Omnicorp
Posts: 2,473
Top Job D-Man.
ransom1122 is offline  
Old 23 November 2016, 08:29   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 42
Posts: 19,565
Quote:
Originally Posted by DamienD View Post
Ok, easier when you know how...

I was previously selecting "Inputs" --> "Configuration #1" and then trying to "Remap".

One slight issue still though, with my Xbox 360 controller I've set / can use the "Hat Switch (X) & (Y)" but how do I set the "X Axis" & "Y Axis" also?
Select entry where you want to add it, then click Remap again and move analog stick. You can add as many events as you want under single entry.

Use Add Event if you want to add other events, like want to map pad key to keyboard etc.
Toni Wilen is online now  
Old 23 November 2016, 10:56   #8
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Cheers Toni

I know you don't like doing documentation (me neither) but this is one of those things where it would be good to have basic instructions; hence the reason for this thread. Would save people a lot of headaches and probably silly questions coming your way...

Anyway, hopefully there is now enough information here to help others
DamienD is online now  
Old 11 December 2016, 22:28   #9
honx
Registered User

 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 698
cd32 pad mapping for xbox360 controller

is it possible to implement some kind of standard setting for xbox 360 controller as replacement for cd32 pad?
because i am way too exceptionally stupid to get xbox 360 controller working as cd32 pad in cd32 configuration.

Last edited by honx; 12 December 2016 at 06:59.
honx is online now  
Old 11 December 2016, 23:43   #10
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
I used to have trouble with this also...

Anyway, I'm sure that I replied to one of your recent posts on the same subject and pointed towards this thread:

... Mapping joystick / joypad [Xbox 360 specific]

Once you know how it's easy

Just ignore most of what I wrote, that's for customising buttons... All you need to do is as follows

Quote:
Originally Posted by DamienD View Post
You don't even need to remap anything; just set from "Default" to "CD32 pad" for both ports

Last edited by DamienD; 12 December 2016 at 13:29.
DamienD is online now  
Old 12 December 2016, 13:39   #11
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Quote:
Originally Posted by honx View Post
is it possible to implement some kind of standard setting for xbox 360 controller as replacement for cd32 pad?
because i am way too exceptionally stupid to get xbox 360 controller working as cd32 pad in cd32 configuration.
Did you get this working honx?

If not, here's step-by-step instructions (I'll use only one controller and "Port 2" in the example):

a) Connect your Xbox 360 controller.
b) Start WinUAE and select "Host" --> "Game ports".
c) Click the drop down menu next to "Port 2:" and select "Controller (XBOX 360 For Windows)".
d) Click the drop down menu that says "Default" under "Port 2:" and select "CD32 pad".



All done, repeat for the other controller / Port 1

If you now select "Host" --> "Input" you will see what function is mapped to which button:

DamienD is online now  
Old 12 December 2016, 13:42   #12
honx
Registered User

 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 698
haven't tried yet, sorry. will do that tonight...
honx is online now  
Old 12 December 2016, 13:52   #13
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
That's ok; I might merge this thread with my original one: Mapping joystick / joypad [Xbox 360 specific]
DamienD is online now  
Old 12 December 2016, 15:48   #14
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italia)
Posts: 1,956
Grazie Damien, for those not familiar a nice little program to test Joysticks, also exists that for the Joypad

[ Show youtube player ]
AMIGASYSTEM is offline  
Old 22 December 2016, 11:13   #15
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Quote:
Originally Posted by honx View Post
haven't tried yet, sorry. will do that tonight...
Did you ever get this working honx?
DamienD is online now  
Old 22 December 2016, 11:36   #16
honx
Registered User

 
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 698
sorry, still haven't tried. now i will have to, i guess.
honx is online now  
Old 22 December 2016, 11:59   #17
DamienD
Global Moderator

DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 40
Posts: 8,993
Quote:
Originally Posted by honx View Post
sorry, still haven't tried. now i will have to, i guess.
Not at all, totally up to you really

...just thought that given all your threads / posts about it you'd be eager to find a solution; that's all.

There's another saying my father used to say: "You can lead a horse to water but you can make it drink"
DamienD is online now  
Old 22 December 2016, 13:49   #18
ransom1122
Registered User
ransom1122's Avatar
 
Join Date: Aug 2011
Location: Omnicorp
Posts: 2,473
Neigh
ransom1122 is offline  
AdSense AdSense  
 


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 pad and WinUAE Aljrob support.WinUAE 10 31 January 2015 19:32
XBox 360 inching towards homebrew Antiriad Retrogaming General Discussion 60 02 August 2011 21:58
Amiga emulator on the Xbox 360 kipper2k Amiga scene 44 17 December 2010 12:30
XBox 360 emulation JonSick Retrogaming General Discussion 2 17 May 2010 13:17
Joypad axis mapping Hungry Horace request.UAE Wishlist 12 15 October 2007 16:56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:15.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.23629 seconds with 11 queries