diff options
Diffstat (limited to 'src/input.h')
| -rw-r--r-- | src/input.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h index 7810918..94125ba 100644 --- a/src/input.h +++ b/src/input.h @@ -138,6 +138,11 @@ struct pw_input *pw_input_init(SDL_Window *window); void pw_input_free(struct pw_input *input); /** + * Resets the player state. + */ +bool pw_input_reset(struct pw_input *input, struct pw_players *players); + +/** * Handles an SDL events for PICO-8 input. */ bool pw_input_event(struct pw_input *input, struct pw_players *players, |
