From 53cd72592c3b900175ac069708f4937c83dea37c Mon Sep 17 00:00:00 2001 From: realtradam Date: Mon, 29 May 2023 22:42:36 -0400 Subject: better init and deinit of systems --- src/input.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input.h') diff --git a/src/input.h b/src/input.h index c03c454..c73e59a 100644 --- a/src/input.h +++ b/src/input.h @@ -77,3 +77,9 @@ register_inputs(void); void unregister_inputs(void); + +#define inputs_register_do() \ + mrodeo_defer_do( \ + register_inputs(), \ + unregister_inputs() \ + ) -- cgit v1.2.3