oricutron
oricutron copied to clipboard
Keyboard shortcuts improvement ALT-T and ALT-L
Keyboard shortcuts improvement ALT-T and ALT-L
I'm using F1 + T very often to load a tape file and then I always have to type CLOAD" + ENTER key. To have lesser keyboard action I added the ALT-T to load a tape (same as F1 + T) and ALT-L typing CLOAD" into the emulator (with the help of the clipboard), so that I only have to press the ENTER key.
Now ALT-T, select a tape file, ALT-L + ENTER is all you need to do.
Should I commit this?
Sure, but only if these aren't keyboard combinations that would be valid on the Oric (I can't remember if Alt is mapped to an Oric key).
In fact, both ALT keys are mapped to Oric keys, so these shortcuts are no good:
https://github.com/pete-gordon/oricutron/blob/master/8912.c#L101
Suggestion: Use F1 as a modifier?
e.g.: Press and release F1 = Go to menu Hold F1 and press key = Do menu shortcut that corresponds with that key?
But then would that be any quicker then just pressing F1 then the key? Don't know.
How about this: The Atmos has one Funct key, so only SDLK_RALT needs to be reserved and SDLK_LALT will be left for the system... Oops, my Mac has only one alt key :-(
My Oric-1 has no ALT key, only CTRL, SHIFT (left and right), RETURN and DEL. The Atmos and Telestrat seems to have a FUNCT key and the Pravetz a C/L key. The ALT mapping is implemented for the e.g. sedoric http://oric.free.fr/DISKS/sedoric.html I think, that maps the FUNCT to ALT? When pressing ATL-T in BASIC mode you get TYPE and ALT-L LINPUT. But where is ALT GR (right ALT) used?
In the readme I wrote "AltGr - Additional modifier". Euphoric says "AltGr to access the third key symbols".
Well, hold on. Both alt keys are mapped to different places in the Oric keyboard matrix. I don't remember off hand what they are, but I wouldn't have mapped them both for no reason...
I suppose for Euphoric compatibility. Anyway it's not a requirement.