#include <cafe/kbd.h> KBDEc KBDGetAccessSticky(KBDChannel ch, BOOL *enable);
|ch||Keyboard channel to query.|
|enable||Pointer to a
|KBDEc||Keyboard error code.
Returns the current "sticky" key state of the USB keyboard on channel ch. The returned state is written to the area pointed to by enable.
The sticky bit state controls the behavior of modifier keys that normally are active only while the keys such as SHIFT and CONTROL are pressed down. With the sticky mode enabled, pressing the modifier key toggles the modifier state on or off. With the sticky mode disabled, the modifier state is only on while an appropriate modifier key is pressed down.
|Background||Do not call this function from the background.|
2013/05/08 Automated cleanup pass.
2013/01/13 Removed KBD_ERR_BAD_POINTER.
2011/12/21 Moved to Cafe.
2007/03/27 Initial version.