peter wrote: > On Thu, Oct 14, 2010 at 4:59 PM, Daniel Drake <d...@laptop.org> wrote: > > On 14 October 2010 10:38, Peter Robinson <pbrobin...@gmail.com> wrote: > >> I think this should be an input event, I think in most cases this is > >> how input from lid switches and the like are handled across most > >> things now. > > > > It already is an input event, but I suspect that diving down into > > opening input devices is the wrong thing to do. Next sensible step > > would be to look at how GNOME does it. > > If its an input event it can then surely be dealt with like any other > special key within X or gnome. I presume its the "rotate" button > bottom right hand corner of the screen. I think there's an X button > for rotate on table computers, could it be mapped to that as its > similar functionality and would then also work on tablet computers as > well.
the rotate key is already handled as a special key. we're talking about the ebook switch, which is an open or closed magnetic sensor that can tell you when the screen is fully folded into the ebook position. paul =--------------------- paul fox, p...@laptop.org _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel