mirror of
https://github.com/Pecusx/libretro-atari800.git
synced 2026-05-20 22:33:22 +02:00
Atari del/Bk Sp properly handling
This commit is contained in:
+8
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user