]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/android/touchscreen.cpp
Add an availability check to Touchscreen
[libs/gui.git] / source / input / android / touchscreen.cpp
index f4703c340b8d5cca4fc9164a16a57d0474b01726..6472f4476b973d2b813f6404af8e787f3d7e14e1 100644 (file)
@@ -4,6 +4,11 @@
 namespace Msp {
 namespace Input {
 
+bool Touchscreen::is_available()
+{
+       return true;
+}
+
 void Touchscreen::input_event(const Graphics::Window::Event &event)
 {
        int action = AMotionEvent_getAction(event.aevent);