diff --git a/beamshow.py b/beamshow.py index 4ddb2f7..2266ade 100644 --- a/beamshow.py +++ b/beamshow.py @@ -235,10 +235,10 @@ class Beamshow: elif event.key == pg.K_PAGEDOWN: self.beat_factor = self.beat_factor * 2 print(f"Trigger on every {self.beat_factor} beat") - elif event.key == pg.K_RETURN: + elif event.key == pg.K_RETURN or event.key == pg.K_KP_ENTER: strobe = True elif event.type == pg.KEYUP: - if event.key == pg.K_RETURN: + if event.key == pg.K_RETURN or event.key == pg.K_KP_ENTER: strobe = False if reinitialize: