static void log(bool isCaught, Buttons buttons, int dx, int dy) { IOLOG_DEBUG_POINTING("RelativePointerEventCallBack [%7s]: buttons: 0x%08x, dx: %3d, dy: %3d\n", isCaught ? "caught" : "sending", buttons.get(), dx, dy); }
Buttons operator|(Buttons other) const { return value_ | other.get(); }
bool isOn(Buttons buttons) const { return (value_ & buttons.get()) == buttons.get(); }
bool operator==(Buttons other) const { return value_ == other.get(); }