English Amiga Board


Go Back   English Amiga Board > Support > support.FS-UAE

 
 
Thread Tools
Old 28 May 2021, 08:43   #1
SparkyNZ
Registered User
 
Join Date: Oct 2014
Location: New Zealand
Posts: 62
Question Example Config File

Hi. I'm having problems trying to configure the keyboard on my laptop to work properly. The right Alt key on my laptop is behaving as the Joystick Fire button. How can I map Right Alt to Right Alt so that the joystick doesn't fire?


I've tried this:


[config]
amiga_model = A500
floppy_drive_0 = Disk1.adf
keyboard_key_kp_lalt = action_key_alt_left
keyboard_key_kp_ralt = action_key_alt_right


..but that is not working.


Inside FS-UAE Launcher -> Settings, it shows this:


# keyboard_key_kp_lalt is overridden by current configuration keyboard_key_kp_lalt = action_key_alt_left




# keyboard_key_kp_ralt is overridden by current configuration
keyboard_key_kp_ralt = action_key_alt_right


quick_settings = 1
stretch = 0

..and that isn't working either.


Can someone please post a well-populated configuration file that I can modify.. and help me with the above joystick issue. Thanks
SparkyNZ is offline  
Old 28 May 2021, 13:21   #2
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
When I use Fs-UAE on Lubunut, I hit F12 go into the input menu and select "no controller". Are you using the Fs-uae launcher under linux?
redblade is offline  
Old 28 May 2021, 23:31   #3
SparkyNZ
Registered User
 
Join Date: Oct 2014
Location: New Zealand
Posts: 62
Quote:
Originally Posted by redblade View Post
When I use Fs-UAE on Lubunut, I hit F12 go into the input menu and select "no controller". Are you using the Fs-uae launcher under linux?

I'm using the FS-UAE launcher on Windows.
SparkyNZ is offline  
Old 28 May 2021, 23:38   #4
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
To free up the right alt key (as well as right ctrl and cursor keys), make sure to either use "no host device" as joystick device, or insert a joystick/gamepad so the keyboard keys won't be used for emulation of a joystick.
FrodeSolheim is offline  
Old 29 May 2021, 01:29   #5
SparkyNZ
Registered User
 
Join Date: Oct 2014
Location: New Zealand
Posts: 62
Quote:
Originally Posted by FrodeSolheim View Post
To free up the right alt key (as well as right ctrl and cursor keys), make sure to either use "no host device" as joystick device, or insert a joystick/gamepad so the keyboard keys won't be used for emulation of a joystick.
OK. I'll give that a shot - so you can't just assign the joystick buttons to other keys? Yeah good point - if I do that, can I still configure keys to behave as joystick actions? Does the config not accept Windows drive paths either? Task: Amiga Launch TaskError: FileNotFoundErrorMessage: [Errno 2] No such file or directory: 'C:\\Users\\Sparky\\Documents\\FS-UAE\\Floppies\\Moonfall.zip'

I've had the same problem trying to specify floppy and kickstart dirs:

kickstarts_dir = C:\Amiga/ksromskickstart_file = kick13.romfloppies_dir = C:\GameBaseAmiga

Tried forward slash as well as backslash (and restarting FS-UAE Launcher each time). It's forcing me to use the My Documents folder structure.

Last edited by FrodeSolheim; 29 May 2021 at 09:44.
SparkyNZ is offline  
Old 29 May 2021, 02:09   #6
SparkyNZ
Registered User
 
Join Date: Oct 2014
Location: New Zealand
Posts: 62
Question

OK, so here is my problem. I want to play Moonfall.


Moonfall requires:
* Joystick (cursor keys + Right Ctrl)

* Right Alt key to slow down


So how can I configure my keyboard so that keyboard Joystick emulation works and Right Alt is Right Alt. We already have Right Ctrl for fire so why is the emulator forcing Right Alt to be fire as well?
SparkyNZ is offline  
Old 29 May 2021, 03:20   #7
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
instead of
Code:
keyboard_key_kp_ralt = action_key_alt_right
try
keyboard_key_period = action_key_alt_right
try to assign a different key that you do not use to the Amiga alt key
redblade is offline  
Old 29 May 2021, 09:43   #8
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by FrodeSolheim View Post
OK. I'll give that a shot - so you can't just assign the joystick buttons to other keys? Yeah good point - if I do that, can I still configure keys to behave as joystick actions?
Joystick emulation overrides other key assignments. It is possible to change the mapping for the joystick emulation, but not via normal config/settings. See https://github.com/FrodeSolheim/fs-u...s/Keyboard.ini for an example on how to change that mapping.

Quote:
Originally Posted by FrodeSolheim View Post
Does the config not accept Windows drive paths either?
It should...
FrodeSolheim is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Arcade config-file ? realdtc support.FS-UAE 7 25 June 2021 14:34
Where is the Asm-One 1.49RC2 config file? Nightfox support.Apps 5 14 November 2017 13:35
whdload via <config>.fsuae file? Mousey support.FS-UAE 10 16 December 2014 14:29
Config file backward compatibility mark_k support.WinUAE 0 09 February 2014 15:45
Autoload for config file at startup hoderer support.WinUAE 3 04 May 2010 07:56

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 19:38.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08080 seconds with 15 queries