![]() |
![]() |
#1 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,671
|
Amiga and Alt keys are flipped on PC. Config fix?
See picture.
![]() Can I put this in a config that will run every time FS-UAE is launched? I'm using the launcher. Where should I look, and what should I type? ![]() Last edited by Photon; 24 June 2023 at 14:12. |
![]() |
![]() |
#2 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,671
|
Created folder FS-UAE/Configurations in My Documents and put a file Default.fs-uae in it with the following contents:
Code:
action_key_alt_left = AMIGA_LEFT action_key_amiga_left = ALT_LEFT action_key_alt_right = AMIGA_RIGHT action_key_amiga_right = ALT_RIGHT |
![]() |
![]() |
#3 |
Just loving the Amiga
Join Date: Jul 2022
Location: Carmarthen / Wales
Posts: 55
|
I've never tried this but I think the solution is the other way around. I.E.:
action_key_alt_left = AMIGA_LEFT Would be: keyboard_key_alt_left = action_key_amiga_left You can find more info here: https://fs-uae.net/docs/keyboard |
![]() |
![]() |
#4 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,671
|
You're right. The problem is probably that I've never used FS-UAE until recently. I'm also using a portable version of FS-UAE, which might be different from the documentation?
At least my Default.fs-uae now looks like this: Code:
[config] amiga_model = A500 floppy_drive_0 = Disk1.adf keyboard_key_amiga_left = action_key_alt_left keyboard_key_alt_left = action_key_amiga_left keyboard_key_amiga_right = action_key_alt_right keyboard_key_alt_right = action_key_amiga_right Still nothing. The launcher is supposed to list available configs, but it's empty. So IDK which folder it looks, because the UI doesn't tell me above the config directory. |
![]() |
![]() |
#5 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,060
|
Long time I didn't toy around with FS-UEA keyboard mapping but did you try something in the like of :
keyboard_key_lalt = action_key_amiga_left keyboard_key_ralt = action_key_amiga_right keyboard_key_lsuper = action_key_alt_left keyboard_key_rsuper = action_key_alt_right ? |
![]() |
![]() |
#6 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,671
|
I think I've done things according to the excellent documentation, but for some reason FS-UAE is not finding the file, or finding it but not applying the settings within.
I also read that the Alt key is handled specially, for Alt-Tab, and it might be better to do this by binding Left/Right Ctrl to Alt instead (if that helps). Both the Alt and Windows keys seem to be troublesome. Maybe FS-UAE is not tested enough in this regard on Windows because of WinUAE (which may have the same trouble AFAIK). |
![]() |
![]() |
#7 |
Just loving the Amiga
Join Date: Jul 2022
Location: Carmarthen / Wales
Posts: 55
|
It may be that your configuration file (Default.fs-uae) is in the wrong place. In linux it goes in:
"username"/Documents/FS-UAE/Configurations/Default.fs-uae However in windows it may be in a different location. See the relevant documentation here: https://fs-uae.net/configuration-files and here: https://fs-uae.net/docs/directories Without reading it all I am guessing that the configuration folder may need to be located in the same path as the executable program. |
![]() |
![]() |
#8 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,671
|
Unfortunately, those docs are not specific enough. The config file is referred to as "the config file", and "base-dir" is not given a name.
A path to a file is only complete if it includes the file name and the folder name that contains it. I've sprayed my config file as Default.fs-uae and Config.fs-uae in all relevant folders for my platform, and still nothing. I'm looking for a document text that says: in Windows, create a file with these contents, name it thus, and put in this exact directory. That would be ![]() |
![]() |
![]() |
#9 |
Just loving the Amiga
Join Date: Jul 2022
Location: Carmarthen / Wales
Posts: 55
|
As I said, I don't use FS-UAE in windows. However I did once install it on one windows PC to run some tests. I checked the hard-drive I used and I found that the main configuration folder was in:
C:\Users"myusername"\FS-UAE or: C:\Users"myusername"\FS-UAE\Configurations Maybe try putting it in there. Hope this helps. |
![]() |
![]() |
#10 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,671
|
No such FS-UAE folder under username in Windows. It is extremely unusual to the point of unheard of to store config files there for any application.
Nevertheless, I created both folders you mentioned, and put 2x *.fs-uae files with the contents of my last post there, and it has no effect. You tested that your settings had an effect in FS-UAE? |
![]() |
![]() |
#11 |
Just loving the Amiga
Join Date: Jul 2022
Location: Carmarthen / Wales
Posts: 55
|
No, sorry I didn't. This was an old test drive that I used ages back on a windows 7 system. Here's an image of my system set-up: https://eab.abime.net/attachment.php...1&d=1687652533 |
![]() |
![]() |
#12 | |
Registered User
Join Date: Jan 2015
Location: australia
Posts: 536
|
...just some FWIW comments...
Quote:
@Photon I think there's some unresolved contention in the code wrt these key mappings. Out of curiosity I had a look at how amiberry was handling LSUPER/RSUPER (l/r windows keys) ~ interestingly, these keypresses map to LGUI/RGUI in linux with amiberry, and even more interesting is the fact that the amiberry config GUI will show me these keypresses, but doesn't accept/consider either key as a valid hotkey modifier...(I can ask midwan about that behavior)... ...in fs-uae/src/fsuae/fsuae-keyboard.c you can see a couple of (pending?) fix-me comments; Code:
/* FIXME */ { FSEMU_KEYBOARD_LGUI, ALL, ACTION_KEY_LAMIGA }, #if 0 { FS_ML_KEY_LMETA, ALL, INPUTEVENT_KEY_AMIGA_LEFT }, #endif { FSEMU_KEYBOARD_LALT, ALL, ACTION_KEY_LALT }, { FSEMU_KEYBOARD_RALT, ALL, ACTION_KEY_LALT }, /* FIXME */ { FSEMU_KEYBOARD_RGUI, ALL, ACTION_KEY_RAMIGA }, #if 0 { FS_ML_KEY_RMETA, ALL, INPUTEVENT_KEY_AMIGA_RIGHT }, #endif { FSEMU_KEYBOARD_MENU, ALL, ACTION_KEY_RAMIGA }, #if 0 { FSEMU_KEYBOARD_RCTRL, ALL, INPUTEVENT_KEY_CTRL_RIGHT }, #endif Possibly you'd have to ask FS about this, but I get a gut feeling this is expected behavior currently. |
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Take control of Alt + TAB, Ctrl + Alt + Del and Ctrl + ESC. | Ponki1986 | support.WinUAE | 6 | 13 December 2020 07:54 |
gfx_top_windowed / gfx_left_windowed bug and flipped? | StoneOakvalley | support.WinUAE | 1 | 05 October 2018 19:33 |
Assigning keys manually in WinUAE config files | dekarAF | support.WinUAE | 27 | 10 March 2010 17:53 |
Indivision AGA 1200 + Elbox PC-Key fix! | Fingerlickin_B | Hardware mods | 10 | 24 September 2008 00:59 |
Bug??: Sound Left/Right flipped for A1200 and setting is not saveable | rsn8887 | support.WinUAE | 3 | 03 November 2006 17:40 |
|
|