MCPcopy Create free account
hub / github.com/davemoore22/sorcery / get_input_buffer

Method get_input_buffer

src/core/controller.cpp:945–948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943auto Sorcery::Controller::check_for_back(const SDL_Event event) -> bool {
944
945 if (event.type == SDL_KEYDOWN &&
946 event.key.keysym.scancode == SDL_SCANCODE_ESCAPE)
947 return true;
948 else if (event.type == SDL_MOUSEBUTTONDOWN &&
949 event.button.button == SDL_BUTTON_RIGHT)
950 return true;
951

Callers 1

_draw_create_nameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected