mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
allow RUNSH in pygame.event queue
This commit is contained in:
parent
dc33952c58
commit
10305da9e8
@ -575,7 +575,7 @@ if __name__ == '__main__':
|
|||||||
screen = pygame.display.set_mode(SCREEN_SIZE, 0, 32)
|
screen = pygame.display.set_mode(SCREEN_SIZE, 0, 32)
|
||||||
|
|
||||||
pygame.event.set_allowed(None)
|
pygame.event.set_allowed(None)
|
||||||
pygame.event.set_allowed([pygame.KEYDOWN,pygame.KEYUP,GMEVT,RUNEVT,RUNSYS,POWEROPT,RESTARTUI])
|
pygame.event.set_allowed([pygame.KEYDOWN,pygame.KEYUP,GMEVT,RUNEVT,RUNSYS,POWEROPT,RESTARTUI,RUNSH])
|
||||||
|
|
||||||
pygame.key.set_repeat(DT+DT*6+DT/2, DT+DT*3+DT/2)
|
pygame.key.set_repeat(DT+DT*6+DT/2, DT+DT*3+DT/2)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user