2nd
7610 test results:
*
2005/01/01 10:22:33 icode = 0, iscancode = 42, Atype = 3
2005/01/01 10:22:33 icode = 42, iscancode = 42, Atype = 1
2005/01/01 10:22:33 icode = 0, iscancode = 42, Atype = 2
#
10:22:35 icode = 0, iscancode = 127, Atype = 3
10:22:35 icode = 35, iscancode = 127, Atype = 1
10:22:35 icode = 0, iscancode = 127, Atype = 2
Result on the simulator:
*
12:41:54 icode = 0, iscancode = 133, Atype = 3
12:41:54 icode = 42, iscancode = 133, Atype = 1
12:41:54 icode = 0, iscancode = 133, Atype = 2
#
12:41:55 icode = 0, iscancode = 127, Atype = 3
12:41:55 icode = 35, iscancode = 127, Atype = 1
12:41:55 icode = 0, iscancode = 127, Atype = 2
Test code:
//----------------------------------------------------
// Ctestappui: handlekeyeventl (
// Const tkeyevent & akeyevent, teventcode/* Atype */)
// Takes care of key event handling
//----------------------------------------------------
//
Tkeyresponse ctestappui: handlekeyeventl (
Const tkeyevent & akeyevent, teventcode Atype)
{
Debug (0, "icode = % u, iscancode = % d, Atype = % d", akeyevent. icode, akeyevent. iscancode, Atype );
Return ekeywasnotconsumed;
}