2023-01-29 18:58:59 +01:00
|
|
|
#pragma once
|
2023-10-26 18:37:29 +02:00
|
|
|
#include "Graphics/Resources.h"
|
2023-01-29 18:58:59 +01:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
namespace Seele {
|
|
|
|
|
namespace Component {
|
|
|
|
|
struct KeyboardInput {
|
2023-01-29 18:58:59 +01:00
|
|
|
Seele::StaticArray<bool, static_cast<size_t>(Seele::KeyCode::KEY_LAST)> keys;
|
2025-03-26 13:38:48 +01:00
|
|
|
bool mouse1 = false;
|
|
|
|
|
bool mouse2 = false;
|
|
|
|
|
float mouseX = 0.0f;
|
|
|
|
|
float mouseY = 0.0f;
|
|
|
|
|
float deltaX = 0.0f;
|
|
|
|
|
float deltaY = 0.0f;
|
|
|
|
|
float scrollX = 0.0f;
|
|
|
|
|
float scrollY = 0.0f;
|
2024-06-09 12:20:04 +02:00
|
|
|
};
|
2023-01-29 18:58:59 +01:00
|
|
|
} // namespace Component
|
|
|
|
|
} // namespace Seele
|