| 65 | } |
| 66 | |
| 67 | void registerKey(unsigned char key, const char* Description, ActionFunc func, int arg) |
| 68 | { |
| 69 | XnKeyboardAction* pKey = &g_KeyboardMap[g_nRegisteredKeys]; |
| 70 | pKey->key = key; |
| 71 | pKey->csDescription = Description; |
| 72 | pKey->pCallbackFunc = func; |
| 73 | pKey->nCallbackArg = arg; |
| 74 | g_nRegisteredKeys++; |
| 75 | } |
| 76 | |
| 77 | void endKeyboardGroup() |
| 78 | { |