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>
|
2020-09-28 20:54:40 +00:00
|
|
|
#include "boo2/boo2.hpp"
|
2015-08-29 01:30:47 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
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{};
|
2020-09-28 20:54:40 +00:00
|
|
|
std::array<bool, 256> m_specialKeys{};
|
2019-10-01 05:25:19 +00:00
|
|
|
std::array<bool, 6> m_mouseButtons{};
|
2020-09-28 20:54:40 +00:00
|
|
|
boo2::KeyModifier m_modMask = boo2::KeyModifier::None;
|
|
|
|
hsh::offset2dF m_mouseCoord;
|
|
|
|
hsh::offset2dF m_mouseCoordNorm;
|
|
|
|
hsh::offset2dF m_accumScroll;
|
2015-08-29 01:30:47 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|