25 #include <X11/Xutil.h>
42 explicit Button(
unsigned id) : id_(id) {}
44 unsigned id()
const {
return id_; }
56 return lhs.
id() == rhs.
id();
64 return lhs.
id() < rhs.
id();
85 const std::auto_ptr<Impl> pimpl;
94 Input(
void* view,
float updateInterval);
95 void feedTouchEvent(
int type,
void* touches);
98 bool feedNSEvent(
void* event);
104 bool feedXEvent(::XEvent& event);