Turns the keyboard display lights off or on.
FORTRAN (libfgl.a)
void lampoff(Int8 lamps);
void lampon(Int8 lamps);
SUBROUTINE LAMPOF(lamps) CHARACTER*1 lamps
SUBROUTINE LAMPON(lamps) CHARACTER*1 lamps
The lampon subroutine turns on any combination of the four user-controlled lamps on the keyboard. The lampoff subroutine turns them off. The four low-order bits of the lamps parameter control lamps 1 through 4.
Note: This subroutine cannot be used to add to a display list.
lamps | Indicates the mask that specifies which lamps to manipulate. If a bit is set, then the corresponding keyboard lamp is either on or off. |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Turning on or off the keyboard click with the clkon or clkoff subroutine.
Ringing the keyboard bell with the ringbell subroutine.
Setting the duration of the keyboard bell sound with the setbell subroutine.
AIX Graphics Library Overview, Using the Keyboard.