pdfSetKeyUpCbk

Set a callback function for key-up events.
void pdfSetKeyUpCbk(PDFViewerHandle viewer, void (*cbk)(void *data, int code, int shift), void *data)
This function sets a callback which will be called when a user releases a key.

The function will be called with three arguments:

C:
void keyUpCbk(void *data, int code, int shift) { Context *myContext = (Context *)data; /* process the key release ... */ } .... pdfSetKeyUpCbk(viewer, &keyUpCbk, &myContext);
pdfSetKeyDownCbk
pdfSetKeyPressCbk