Daphne & X-Arcade TankStick finally working!
-
Hope this post helps anyone that is struggling with getting Daphne games working with a X-Arcade Tankstick.
First off my Tankstick in in mode #4, that is the recommended setting from X-Arcade which is set up to emulate (or at least Recalbox sees it as a Xbox 360 wireless controller.
Connected the tankstick to the USB port of my laptop and windows 10 saw it as a xbox 360 controller. using the controller utility I was able to identify the following buttons.
Now we can use these buttons to create our dapinput.ini
1st, edit your Recalbox.conf file and add the following:
daphne.configfile=/recalbox/share/system/configs/Daphne/dapinput.ini
this will stop Daphne from overwriting the dapinput.ini file on start up.
I added after the two Daphne lines in the conf file.
Now you create your dapinput.ini file.
cd to configs/Daphne
create a file called dapinput.ini and put the following in it:[KEYBOARD]
KEY_SCREENSHOT = 3 0 0
KEY_START2 = 50 0 0
KEY_START1 = 49 0 10
KEY_CONSOLE = 92 0 4
KEY_PAUSE = 112 0 2
KEY_COIN1 = 53 54 9
KEY_COIN2 = 54 53 0
KEY_UP = 0 0 16
KEY_QUIT = 27 0 5
KEY_RIGHT = 0 0 15
KEY_TEST = 0 0 0
KEY_BUTTON3 = 32 0 3
KEY_BUTTON2 = 0 0 2
KEY_BUTTON1 = 0 0 1
KEY_SKILL3 = 120 0 0
KEY_SKILL2 = 122 0 0
KEY_SKILL1 = 0 0 0
KEY_SERVICE = 57 0 0
KEY_RESET = 0 0 6
KEY_DOWN = 0 0 17
KEY_TILT = 116 0 0
KEY_LEFT = 0 0 14in case you want to customize this file please read this, it will explain how to bind keys and gamepad buttons.
https://www.daphne-emu.com:9443/mediawiki/index.php/Input
Best of luck.