09 July 2018, 13:26 | #1 |
Registered User
Join Date: Mar 2016
Location: Germany
Posts: 77
|
Is there a way to get key events for pageup, pagedown, insert...?
There are some keys which weren't present on original Amiga keyboards (e.g. pageup, pagedown, insert, print, pause, home, end) but today only PC keyboards are used. When I listen to IDCMP_RAWKEY and press one of these keys, I'm not getting any event. Is it possible for WinUAE to behave like OS4 or MorphOS and generate those keys or is this already possible?
|
09 July 2018, 13:38 | #2 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Try this package: http://aminet.net/package/driver/input/mmkeyboard
|
09 July 2018, 13:49 | #3 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
You can manually remap them to any key you want. Input panel also has "PC keyboard" default map.
|
09 July 2018, 15:27 | #4 |
Registered User
Join Date: Mar 2016
Location: Germany
Posts: 77
|
Ok, looks like my input settings were somewhat messed up. Copying them from the "PC keyboard" default map did the trick.
There's one little flaw, though: Since probably no keymap has those non-Amiga keys defined, MapRawKey() from keymap.library fails on them. On OS4 and MorphOS MapRawKey() works on non-Amiga keys like pageup, pagedown, etc. however. |
10 July 2018, 12:51 | #5 |
Registered User
Join Date: Mar 2016
Location: Germany
Posts: 77
|
Hmm, how can I save the PC keyboard settings please? I do the following:
1) Load my configuration 2) Go to "Input" 3) Set the box below the "Copy from" button to "Default (PC KB)" 4) Click "Copy from" 5) Go back to "Configurations" 6) Click "Save" But when closing and restarting WinUAE the keyboard settings for "WinUAE keyboard" are back at the defaults and I have to repeat the procedure above again. Is there no way to permanently copy the settings from "Default (PC KB)" to "WinUAE keyboard"? |
10 July 2018, 17:33 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
It is a bug that probably has been there for ages..
Only keyboard config data differences between current layout and base layout is saved to config file, reduce size of config file (usually only few few keys are modified). In this case base layout is PC when config is saved but it reverts to non-PC default when loading.. Will be fixed in before 4.0.1 is out. As a workaround: don't touch Copy button and manually set PC keyboard mappings. |
10 July 2018, 18:38 | #7 |
Registered User
Join Date: Mar 2016
Location: Germany
Posts: 77
|
Thanks, I'll wait for 4.0.1.
|
10 July 2018, 19:07 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
|
It was actually fully implemented but config read function was used incorrectly and it probably worked originally but then later more validation was added which broke it..
http://www.winuae.net/files/b/winuae.7z should fix it, please confirm. |
10 July 2018, 19:44 | #9 |
Registered User
Join Date: Mar 2016
Location: Germany
Posts: 77
|
Yes, works fine. Thanks!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adelaide Events! | amigaman101 | News | 0 | 15 October 2015 11:07 |
Amiga 30 Year Events | Daedalus | Amiga scene | 0 | 22 May 2015 11:50 |
Custom input events | CFou! | support.WinUAE | 15 | 20 May 2012 17:54 |
Amiga Events in Hungary? | Thalion | Amiga scene | 2 | 13 September 2008 07:22 |
Events: ComputerParty @ SyntaxSociety | Paul | News | 0 | 15 October 2004 16:56 |
|
|