Add key Backspace

This commit is contained in:
hi80482 2020-07-12 14:06:08 +08:00 committed by GitHub
parent 19654c3843
commit 72ddf59d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,8 @@ GameShell["Start"] = pygame.K_RETURN
GameShell["LK1"] = pygame.K_h GameShell["LK1"] = pygame.K_h
GameShell["LK5"] = pygame.K_l GameShell["LK5"] = pygame.K_l
GameShell["Backspace"] = pygame.K_BACKSPACE # Shift + Menu
PC = {} PC = {}
PC["Up"] = pygame.K_UP PC["Up"] = pygame.K_UP
@ -72,6 +74,8 @@ PC["Start"] = pygame.K_s
PC["LK1"] = pygame.K_h PC["LK1"] = pygame.K_h
PC["LK5"] = pygame.K_l PC["LK5"] = pygame.K_l
PC["Backspace"] = pygame.K_BACKSPACE # Shift + Menu
if CurKeySet == "PC": if CurKeySet == "PC":
CurKeys = PC CurKeys = PC
else: else: