slaeshjag/libdarnit — pull request #32 by h4xxel (2012-10-26 23:25:49+00:00)
Title: patch for getting key action PRESS/RELEASE from darnitKeyboardRawPop

needed for ui to actually make use of the darnitKeyboardRawPop function in the event handling

int darnitKeyboardRawPop(int *action);

key action stored in value pointed to by 'action', can be one of
DARNIT_KEYACTION_PRESS
DARNIT_KEYACTION_RELEASE

also updated darnitKeyboardRawPush:
void darnitKeyboardRawPush(int sym, int action);

actions added as member
int	action[RAW_BUFFER_LEN];
in struct INPUT_RAW