## Pen for OS/2 Device Driver Reference

[prev][next][parent][TOC]

### Category 93h, Function 51h - Description

    #define PEN_FUNC_SDIP 0x051

This function controls how the driver handles turning the display backlight on and off automatically. The following options can be set:

AutoEnable = (enable | disable) When enabled, the backlight is turned off after a period of no user activity. User activity turns the backlight back on. User activity consists of input from any locator device, buttons, the OS/2 mouse, or the keyboard.

Opaque = (enable | disable) When enabled, button actions and locator points from this driver are processed even though the backlight is off. When disabled, button actions are not processed, and locator points are sent to the device driver services but are not processed by the OS/2 operating system.

Suppress = (enable | disable) When enabled, button down action from the locator or a mouse action that turned the backlight on will be ignored and reported as a movement only. Button actions will be ignored.

Period = <seconds> The length of the inactivity period in seconds.

All of these options are independent. All combinations can be specified on a single IOCtl call. AutoEnable, Suppress, and Period are processed only if the display device capabilities allow automatic backlight control.