metaforce/Runtime/Input/CKeyboardMouseController.hpp

22 lines
461 B
C++
Raw Normal View History

2016-02-13 09:02:47 +00:00
#ifndef __PSHAG_CKEYBOARDMOUSECONTROLLER_HPP__
#define __PSHAG_CKEYBOARDMOUSECONTROLLER_HPP__
2015-08-29 01:30:47 +00:00
#include <boo/boo.hpp>
2016-02-13 09:02:47 +00:00
namespace pshag
2015-08-29 01:30:47 +00:00
{
struct CKeyboardMouseControllerData
{
bool m_charKeys[256] = {};
bool m_specialKeys[26] = {};
bool m_mouseButtons[6] = {};
2015-11-21 01:16:07 +00:00
boo::EModifierKey m_modMask = boo::EModifierKey::None;
boo::SWindowCoord m_mouseCoord;
boo::SScrollDelta m_accumScroll;
2015-08-29 01:30:47 +00:00
};
}
2016-02-13 09:02:47 +00:00
#endif // __PSHAG_CKEYBOARDMOUSECONTROLLER_HPP__