View Single Post
Old 03 April 2012, 21:31   #2
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by nexusle View Post
Hey,
i can't understand how to create a custom controller config.
To check the controller events I use "Joystick And Gamepad Tester"
It gives me the attached output. Can anyone help me create a custom config file for MY controller?
Please check in FS-UAE log file that FS-UAE also thinks it is called "USB GAME CONTROLLER". If this is the case, you should create a usb_game_controller.ini file in FS-UAE/Controllers.

I have written som documentation here (with examples!):
http://fengestad.no/wp/fs-uae/custom...-configuration

In the tester app, the first button is called "Button #1", but in the config file, the first button starts with 0, so the button corresponding to "Button #1" will be button_0

A minimal configuration could look something like this:

Code:
[amiga]
axis_0_neg = left
axis_0_pos = right
axis_1_neg = up
axis_1_pos = down
button_0 = 1
button_1 = 2
button_2 = 3
This line (for example):
Code:
button_0 = 1
means map button_0 (Button #1) to the action 1 (== amiga joystick fire button), so if the button you want to use for fire is Button #5, you should replace button_0 = 1 with
Code:
button_4 = 1
Good of you to create a new thread, will make it easier to follow it up if you need more help -And if you do need more help, please post your FS-UAE config, FS-UAE log file and your controller config.
FrodeSolheim is offline  
 
Page generated in 0.06422 seconds with 11 queries