metaforce/Runtime/Input/CKeyboardMouseController.hpp

19 lines
459 B
C++

#pragma once
#include <array>
#include <boo/IWindow.hpp>
#include "aurora.h"
namespace metaforce {
struct CKeyboardMouseControllerData {
std::array<bool, 256> m_charKeys{};
std::array<bool, static_cast<size_t>(aurora::SpecialKey::MAX)> m_specialKeys{};
std::array<bool, 6> m_mouseButtons{};
aurora::ModifierKey m_modMask = aurora::ModifierKey::None;
boo::SWindowCoord m_mouseCoord;
boo::SScrollDelta m_accumScroll;
};
} // namespace metaforce