Keyboard LED's in Photon

Does anybody know how to read and set the keyboard LED’s (e.g. Caps Lock)
from within a Photon application? I am able to use qnx_ioctl() to read the
LED’s
from a non-Photon app, but when I try the same thing from within a Photon
shell
window, it says the LED’s are all off, whether they are or not. I’d really
appreciate
any hints anybody might have. Thanks.

Dave Moore
Visara, Inc.
Raleigh, NC
moore@visara.com