Add support for key repeats via UC_KEY_REPEAT flag

This commit is contained in:
RocketRobz
2021-09-03 21:21:37 -06:00
parent 2d75edbc92
commit bb846879b8
3 changed files with 33 additions and 0 deletions
+4
View File
@@ -33,7 +33,11 @@
class Screen {
public:
virtual ~Screen() {}
#ifdef UC_KEY_REPEAT
virtual void Logic(u32 hDown, u32 hDownRepeat, u32 hHeld, touchPosition touch) = 0;
#else
virtual void Logic(u32 hDown, u32 hHeld, touchPosition touch) = 0;
#endif
virtual void Draw() const = 0;
};