nanogui: iPAQ power button event
Subject:
iPAQ power button event
From:
####@####.####
Date:
10 Sep 2001 05:59:49 -0000
Message-Id: <Pine.LNX.4.10.10109101555120.18653-100000@helios.devel.igelaus.com.au>
Hello all,
I am writing applications for the iPAQ using Nano-X/FLTK and I was
wondering if it is at all possible to get a key event for the power button.
I have searched the mailing lists at handhelds.org, and have discovered that
echo 1 > /proc/sys/ts/suspend_button_mode will prevent the kernel driver
from actually suspending the iPAQ and (it is supposed to) send the event
to the keyboard controller. The problem is, I do not receive anything from
/dev/h3600_key.
I have also been looking through the XFree86 source for the keyboard related
coded but I have not yet found out how the sever receives the power button
event.
I think that this would be a good feature for Nano-X to be able to allow
applications to receive the power button event. Has anyone found a way
to allow this?
Thanking you all in advance.
####@####.####