1#ifndef ALCHEMY_KEYSTATE_H
2#define ALCHEMY_KEYSTATE_H
volatile u32 gKeysDirection
The D-pad direction gKeysRepeatDirected keeps: of several held, the one added last.
volatile u32 gKeysHeld
Keys down now.
volatile u32 gKeysPressed
Keys that went down this frame.
u32 gKeysPressedLatch
Presses since a reader last cleared it.
volatile u32 gKeysRepeat
Pressed keys, repeating while held: after 19 frames, then every 6.
volatile u32 gKeysRepeatDirected
gKeysRepeat with at most one D-pad direction.
u32 gKeysHeldLast
gKeysHeld when the frame loop last read it.
u32 gKeysHeldAtVBlank
gKeysHeld at the previous VBlank.
s32 gKeyRepeatTimer
Frames until the held keys repeat; -1 makes them repeat at once.
The integer types, TRUE, UNUSED and the fixed-address macros.