From 54b3e511e9c76e55307750b36671688618c38bc0 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sat, 29 Feb 2020 18:40:41 -0500 Subject: [PATCH] Extends mapping slightly for potential duplicate delete and return. --- Machines/AmstradCPC/Keyboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Machines/AmstradCPC/Keyboard.cpp b/Machines/AmstradCPC/Keyboard.cpp index 58340d4cc..8b49d9d61 100644 --- a/Machines/AmstradCPC/Keyboard.cpp +++ b/Machines/AmstradCPC/Keyboard.cpp @@ -85,7 +85,7 @@ uint16_t *CharacterMapper::sequence_for_character(char character) { /* ACK */ X, /* BEL */ X, /* BS */ KEYS(KeyDelete), /* HT */ X, /* LF */ KEYS(KeyReturn), /* VT */ X, - /* FF */ X, /* CR */ X, + /* FF */ X, /* CR */ KEYS(KeyReturn), /* SO */ X, /* SI */ X, /* DLE */ X, /* DC1 */ X, /* DC2 */ X, /* DC3 */ X, @@ -142,7 +142,7 @@ uint16_t *CharacterMapper::sequence_for_character(char character) { /* x */ KEYS(KeyX), /* y */ KEYS(KeyY), /* z */ KEYS(KeyZ), /* { */ X, /* | */ SHIFT(KeyAt), /* } */ X, - /* ~ */ X + /* ~ */ X, /* DEL */ KEYS(KeyDelete), }; #undef KEYS #undef SHIFT