Atari del/Bk Sp properly handling

This commit is contained in:
Pecusx
2021-05-08 12:53:18 +02:00
parent 1055dbefa3
commit 6d80fa43bd
2 changed files with 9 additions and 3 deletions
+8 -2
View File
@@ -316,8 +316,14 @@ int PLATFORM_Keyboard(void)
if (Key_Sate[RETROK_SPACE])
return AKEY_SPACE ^ shiftctrl;
if (Key_Sate[RETROK_BACKSPACE])
return AKEY_BACKSPACE|shiftctrl;
if (Key_Sate[RETROK_BACKSPACE]){
if (INPUT_key_shift)
return AKEY_DELETE_CHAR;
else if (key_control)
return AKEY_DELETE_LINE;
else
return AKEY_BACKSPACE;
}
if (Key_Sate[RETROK_RETURN])
return AKEY_RETURN ^ shiftctrl;