[lkml]   [2011]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Reporting screen/laptop orientation data to userspace
On Sat, 2011-06-04 at 19:13 +0200, Mohamed Ikbel Boulabiar wrote:
> On Fri, Jun 3, 2011 at 5:55 PM, Bastien Nocera <> 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

Certainly much easier than my previous attempts at using X to read the
values from a floating device.

 \ /
  Last update: 2011-06-06 19:57    [W:0.070 / U:40.316 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site