Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: X-Arcade TankStick Control Configurations  (Read 1075 times)

0 Members and 1 Guest are viewing this topic.

Jesfa

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:September 01, 2016, 10:54:30 pm
  • I want to build my own arcade controls!
X-Arcade TankStick Control Configurations
« on: June 19, 2016, 04:51:48 am »
Howdy guys,

Hoping you could help me out, been working on building a retropie cabinet for some time after I got an old Lotto Fun 2 cabinet and thought it would be fun to rebuild it as an emulator.  I've got the retropie installed, most of the roms I wanted are now working (MAME games seem to be the most difficult, consoles worked like a charm), and what parts aren't done yet should be a snap.

The main issue I keep running into and can't seem to figure out is how to set the TankStick from X-Arcade control schemes.  For MAME, it auto detects and sets the controls just fine, for everything else, only the first player sticks work, and the buttons are terribly configurated; player 2 doesnt get configured at all.

I've seen the retropie wiki pages about configuring controls, but it doesnt seem to want to work.  For example:  http://www.xgaming.com/service/images/Layouts/PC-MAC.htm  <=== Is the control panel for the  x-arcade, and I was attempting to rewrite the SNES CFG file to map the bottom left 4 buttons as the SNES 4 buttons, but everything I seem to try doesnt impact anything.  Not sure if I'm supposed to be editing the all.cfg or the individual emulator .cfgs.  I'll be the first to admit, I know very very little about linux or the Pi, so I've been trying to get some help, but this seems to be where I've hit a wall.  Trying to make controls for SNES, Megadrive, and MAME all seperately; not just have 1 control set for all.

Any help would be stupendous!



EDIT:  Example of what I thought would work, below based on tankstick vs snes controller based on help I received from a friend.  In snes retroarch.cfg.

input_remapping_directory = "/opt/retropie/configs/snes/"
input_player1_joypad_index = 0
input_player2_joypad_index = 1

input_player1_joypad_index = 0
input_player1_b_btn = 5
input_player1_a_btn = z
input_player1_y_btn = c
input_player1_x_btn = shift
input_player1_l_btn = ctrl
input_player1_r_btn = alt
input_player1_start_btn = x
input_player1_select_btn = space

input_player2_b_btn = 6
input_player2_a_btn = e
input_player2_y_btn = ]
input_player2_x_btn = w
input_player2_l_btn = a
input_player2_r_btn = s
input_player2_start_btn = [
input_player2_select_btn = q

# Axis for RetroArch D-Pad.
# Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number.
input_player1_up_axis = -1
input_player1_down_axis = +1
input_player1_left_axis = -0
input_player1_right_axis = +0

input_player2_up_axis = -1
input_player2_down_axis = +1
input_player2_left_axis = -0
input_player2_right_axis = +0

If this post is in the wrong section let me know :)
« Last Edit: June 19, 2016, 10:14:28 pm by Jesfa »

Jesfa

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:September 01, 2016, 10:54:30 pm
  • I want to build my own arcade controls!
Re: X-Arcade TankStick Control Configurations
« Reply #1 on: June 20, 2016, 02:43:04 pm »
Got it somewhat better.  I've got the retroarch all .cfg to Use the correct controls for SNES; I was apparently trying to tell the Pi the Tankstick was 2 joysticks when its a keyboard instead, misread the lines.

So my issue now is that the SNES controls work, but the controls defined for the SNES in the all cfg arent what I wanted for things like N64 or Genesis or NES.  Previous attempts to map keys in the emulator specific .cfgs have just resulted in the controls defaulting back to the all cfg.

Any ideas?

input_player1_a = z
input_player1_b = 5
input_player1_y = c
input_player1_x = shift
input_player1_start = x
input_player1_select = space
input_player1_l = ctrl
input_player1_r = alt
input_player1_left = left
input_player1_right = right
input_player1_up = up
input_player1_down = down
input_player1_l2 = nul
input_player1_r2 = nul
input_player1_l3 = nul
input_player1_r3 = nul

input_player2_a = e
input_player2_b = 6
input_player2_y = ]
input_player2_x = w
input_player2_start = [
input_player2_select = q
input_player2_l = a
input_player2_r = s
input_player2_left = d
input_player2_right = g
input_player2_up = r
input_player2_down = f
input_player2_l2 = nul
input_player2_r2 = nul
input_player2_l3 = nul
input_player2_r3 = nul

Jesfa

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:September 01, 2016, 10:54:30 pm
  • I want to build my own arcade controls!
Re: X-Arcade TankStick Control Configurations
« Reply #2 on: June 22, 2016, 12:24:15 am »
Seems I'm wrong.  Some of the keys arent doing what they should be still even for SNES, and the select button for P1 is fast forwarding despite that being removed.