summaryrefslogtreecommitdiffhomepage
path: root/src/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h6
1 files changed, 6 insertions, 0 deletions
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() \
+ )