chiark / gitweb /
accelerometer: Don't wait for new data from the sensor
authorBastien Nocera <hadess@hadess.net>
Tue, 8 Jul 2014 16:29:06 +0000 (18:29 +0200)
committerKay Sievers <kay@vrfy.org>
Tue, 8 Jul 2014 16:36:53 +0000 (18:36 +0200)
commita545c6e1aa31b4d7e80c9d3609d9fc4fc9921498
tree5691f9ad71c2f4cb08bdaf016719175687a89298
parent9a8c867fecec55998b7a78470aebdede2db0673e
accelerometer: Don't wait for new data from the sensor

Instead of waiting for new data from the sensor, which might be
a long time coming, depending on the sensor device, ask the kernel
for the last state for that particular input device.
src/udev/accelerometer/accelerometer.c