oricutron icon indicating copy to clipboard operation
oricutron copied to clipboard

Keyboard shortcuts improvement ALT-T and ALT-L

Open 0ric1 opened this issue 8 years ago • 8 comments

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?

0ric1 avatar Jun 23 '16 20:06 0ric1

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).

pete-gordon avatar Jun 23 '16 22:06 pete-gordon

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

pete-gordon avatar Jun 24 '16 11:06 pete-gordon

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.

pete-gordon avatar Jun 24 '16 11:06 pete-gordon

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 :-(

polluks avatar Jun 24 '16 15:06 polluks

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?

0ric1 avatar Jun 24 '16 16:06 0ric1

In the readme I wrote "AltGr - Additional modifier". Euphoric says "AltGr to access the third key symbols".

polluks avatar Jun 24 '16 17:06 polluks

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...

pete-gordon avatar Jun 24 '16 19:06 pete-gordon

I suppose for Euphoric compatibility. Anyway it's not a requirement.

polluks avatar Jun 24 '16 21:06 polluks