/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2009.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: sgx/include/skeleton/input/mouse.hpp

*/

#ifndef SKELETON_MOUSE_HPP
#define SKELETON_MOUSE_HPP 1

class skelMouseHandler {
public:
	static tINT32		m_MouseDX;
	static tINT32		m_MouseDY;
	static tINT32		m_MouseX;
	static tINT32		m_MouseY;
	static sgxPoint2i	m_MousePoint;
	static tBOOL		m_bLeftDown;
	static tBOOL		m_bLeftPressed;
	static tBOOL		m_bRightDown;
	static tBOOL		m_bRightPressed;
	static tREAL32 		m_fRollOrientation;
	static tBOOL		m_bAnyButtonPressed;
	
	skelMouseHandler();
	static void update();

private:
	static tBOOL bMouseMoveCamera;
	static tBOOL bMouseLeftButton;
	static tINT32 iMouseMoveX, iMouseMoveY;

};

void init_input(void *p1=NULL, void *p2=NULL);

#endif /* SKELETON_MOUSE_HPP */
