[nostalgia/core] Add Context buttonDown function

This commit is contained in:
2022-02-13 02:21:38 -06:00
parent 0e7a090d28
commit 41cebff5fc
4 changed files with 9 additions and 10 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ enum Key {
GamePad_L = 512,
};
class Context;
[[nodiscard]]
bool buttonDown(Key) noexcept;
bool buttonDown(Context *ctx, Key) noexcept;
}