26 January 2022, 22:59 | #1 |
Registered User
Join Date: Mar 2018
Location: Argentina
Posts: 15
|
Changing default shortcuts?
Hi folks,
Due to a particular keyboard I want to use, I am wanting to see if there is a way to change default shortcuts for Inserting/Ejecting Floppy disks, from END+Fx to something else. The reason is because on this keyboard the END key/function is obtained by pressing a Function key plus a different key, and so when pressing F1 (or F2) instead of those keys I actually get F11 (or F12), so my keypress would actually translate to END+F11 instead of END+F1 In lieu of this, as I understand the emulator reads scan codes directly from hardware, an acceptable solution would be to swap for example F11 with F1 or F1/F3 and F2/F4. I recently found these mappings in an include file called keyboard.h however changing that and recompiling did swap those keys but only in the emulated Amiga and not the GUI! (which thinking about it would also be great as I could have swapped keys just for the GUI and the Amiga would still be normal). Anybody know if there's either an easy way to change these shortcuts or at least change in the source code and where? Thanks. |
06 February 2022, 09:47 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
They can be changed using Input panel, there is input event for inserting and ejecting disks.
If you want to change it in source level, defaults are configured in keyboard_win32.cpp (it simply sets default input event mapping, it is not hardcoded special case) |
06 February 2022, 10:42 | #3 | |
Registered User
Join Date: Mar 2018
Location: Argentina
Posts: 15
|
Quote:
It was actually for Amiberry which pulls so much from winuae (not concerned about WinUAE since I use that on PC and have a "normal" keyboard) and the .cpp file was the solution I went for, changing which key acted along with F1-F4 for that and recompiling |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing default location of FS-UAE folder in Mac OS | Fred the Fop | support.FS-UAE | 6 | 17 November 2021 15:33 |
shortcuts on workbench | Dave_wb | support.Apps | 19 | 17 October 2010 12:13 |
Keyboard shortcuts | jobro | request.UAE Wishlist | 1 | 28 November 2005 13:46 |
Changing the CrossDOS default disk icon? | SkinE | support.Apps | 2 | 01 October 2005 16:42 |
Changing default Ram Disk: icon under 3.9 | oldpx | support.Apps | 8 | 26 July 2004 20:51 |
|
|