English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 13 February 2019, 21:31   #1
rotacak
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
Attached Thumbnails
Click image for larger version

Name:	gui.png
Views:	98
Size:	35.8 KB
ID:	62043  
rotacak is offline  
Old 13 February 2019, 21:48   #2
rotacak
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?
rotacak is offline  
Old 15 February 2019, 19:26   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Attach example config, thanks.
Toni Wilen is offline  
Old 15 February 2019, 22:52   #4
rotacak
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
Attached Files
File Type: uae f12.uae (12.2 KB, 74 views)

Last edited by rotacak; 16 February 2019 at 18:08.
rotacak is offline  
Old 16 February 2019, 13:41   #5
Toni Wilen
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)
Toni Wilen is offline  
Old 16 February 2019, 18:12   #6
rotacak
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.
rotacak is offline  
Old 16 February 2019, 19:25   #7
Toni Wilen
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..)
Toni Wilen is offline  
Old 23 February 2019, 15:49   #8
rotacak
Registered User
 
Join Date: Oct 2006
Location: CZ
Posts: 45
Toni Wilen: Perfect, that works, thanks!
rotacak 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
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

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 23:50.

Top

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