[Sugar-devel] Dbus signal when ebook switch is activated
Paul Fox
pgf at laptop.org
Thu Oct 14 13:11:54 EDT 2010
peter wrote:
> On Thu, Oct 14, 2010 at 4:59 PM, Daniel Drake <dsd at laptop.org> wrote:
> > On 14 October 2010 10:38, Peter Robinson <pbrobinson at 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, pgf at laptop.org
More information about the Sugar-devel
mailing list