11 #include <Gosu/ButtonsWin.hpp>
24 #include <X11/Xutil.h>
25 #include <X11/keysym.h>
26 #include <Gosu/ButtonsX.hpp>
43 explicit Button(
unsigned id) : id_(id) {}
45 unsigned id()
const {
return id_; }
57 return lhs.
id() == rhs.
id();
65 return lhs.
id() < rhs.
id();
86 const std::auto_ptr<Impl> pimpl;
95 Input(
void* view,
float updateInterval);
96 void feedTouchEvent(
int type,
void* touches);
99 bool feedNSEvent(
void* event);
105 bool feedXEvent(::XEvent& event);