KPRSetMode

Syntax

#include <cafe/kpr.h>

void KPRSetMode(KPRQueue *queue, KPRMode mode);

Parameters

queue Pointer to queue to change.
mode New processing mode for queue.

Return Values

None.

Description

This function sets the key processing mode for the given queue.

Each queue has a mode which indicates the type of processing to be performed. More than one mode may be active at the same time, but with restrictions. ALT+keypad processing can always be turned on. Dead-key processing and Japanese-character processing are mutually exclusive. The two different kinds of Japanese-character processing are also mutually exclusive.

Do Not Call From

Background Do not call this function from the background.
Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

KPRGetMode

Revision History

2013/05/08 Automated cleanup pass.


CONFIDENTIAL