Author Topic: Xbox One joystick  (Read 9508 times)

johnsaints

  • Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Xbox One joystick
« on: January 02, 2017, 11:28:37 PM »
Hi friends. I'm trying to setup my Xone joystick to use with RetroFE but it's not working. Is the Wireless Windows version. Any help ? Thanks.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1534
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Xbox One joystick
« Reply #1 on: January 03, 2017, 09:06:23 AM »
I neither use Windows nor XBOX controllers I'm afraid, so I can't help you there. Anyone care to step in? :)

johnsaints

  • Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Xbox One joystick
« Reply #2 on: January 03, 2017, 12:12:02 PM »
I was able to map buttons A and B, but I could not map Dpad.

tonesmalone

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +1/-0
    • View Profile
Re: Xbox One joystick
« Reply #3 on: January 03, 2017, 12:17:36 PM »
Use a key mapper like joytokey


Sent from my iPhone using Tapatalk

johnsaints

  • Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Xbox One joystick
« Reply #4 on: January 03, 2017, 01:23:32 PM »
Thank you. I was trying to set up in FE itself. I will use external software.

Multiplexer

  • Newbie
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Xbox One joystick
« Reply #5 on: January 03, 2017, 06:19:00 PM »
I don't have a Xbox One controller but I do have an Xbox 360 controller. For that you use

up = joyXHat0Up
down = joyXHat0Down
left = joyXHat0Left
right = joyXHat0Right

where X is the joypad number. If this is the only one plugged in then this will be 0.

To get the button numbers for the rest of the controls go to the Windows Control Panel -> Devices and Printers. Right click the Xbox controller icon,  select 'Game Controller Settings'. In the 'Game Controllers' window highlight the Xbox controller then click properties.

A window will open up with all the Xbox controller pad and button settings. When you press a button on the controller, the button number should light up red inside the settings window. On the 360 controller button A=1.
In the controls config file for RetroFE minus 1 off that number.

So if you want Button A to be 'Select' then use:-

select = joyXButton0

Again, where X is the joypad number. If this is the only one plugged in then this will be 0.

I hope this helps, I think I have confused myself!



bodbod

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
    • Don't be a sheep, Do It Yourself !
Re: Xbox One joystick
« Reply #6 on: January 03, 2017, 06:28:47 PM »
Hi,

Thanks for sharing this info, one more question though : is that dynamic or static ?
I mean if your windows starts and for any reason allocates a random ID to each controller, how does that work then ?

Is there some documentation to use external keymappers with retrofe ? I did not see that one
Finally, is there a way to identify your joystick ID (don't know which one is 0, 1 , 2 or 3...)


Thanks !

Multiplexer

  • Newbie
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Xbox One joystick
« Reply #7 on: January 03, 2017, 07:10:11 PM »
I'm not entirely sure but I think they will remain static as long as none of them are unplugged. As far as identifying the joystick ID if you go to Windows Control Panel -> Devices and printers. Right click the Controller icon then 'Game controller setting'. The 'Game Controllers' window will open. This will display the controllers which are plugged in. As far as I know, the first one on the list will be joy0, the second joy1 and so on

ryuuji

  • Full Member
  • ***
  • Posts: 166
  • Karma: +1/-0
    • View Profile
Re: Xbox One joystick
« Reply #8 on: January 03, 2017, 07:25:00 PM »
wouldn't Antimicro be a easier way to do things ?

johnsaints

  • Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Xbox One joystick
« Reply #9 on: January 03, 2017, 07:31:34 PM »
I don't have a Xbox One controller but I do have an Xbox 360 controller. For that you use

up = joyXHat0Up
down = joyXHat0Down
left = joyXHat0Left
right = joyXHat0Right

where X is the joypad number. If this is the only one plugged in then this will be 0.

To get the button numbers for the rest of the controls go to the Windows Control Panel -> Devices and Printers. Right click the Xbox controller icon,  select 'Game Controller Settings'. In the 'Game Controllers' window highlight the Xbox controller then click properties.

A window will open up with all the Xbox controller pad and button settings. When you press a button on the controller, the button number should light up red inside the settings window. On the 360 controller button A=1.
In the controls config file for RetroFE minus 1 off that number.

So if you want Button A to be 'Select' then use:-

select = joyXButton0

Again, where X is the joypad number. If this is the only one plugged in then this will be 0.

I hope this helps, I think I have confused myself!

Thanks man. My problem was the Dpad,  now works fine.

bodbod

  • Jr. Member
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
    • Don't be a sheep, Do It Yourself !
Re: Xbox One joystick
« Reply #10 on: January 03, 2017, 11:32:38 PM »
Hey,

Thanks Multiplexer, in the end I have done some testing and found out which controller was allocated to Joy 0 / 1 / 2 and 3.
A bit of a pain but in the end it works so I can't complain. I haven't used the hat thing...

Here is my config if that can help people :

Quote
up = joy2Axis1+
down = joy2Axis1-
left = joy2Axis0-
right = joy2Axis0+
pageUp = joy3Axis1+
pageDown = joy3Axis1-
letterUp = joy3Axis0+
letterDown = joy3Axis0-
nextPlaylist = joy3Button3
addPlaylist = joy2Button7
removePlaylist = joy3Button7
random = joy3Button6
select = joy3Button8
back = joy3Button9
quit = Q