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:
21
Runtime/Input/CKeyboardMouseController.hpp
Normal file
21
Runtime/Input/CKeyboardMouseController.hpp
Normal 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__
|
||||
Reference in New Issue
Block a user