2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2015-08-29 01:30:47 +00:00
|
|
|
|
2019-10-01 05:25:19 +00:00
|
|
|
#include <array>
|
2022-02-16 05:21:24 +00:00
|
|
|
|
|
|
|
#include <aurora/aurora.hpp>
|
2019-10-01 05:25:19 +00:00
|
|
|
#include <boo/IWindow.hpp>
|
2015-08-29 01:30:47 +00:00
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
namespace metaforce {
|
2015-08-29 01:30:47 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
struct CKeyboardMouseControllerData {
|
2019-10-01 05:25:19 +00:00
|
|
|
std::array<bool, 256> m_charKeys{};
|
2022-02-13 21:32:52 +00:00
|
|
|
std::array<bool, static_cast<size_t>(aurora::SpecialKey::MAX)> m_specialKeys{};
|
2019-10-01 05:25:19 +00:00
|
|
|
std::array<bool, 6> m_mouseButtons{};
|
2022-02-13 21:32:52 +00:00
|
|
|
aurora::ModifierKey m_modMask = aurora::ModifierKey::None;
|
2018-12-08 05:30:43 +00:00
|
|
|
boo::SWindowCoord m_mouseCoord;
|
|
|
|
boo::SScrollDelta m_accumScroll;
|
2015-08-29 01:30:47 +00:00
|
|
|
};
|
|
|
|
|
2021-04-10 08:42:06 +00:00
|
|
|
} // namespace metaforce
|