diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-02-01 01:14:03 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-02-01 01:14:03 +0100 |
| commit | 9ca793417149cbaa7b5f4b7797bc929e6e191f28 (patch) | |
| tree | 3f067cad3fe7e606e5e9ea1dd8079874de3f048c /lib/nes/app/input/input-manager.hh | |
| parent | 1d5f5482f91391a6dfee9ec0e7cb0a22ee5f0464 (diff) | |
use custom integer types
Diffstat (limited to 'lib/nes/app/input/input-manager.hh')
| -rw-r--r-- | lib/nes/app/input/input-manager.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/nes/app/input/input-manager.hh b/lib/nes/app/input/input-manager.hh index 525debc..8bc75b8 100644 --- a/lib/nes/app/input/input-manager.hh +++ b/lib/nes/app/input/input-manager.hh @@ -3,6 +3,7 @@ #include "nes/app/input/input-device-keyboard.hh" #include "nes/app/input/input-device-controller.hh" #include "nes/common/list.hh" +#include "nes/common/types.hh" namespace nes::app { @@ -12,7 +13,7 @@ namespace nes::app /// back to the keyboard if needed. class input_manager { - static constexpr auto input_count = std::size_t{ 2 }; + static constexpr auto input_count = u32{ 2 }; input_device_keyboard* keyboard_; list<input_device_controller> controllers_; |
