#include <revolution/kpr.h>
typedef struct _KPRQueue
{
wchar_t text[ KPR_MAX_QUEUE_LEN ];
KPRMode mode;
u8 oCount; // number of characters available for output
u8 iCount; // number of characters that are input
u32 altVal; // for building up Alt-keypad value
} KPRQueue;
This is the structure for maintaining the state of a processing queue. Its fields should not be manipulated directly.
Key Processing Functions, KPRInitQueue, KPRClearQueue, KPRSetMode, KPRGetMode, KPRPutChar, KPRGetChar, KPRRemoveChar, KPRLookAhead
2007/07/09 Initial version.
CONFIDENTIAL