Provides access to the lighted program function key (LPFK) array.
The lpfk special file is the application interface to the lighted program function keys. It allows the application to receive operator input from the LPFKs and to illuminate and darken each key in the array.
Standard configuration methods are provided for the lpfk special file. The user cannot enter configurable attributes by way of the command line.
An open subroutine call specifying the lpfk special file is processed normally except that the Oflag and Mode parameters are ignored. An open request is rejected if the special file is already opened or if a kernel extension attempts to open the lpfk special file. All LPFK inputs are flushed following an open call until an input ring is established.
The lpfk special file does not support read or write subroutine calls. Instead, input data is obtained from the LPFKs through the input ring. The read and write subroutine calls behave the same as read and write functions of the /dev/null file. See "LFT Input Ring" in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts for how to use the input ring.
The lpfk special file supports the following ioctl operations:
IOCINFO | Returns the devinfo structure. |
LPFKREGRING | Registers input ring. |
LPFKRFLUSH | Flushes input ring. |
LPFKLIGHT | Sets key lights. |
The error codes can be found in the /usr/include/sys/errno.h file.
The lpfk special file is part of Base Operating System (BOS) Runtime.
/usr/include/sys/inputdd.h | Contains declarations for ioctl commands and input ring report format |
The dials special file, GIO special file, kbd special file, mouse special file, and tablet special file.
The close subroutine, ioctl subroutine, open subroutine, read subroutine, write subroutine.