From 6ee9e86d4986ba6d62bea7161486972ca2e713ef Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 4 Dec 2017 22:18:49 +0200 Subject: [PATCH 1/1] Implement the required virtual functions in JsDevice --- source/input/linux/gamecontroller_platform.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/input/linux/gamecontroller_platform.h b/source/input/linux/gamecontroller_platform.h index 2951076..9fa7dcb 100644 --- a/source/input/linux/gamecontroller_platform.h +++ b/source/input/linux/gamecontroller_platform.h @@ -18,11 +18,15 @@ public: std::string get_name() const; + virtual void set_block(bool) { } + virtual void set_inherit(bool) { } + protected: virtual unsigned do_read(char *, unsigned); virtual unsigned do_write(const char *, unsigned); public: + virtual const IO::Handle &get_handle(IO::Mode) { return handle; } virtual const IO::Handle &get_event_handle() { return handle; } }; -- 2.45.2