Log when opening device
authorEnrico Zini <enrico@enricozini.org>
Tue, 11 Aug 2009 20:45:33 +0000 (21:45 +0100)
committerEnrico Zini <enrico@enricozini.org>
Tue, 11 Aug 2009 20:45:33 +0000 (21:45 +0100)
src/input.vala

index a49223e76c8b01393ea71a263d1f6197b25e8816..7eeb9a8d2a05e5289e03d758953416d4e2a2442e 100644 (file)
@@ -90,6 +90,7 @@ public abstract class DevInput : zavai.Service
             close_fd();
 
         // Open the device and listed to it using the GObject main loop
             close_fd();
 
         // Open the device and listed to it using the GObject main loop
+               zavai.log.info("Opening device " + device);
         fd = new IOChannel.file(device, "r");
                fd.set_encoding(null);
                fd.set_buffered(false);
         fd = new IOChannel.file(device, "r");
                fd.set_encoding(null);
                fd.set_buffered(false);