MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / _is_quit_shortcut

Method _is_quit_shortcut

PythonAPI/examples/manual_control.py:472–473  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

470
471 @staticmethod
472 def _is_quit_shortcut(key):
473 return (key == K_ESCAPE) or (key == K_q and pygame.key.get_mods() & KMOD_CTRL)
474
475
476# ==============================================================================

Callers 1

parse_eventsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected