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
|
|
|
|
|
|
|
|
namespace Seele
|
|
|
|
|
{
|
|
|
|
|
namespace Component
|
|
|
|
|
{
|
|
|
|
|
struct KeyboardInput
|
|
|
|
|
{
|
|
|
|
|
Seele::StaticArray<bool, static_cast<size_t>(Seele::KeyCode::KEY_LAST)> keys;
|
|
|
|
|
bool mouse1;
|
|
|
|
|
bool mouse2;
|
|
|
|
|
float mouseX;
|
|
|
|
|
float mouseY;
|
2023-11-17 22:31:26 +01:00
|
|
|
float deltaX;
|
|
|
|
|
float deltaY;
|
2024-05-08 10:51:59 +02:00
|
|
|
float scrollX;
|
|
|
|
|
float scrollY;
|
2023-01-29 18:58:59 +01:00
|
|
|
};
|
|
|
|
|
} // namespace Component
|
|
|
|
|
} // namespace Seele
|