does anyone know how to detect a key press and a key release. for example, i
need to know when the up arrow key is held down and when it is released. can
anyone help. thank you.
Will <will@oohwill.com> wrote:
does anyone know how to detect a key press and a key release. for example, i
need to know when the up arrow key is held down and when it is released. can
anyone help. thank you.
A good example can be found at ftp.qnx.com, username anonymous
look for /usr/free/qnx4/photon/util/EventWatch.tgz
regards,
Tom
Thomas Emberson <temberson@softwareremodeling.com> wrote:
: Will <will@oohwill.com> wrote:
:> does anyone know how to detect a key press and a key release. for example, i
:> need to know when the up arrow key is held down and when it is released. can
:> anyone help. thank you.
: A good example can be found at ftp.qnx.com, username anonymous
: look for /usr/free/qnx4/photon/util/EventWatch.tgz
The docs for PhKeyEvent_t (in the QNX 6.2 docs) might help, too. You can
find them at:
http://www.qnx.com/developer/docs/momentics_nc_docs/photon/lib_ref/ph/phkeyevent_t.html
Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems
do you have any examples where it is used. thank you.
Steve Reid wrote:
Thomas Emberson <> temberson@softwareremodeling.com> > wrote:
: Will <> will@oohwill.com> > wrote:
:> does anyone know how to detect a key press and a key release. for example, i
:> need to know when the up arrow key is held down and when it is released. can
:> anyone help. thank you.: A good example can be found at ftp.qnx.com, username anonymous
: look for /usr/free/qnx4/photon/util/EventWatch.tgz
The docs for PhKeyEvent_t (in the QNX 6.2 docs) might help, too. You can
find them at:http://www.qnx.com/developer/docs/momentics_nc_docs/photon/lib_ref/ph/phkeyevent_t.html
Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems
Will <will@oohwill.com> wrote:
: do you have any examples where it is used. thank you.
There’s an example of emitting a key event in the Events chapter of the
Photon Programmer’s Guide in the same part of the website.