I look at the SDK AddKBInt in low level.
created a function:
uint32 KeyboardIntFunc(APTR is_data, uint32 rawkeycode)
{
// code goes here
return 0;
}
added it using AddKBint(KeyboardIntFunc,NULL).
programs also opens a window and waits for signals.
when i press the keyboard my routine is not being run.
anyone know why?