diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-12-06 21:11:29 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-12-06 21:11:29 -0500 |
| commit | a7e6acea6f3d75ba162ac0bcedcf2900568b8ea6 (patch) | |
| tree | 6baf26a51019ed68b5314ad1de70f5b10d42374f /src/player-input.hpp | |
| parent | 94f2dd025cc9764fafdb89ef2830173b0e1c56e6 (diff) | |
player-input track if events happened this tick
Diffstat (limited to 'src/player-input.hpp')
| -rw-r--r-- | src/player-input.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player-input.hpp b/src/player-input.hpp index a44ae42..59d2c75 100644 --- a/src/player-input.hpp +++ b/src/player-input.hpp @@ -72,14 +72,14 @@ struct PkeCursorPosEvent : public PkeInputEventBase { struct PkeKeyEvent : public PkeInputEventBase { InputActionSetHandle sourceSet; bool isPressed; - int8_t pressCount; + bool thisTick; int32_t button; int32_t mods; }; struct PkeMouseButtonEvent : public PkeInputEventBase { InputActionSetHandle sourceSet; bool isPressed; - int8_t pressCount; + bool thisTick; int32_t button; int32_t mods; }; |
