#include <revolution/kbd.h> KBDEc KBDGetRepeat(KBDChannel ch, u16 *delay, u16 *interval);
| ch | Keyboard channel to query. |
|---|---|
| delay | Pointer to a u16 value for storing the current repeat delay value. |
| interval | Pointer to a u16 value for storing the current repeat rate interval value. |
| 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.KBD_ERR_BAD_POINTER if delay or interval is not a valid pointer. |
|---|
Returns current repeat rate values of the USB keyboard on channel ch. The current repeat delay value (in milliseconds) is written to the area pointed to by delay. The current repeat rate interval value (in milliseconds) is written to the area pointed to by interval. A repeat delay of 0 means that repeat is disabled.
2007/03/27 Initial version.
CONFIDENTIAL