English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 13 February 2019, 22:31   #1
rotacak
Registered User
 
Join Date: Oct 2006
Location: CZ
Posts: 38
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:	40
Size:	35.8 KB
ID:	62043  
rotacak is offline  
Old 13 February 2019, 22:48   #2
rotacak
Registered User
 
Join Date: Oct 2006
Location: CZ
Posts: 38
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, 20:26   #3
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,458
Attach example config, thanks.
Toni Wilen is online now  
Old 15 February 2019, 23:52   #4
rotacak
Registered User
 
Join Date: Oct 2006
Location: CZ
Posts: 38
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, 14 views)

Last edited by rotacak; 16 February 2019 at 19:08.
rotacak is offline  
Old 16 February 2019, 14:41   #5
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,458
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 online now  
Old 16 February 2019, 19:12   #6
rotacak
Registered User
 
Join Date: Oct 2006
Location: CZ
Posts: 38
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, 20:25   #7
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 44
Posts: 22,458
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 online now  
Old 23 February 2019, 16:49   #8
rotacak
Registered User
 
Join Date: Oct 2006
Location: CZ
Posts: 38
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 19:46
Easy input remapping Toni Wilen request.UAE Wishlist 1 12 May 2010 21:59
Remapping a key within a game dazdaz support.WinUAE 10 18 August 2007 07:00
WinUAE keyboard remapping help superclive support.WinUAE 2 16 June 2007 12:26
joystick remapping question Unregistered support.WinUAE 4 19 July 2002 18: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 14:06.


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