KBDResetChannel

Syntax

#include <cafe/kbd.h>

KBDEc KBDResetChannel (KBDChannel ch);

Parameters

ch Keyboard channel to reset.

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 was out of range.

Description

Resets the keyboard on channel ch. This will clear the modifier key state, repeat action, and key buffer.

Do Not Call From

Background Do not call this function from the background.

Revision History

2013-05-08 Automated cleanup pass.
2011-12-21 Moved to Cafe.
2007-03-19 Initial version.


CONFIDENTIAL