2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:07:42 +00:00

more input implementation

This commit is contained in:
Jack Andersen
2015-08-28 15:30:47 -10:00
parent ce42cdd3be
commit 7223a9dce5
22 changed files with 526 additions and 136 deletions

View File

@@ -0,0 +1,21 @@
#ifndef __RETRO_CKEYBOARDMOUSECONTROLLER_HPP__
#define __RETRO_CKEYBOARDMOUSECONTROLLER_HPP__
#include <boo/boo.hpp>
namespace Retro
{
struct CKeyboardMouseControllerData
{
bool m_charKeys[256] = {};
bool m_specialKeys[26] = {};
bool m_mouseButtons[6] = {};
boo::IWindowCallback::EModifierKey m_modMask = boo::IWindowCallback::MKEY_NONE;
boo::IWindowCallback::SWindowCoord m_mouseCoord;
boo::IWindowCallback::SScrollDelta m_accumScroll;
};
}
#endif // __RETRO_CKEYBOARDMOUSECONTROLLER_HPP__