1 #ifndef GAMECONTROLLER_PRIVATE_H_
2 #define GAMECONTROLLER_PRIVATE_H_
4 #include <msp/io/eventobject.h>
5 #include <msp/io/handle.h>
10 class JsDevice: public IO::EventObject
16 JsDevice(const std::string &);
18 std::string get_name() const;
21 virtual unsigned do_read(char *, unsigned);
22 virtual unsigned do_write(const char *, unsigned);
25 virtual const IO::Handle &get_event_handle() { return handle; }
29 struct GameController::Private