Files
Seele/src/Engine/Component/KeyboardInput.h
T

18 lines
383 B
C++
Raw Normal View History

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;
bool mouse1;
bool mouse2;
float mouseX;
float mouseY;
2023-11-17 22:31:26 +01:00
float deltaX;
float deltaY;
float scrollX;
float scrollY;
2024-06-09 12:20:04 +02:00
};
2023-01-29 18:58:59 +01:00
} // namespace Component
} // namespace Seele