KBDSetLeds DEPRECATED

Syntax

#include <cafe/kbd.h>

KBDEc KBDSetLeds (KBDChannel ch, KBDLedState leds);

Parameters

ch Keyboard channel to set.
leds New KBDLedState to send to the keyboard.

Return Values

KBDEc Keyboard error code.
KBD_SUCCESS if the call was successful.
KBD_ERR_NOT_INITIALIZED if the library was not initialized.
KBD_ERR_BAD_VALUE if ch or leds is out of range.
KBD_ERR_BUSY if unable to send an LED command to the keyboard.

Description

This function has been deprecated. The KBD RPL now sets LEDs automatically per key entry. For LED settings, call KBDSetLedsEx.

Do Not Call From

Deprecated Do not call this function in new code.
Background Do not call this function from the background.

See Also

KBDSetLedsEx
KBDSetLedsAsyncEx
KBDSetLedsRetryEx

Revision History

2013-06-20 Deprecated.
2013-05-08 Automated cleanup pass.
2011-12-21 Moved to Cafe.
2007-10-03 Added a precaution about keyboard ACK.
2007-03-19 Initial version 0.1.


CONFIDENTIAL