On Sat, 2011-06-04 at 19:13 +0200, Mohamed Ikbel Boulabiar wrote: > On Fri, Jun 3, 2011 at 5:55 PM, Bastien Nocera <hadess@xxxxxxxxxx> wrote: > > > > As soon as it's seen some testing, I'll be showing the work I did for > > GNOME support for automatic rotation based on orientation. > > And how you handle these events through X ? As I mentioned to Alberto, and following on from the upstream push to udev, the only thing the code does is look for uevents coming from ID_INPUT_ACCELEROMETER=1 devices, and read the value of ID_INPUT_ACCELEROMETER_ORIENTATION. Certainly much easier than my previous attempts at using X to read the values from a floating device. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html