stardot / MatrixBrandy

Matrix Brandy BASIC VI for Linux, Windows, MacOSX
http://brandy.matrixnetwork.co.uk/
44 stars 8 forks source link

Non-function special keys not modified #19

Closed jgharston closed 5 years ago

jgharston commented 5 years ago

Non-function special keys are not modified by modifier keys. Shift/Ctrl/Alt plus arrows,Ins,PgUp,PgDn,End should EOR 0x10 or 0x20 with the keypress. For example: PgUp=&9F, Shift+PgUp=&8F Up=&8F, Shift+Up=&9F See http://mdfs.net/Docs/Comp/KeyMap/RISCOS

keyboard.c is a big mess, when I was working on the Napoleon fork four years ago I was about to print the whole lot out and edit it with scissors and tape. When the negative INKEYs is done, I'll have a look at tidying the whole lot up.

jgharston commented 5 years ago

I've pushed an update that deals with non-function special keys correctly. Also correctly detects DELETE. Windows MinGW/SDL build tested locally.

soruk42 commented 5 years ago

These have been picked up in recent merges (and hopefully in time for the V1.21.17 release!)