Closed kipraske closed 9 years ago
We can probably modify the new keyboard view with updated codes. I will have to adjust everything so we can send 2-byte codes. The arrows keys are two byte codes in the brogue source.
Complete now - just needed those 2 byte codes.
Right now I have mapped the arrow keys to HJKL for a streamlined gameplay experience. Well, that means you can't use the arrow keys when you are creating a save game or a brogue recording.
That is probably fine for now - however, we don't have backspace OR delete which is very noticeable. So figure out the best way to handle these chars. I could just encode them and decode back on the back end of brogue for each of them: There are plenty of 8-bit characters that are not used that I could use.
See Rogue.h lines 1083+ which define the keyboard constants within brogue.