13 February 2019, 21:31 | #1 |
Registered User
Join Date: Oct 2006
Location: CZ
Posts: 45
|
F12 remapping bug
Hello,
I would like to remap "Enter GUI" functionality in this way: F12 = screenshot SHIFT F12 = enter gui But I have troubles. I can remap it how I want, remove other mappings (there is also 2xdebugger and toggle fullscreen on F12), save it, but when I will load it again then the other mappings are back. How to get rid of them? My cmdline: winuae.exe -f Configurations/x.uae -cfgparam win32.guikey= -cfgparam use_gui=no -portable |
13 February 2019, 21:48 | #2 |
Registered User
Join Date: Oct 2006
Location: CZ
Posts: 45
|
One "solution" is not to delete the other mappings but set it to something not used (Insert (PC)). In that case they will remain there.
But even with that is there another problem, I can create screenshot with F12, but I cannot show gui with SHIFT F12. Probably because "win32.guikey=" is disabling gui somewhat? |
15 February 2019, 19:26 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Attach example config, thanks.
|
15 February 2019, 22:52 | #4 |
Registered User
Join Date: Oct 2006
Location: CZ
Posts: 45
|
Mapped "Enter GUI" only to SHIFT+F12:
F12 and SHIFT+F12 does not show GUI: winuae.exe -f Configurations/f12.uae -cfgparam use_gui=no -cfgparam win32.guikey= -portable F12 and SHIFT+F12 shows GUI: winuae.exe -f Configurations/f12.uae -cfgparam use_gui=no -portable Last edited by rotacak; 16 February 2019 at 18:08. |
16 February 2019, 13:41 | #5 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Does it work if you set win32.guikey to something that does not exist, like win32.guikey=0xff ? F12 has special condition, it only gets fully disabled if win32.guikey is set to some value. (PC keyboard seems to "fix" it because in this mode default GUI key is numlock)
|
16 February 2019, 18:12 | #6 |
Registered User
Join Date: Oct 2006
Location: CZ
Posts: 45
|
Hmm, win32.guikey=0xff will still not allows to show GUI. It seems like when I will use the "win32.guikey=" then the "Enter GUI" functionality is binded only to that key, not matter that I will set it also to other keys in input configuration.
Can I set win32.guikey= to "SHIFT+F12"? If yes, what code it is? That could solve it. |
16 February 2019, 19:25 | #7 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
win32.guikey is keycode, it can't handle qualifiers.
http://www.winuae.net/files/b/winuae.7z should fix it if win32.guikey is set to zero. (This is not really logical but there are some backwards compatibility reasons..) |
23 February 2019, 15:49 | #8 |
Registered User
Join Date: Oct 2006
Location: CZ
Posts: 45
|
Toni Wilen: Perfect, that works, thanks!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Key remapping question | mark_k | support.WinUAE | 1 | 17 January 2016 18:46 |
Easy input remapping | Toni Wilen | request.UAE Wishlist | 1 | 12 May 2010 20:59 |
Remapping a key within a game | dazdaz | support.WinUAE | 10 | 18 August 2007 06:00 |
WinUAE keyboard remapping help | superclive | support.WinUAE | 2 | 16 June 2007 11:26 |
joystick remapping question | Unregistered | support.WinUAE | 4 | 19 July 2002 17:28 |
|
|