ecore fb: Change default tslib device.
authorChidambar Zinnoury <chidambar.zinnoury@zefla.fr>
Tue, 27 Oct 2015 16:02:11 +0000 (17:02 +0100)
committerChidambar Zinnoury <chidambar.zinnoury@zefla.fr>
Tue, 27 Oct 2015 16:02:11 +0000 (17:02 +0100)
 It seems that tslib has been using /dev/input/event0 as default device for more than a decade. Let’s align.

src/lib/ecore_fb/ecore_fb_ts.c

index b9880ec..cc68d5d 100644 (file)
@@ -111,7 +111,7 @@ ecore_fb_ts_init(void)
           }
      }
 #else
-   _ecore_fb_ts_fd = open("/dev/touchscreen/0", O_RDONLY);
+   _ecore_fb_ts_fd = open("/dev/input/event0", O_RDONLY);
 #endif
    if (_ecore_fb_ts_fd >= 0)
      {