diff options
| author | realtradam <[email protected]> | 2023-06-16 01:18:38 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-16 01:18:38 -0400 |
| commit | 7c9fec756773e9d6b82ae9742a464451760942b4 (patch) | |
| tree | e09f05f77f2dc480ee70a5f0a98386d2cf9dde77 /src/input.h | |
| parent | aa7d58cdc09fdf2a995c8b15f4e5b7881a7c9891 (diff) | |
| download | rodeo_sample_game-7c9fec756773e9d6b82ae9742a464451760942b4.tar.gz rodeo_sample_game-7c9fec756773e9d6b82ae9742a464451760942b4.zip | |
.
Diffstat (limited to 'src/input.h')
| -rw-r--r-- | src/input.h | 8 |
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() \ +) |
