Citra with Controller support?


#1

Hello!

Is there anyway to get the emulator, even unsupported, to work with my controllers (PS3 or PS4)? It is really hard to steer games like OoT or MM on a keyboard.

I was just hoping anyone here had any luck and could help a fool out. :wink:

Thanks!

(oh, and I know official support was removed due to conflicts)


#2

you can use joytokey to map your keyboard into your controller


#3

That worked so much easier than I thought it would! Thank you so much!

Are there any free alternatives though?


#4

A quick google search would provide multiple programs that accomplish this. ScpToolkit, DS4Windows, inputmapper, etc. Take your pick, try each out to see which works best for you. I can’t recommend one or vouch for any as I don’t use Playstation controllers.


#5

Recent Bleeding Edge builds contains controller support, but not that easy to use. You can’t configure it in the input configuration window. You need to manually edit the ini file instead. Open config/qt-config.ini under the user directory, find the [Input] section and replace the text below with

button_a="engine:sdl,joystick:0,button:1"
button_b="engine:sdl,joystick:0,button:0"
button_x="engine:sdl,joystick:0,button:3"
button_y="engine:sdl,joystick:0,button:2"
button_up="engine:sdl,joystick:0,hat:0,direction:up"
button_down="engine:sdl,joystick:0,hat:0,direction:down"
button_left="engine:sdl,joystick:0,hat:0,direction:left"
button_right="engine:sdl,joystick:0,hat:0,direction:right"
button_l="engine:sdl,joystick:0,button:4"
button_r="engine:sdl,joystick:0,button:5"
button_start="engine:sdl,joystick:0,button:7"
button_select="engine:sdl,joystick:0,button:6"
button_zl="engine:keyboard,code:49"
button_zr="engine:keyboard,code:50"
button_home="engine:keyboard,code:66"
circle_pad="axis_x:0,engine:sdl,joystick:0,axis_y:1"
c_stick="axis_x:3,engine:sdl,joystick:0,axis_y:4"

Note: the configuration above is for XBox controller. For other controllers like PS3 or PS4, you need to change the ID numbers after "button:". You need to figure out the right number for your controller yourself

For more info: https://github.com/citra-emu/citra/pull/2497


Does a WII U gamecube controller adapter work?
#6

someone else just mentioned launching citra from steam’s big picture mode to obtain its controller support.


#7

This doesn’t work for me. I’ve got Bleeding Edge Build, my pad is detected in apps like joytokey, x360ce or dolphin but nothing is detected in Citra.

This is not a real xbox pad but as long as it’s detected, it should works right ?

EDIT : I used an other pad and it worked. Some pads doesn’t work.


#8

I personally use https://pinnaclegameprofiler.com/ and a Xbox 360 controller and it works fine.


#13

I don’t want to use XBOX 360 controller because I hate it. I only have PS3 and PS3 controllers. They works great with my every emulators on Mac. I would like to try them for Citra.


#14

The software I mentioned in my previous post will allow you to use any controller you want. However Citra now has integrated controller support, just no GUI for it yet.

Strange that you prefer the PS3 controller, most people I speak to will pick the 360 one over them. Personally I never got on with the PS1/2/3 controller, the PS4 isn’t too bad though.


#15

GUI support is about 1-3 years away. I’m thinking of just writing out a separate program tonight that maps your controller to that file.


#16

I’ve already did:


And you’re wrong about the GUI for the configuration, wwylele is already working on it (some users, including me, already tested it and I can say is “almost ready”, just need some minor fixes).


#17

Seriously. Very nice work.


#18

Singed up just to thank you!
It worked for me, thanks :slight_smile:


#19

@diedly_doo: I didn’t think anyone would still use / look at such old topics.

Here is a newer tutorial topic to collect all info about configuring controllers


#20

F*ck windows. I need a version for mac. Thanks… also, re: the GUI being “almost ready”. It’s been 2 months. I guess another year or so to take care of “minor fixes”.


#21

You’re free to help in development, this is an open source project after all.


#22

he decided to work on other things like fixing broken graphics in monster hunter, new super mario bros 2, among other changes. its not like the author is doing nothing, but sometimes you lose interest in a project and put it off.

example: keyboard support. i wrote that back in december… and never finished it… and honestly i probably won’t get around to it for a while since i don’t feel like it yet.


#23

Seems odd that he decided to move on when it was almost done and many people want it.


#24

This topic is now locked. Please refer to the temporary controller configuration thread for controller support inquiries.