summaryrefslogtreecommitdiffhomepage
path: root/src/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index b028dd1..c89d4cd 100644
--- a/src/input.h
+++ b/src/input.h
@@ -1,4 +1,5 @@
#pragma once
+
#include "rodeo/input.h"
typedef
@@ -77,3 +78,10 @@ register_inputs(void);
void
unregister_inputs(void);
+
+#define \
+register_inputs_do() \
+mrodeo_defer_do( \
+ register_inputs(), \
+ unregister_inputs() \
+)