On 24 January 2013 08:11, Ajay Garg <[email protected]> wrote:
> > > On Thu, Jan 24, 2013 at 7:37 PM, Ajay Garg <[email protected]>wrote: > >> >> >> On Thu, Jan 24, 2013 at 7:36 PM, Gonzalo Odiard <[email protected]>wrote: >> >>> .... >>> >>>> So, it seems that just hacking onto the game-key won't help :( >>>> >>> >>> No. Will not work, because the osk will appear if you touch over a input >>> widget. >>> The game keys are not the expected way to show the osk. >>> >> >> Hmm.. which brings us back to square one :( >> > > > Let's try another way :P > > Is there a way, so that we may know whether we are in ebook-mode, or > normal-mode? > > Yes, there is a ebook switch event: Jan 24 01:14:28 xo-1e-89-0d kernel: OLPC XO-1.75 lid and ebook switches Jan 24 01:14:28 xo-1e-89-0d kernel: input: OLPC lid switch as /devices/virtual/input/input3 Jan 24 01:14:28 xo-1e-89-0d kernel: input: OLPC ebook switch as /devices/virtual/input/input4 Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: starting olpc-kbdshim-udev version 29 Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd 4: found touchscreen (zForce touchscreen) /dev/input/event8 (18:00:00) Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd 6: found keyboard (AT Translated Set 2 keyboard) /dev/input/event5 (11:01:01) Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd 7: found touchpad (FSPPS/2 Sentelic FingerSensingPad) /dev/input/event9 (11:02:0f) Jan 24 01:14:49 xo-1e-89-0d olpc-kbdshim-udev[484]: olpc-kbdshim-udev: fd 8: found ebook switch Jerry
_______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

