enum EE::Window::JoystickHatPosition¶
Indicates the code for every hat position possible
#include <joycodes.hpp> enum JoystickHatPosition { HAT_CENTERED = 0x00, HAT_UP = 0x01, HAT_RIGHT = 0x02, HAT_DOWN = 0x04, HAT_LEFT = 0x08, HAT_RIGHTUP =(HAT_RIGHT | HAT_UP), HAT_RIGHTDOWN =(HAT_RIGHT | HAT_DOWN), HAT_LEFTUP =(HAT_LEFT | HAT_UP), HAT_LEFTDOWN =(HAT_LEFT | HAT_DOWN), };