04 August 2014, 00:30 | #1 |
Posts: n/a
|
[SOLVED] x-arcade not working on debian
Hello,
FS-UAE is working great on my debian jessie, except for the fact that it doesn't recognize my x-arcade... I've read the documentation but still can't resolve, since I have the xarcade.ini in /usr/share/fs-uae/input/common/ but haven't any configuration file in ~/Documents/FS-UAE/Configurations/ !! I've also tried to configure the custom joystick port but with no success. Any idea? Thanks in advance Last edited by swann; 08 August 2014 at 17:38. |
06 August 2014, 21:59 | #2 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Hi, is this an X-Arcade controller hooking into the PS/2 keyboard port?
|
06 August 2014, 23:38 | #3 |
Posts: n/a
|
No, it's connected via usb. The keyboard is usb too; I tried both with the keyboard plugged and not. X-Arcade is the mono version. The odd stuff is I can't find any configuration file!
|
06 August 2014, 23:46 | #4 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Well, my point was that X-Arcade is basically a keyboard, not a joystick/gamepad (if it also applies to your X-Arcade version), which is why FS-UAE does not recognize it as a joystick/gamepad. FS-UAE only sees "one keyboard" which includes keypresses from all physical keyboards.
It is correct that there are some xarcade.ini files in the input directory. These are from the original game center project, and is basically just different keyboard mappings. In that project, you had to specifically tell the system that an Arcade controller was connected as it couldn't be autodetected (the controller piggybacked on the PS/2 keyboard connector). This could in theory be done for FS-UAE as well, but unless FS-UAE supports mapping based on originating keyboard, you'd still get the problem that the keys "used" by X-Arcade cannot also be used to emulate the Amiga keyboard keys. But the simple solution for now is to just edit keyboard.ini (instead of xarcade.ini) and setup your mapping there. |
07 August 2014, 16:12 | #5 |
Posts: n/a
|
Well, it works! Actually I just created a blank /usr/share/fs-uae/input/common/keyboard.ini and then the Launcher showed me this both in Custom Configuration and Advanced Settings:
joystick_port_4 = keyboard_key_kp5 = action_joy_1_down keyboard_key_kp4 = action_joy_1_left keyboard_key_kp6 = action_joy_1_right keyboard_key_kp8 = action_joy_1_up keyboard_key_lctrl = action_joy_1_fire_button I just corrected keyboard_key_kp5 with keyboard_key_kp2 (it's the default command for "down" in the X-Arcade). Now I got two problems: 1. When I launch a game and press F12, keyboard works no more for the configuration manager, so I have to reboot each time to come out from a game. 2. I can't get X-Arcade working on diagonals. I tried several settings but I really don't know the correct syntax. I.e. I tried this (that resembles MAME): keyboard_key_kp1 = action_joy_1_left action_joy_1_down keyboard_key_kp2 = action_joy_1_down keyboard_key_kp3 = action_joy_1_right action_joy_1_down keyboard_key_kp4 = action_joy_1_left keyboard_key_kp6 = action_joy_1_right keyboard_key_kp7 = action_joy_1_left action_joy_1_up keyboard_key_kp8 = action_joy_1_up keyboard_key_kp9 = action_joy_1_right action_joy_1_up keyboard_key_lctrl = action_joy_1_fire_button No help came from here http://fs-uae.net/input-mapping |
07 August 2014, 19:07 | #6 | ||||
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
Quote:
Quote:
Quote:
Code:
action_joy_1_left_up action_joy_1_left_down action_joy_1_right_up action_joy_1_right_down |
||||
08 August 2014, 17:37 | #7 |
Posts: n/a
|
PERFECT!!
This works for X-Arcade in Advanced Settings: keyboard_key_kp2 = action_joy_1_down keyboard_key_kp4 = action_joy_1_left keyboard_key_kp4 keyboard_key_kp2 = action_joy_1_left_down keyboard_key_kp4 keyboard_key_kp8 = action_joy_1_left_up keyboard_key_kp6 = action_joy_1_right keyboard_key_kp6 keyboard_key_kp2 = action_joy_1_right_down keyboard_key_kp6 keyboard_key_kp8 = action_joy_1_right_up keyboard_key_kp8 = action_joy_1_up keyboard_key_lctrl = action_joy_1_fire_button Thank you very much for your excellent work to bring us back our Amiga games and for your kindness now let's play! |
08 August 2014, 18:57 | #8 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
You can safely delete these lines, as they don't do anything (you cannot have multiple input event names left of =). Enjoy
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Debian installer CD problems | mark_k | support.WinUAE | 50 | 21 March 2013 12:19 |
Does Debian work on PPC boards? | wXR | Amiga scene | 2 | 16 February 2013 02:35 |
Getting GameBase Amiga working nicely on an arcade cab... | GameBase | project.GameBase Amiga | 6 | 23 November 2009 00:50 |
Guru when starting Debian 3.1 for Amiga | The Rom Alien | support.WinUAE | 7 | 08 June 2005 17:11 |
Looking for Miggy emu to run under debian on A1 | Severin | New to Emulation or Amiga scene | 17 | 14 July 2003 13:42 |
|
|