Commit 24ffdaf2 authored by hybrid's avatar hybrid

Move joystick stuff into separate class

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3704 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 44c9d539
This diff is collapsed.
......@@ -25,6 +25,8 @@
namespace irr
{
struct SJoystickWin32Control;
class CIrrDeviceWin32 : public CIrrDeviceStub, video::IImagePresenter
{
public:
......@@ -383,8 +385,6 @@ namespace irr
void resizeIfNecessary();
void pollJoysticks();
HWND HWnd;
bool ChangedToFullScreen;
......@@ -393,14 +393,7 @@ namespace irr
bool ExternalWindow;
CCursorControl* Win32CursorControl;
#if defined(_IRR_COMPILE_WITH_JOYSTICK_EVENTS_)
struct JoystickInfo
{
u32 Index;
JOYCAPS Caps;
};
core::array<JoystickInfo> ActiveJoysticks;
#endif
SJoystickWin32Control* JoyControl;
};
} // end namespace irr
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment