enum EE::Window::MouseButtonsMask¶
Mouse buttons mask, to check the current state of every button.
#include <keycodes.hpp> enum MouseButtonsMask { EE_BUTTON_LMASK = EE_BUTTON_MASK(EE_BUTTON_LEFT), EE_BUTTON_MMASK = EE_BUTTON_MASK(EE_BUTTON_MIDDLE), EE_BUTTON_RMASK = EE_BUTTON_MASK(EE_BUTTON_RIGHT), EE_BUTTON_4MASK = EE_BUTTON_MASK(EE_BUTTON_4), EE_BUTTON_5MASK = EE_BUTTON_MASK(EE_BUTTON_5), EE_BUTTON_6MASK = EE_BUTTON_MASK(EE_BUTTON_6), EE_BUTTON_7MASK = EE_BUTTON_MASK(EE_BUTTON_7), EE_BUTTON_8MASK = EE_BUTTON_MASK(EE_BUTTON_8), EE_BUTTON_WUMASK = EE_BUTTON_MASK(EE_BUTTON_WHEELUP), EE_BUTTON_WDMASK = EE_BUTTON_MASK(EE_BUTTON_WHEELDOWN), EE_BUTTON_WLMASK = EE_BUTTON_MASK(EE_BUTTON_WHEELLEFT), EE_BUTTON_WRMASK = EE_BUTTON_MASK(EE_BUTTON_WHEELRIGHT), EE_BUTTONS_LRM =(EE_BUTTON_MASK(EE_BUTTON_LEFT) | EE_BUTTON_MASK(EE_BUTTON_MIDDLE) | EE_BUTTON_MASK(EE_BUTTON_RIGHT)), EE_BUTTONS_WUWD =(EE_BUTTON_MASK(EE_BUTTON_WHEELUP) | EE_BUTTON_MASK(EE_BUTTON_WHEELDOWN)), EE_BUTTONS_WLWR =(EE_BUTTON_MASK(EE_BUTTON_WHEELLEFT) | EE_BUTTON_MASK(EE_BUTTON_WHEELRIGHT)), EE_BUTTONS_ALL = 0xFFFFFFFF, };