I want to simulate all the keys on the keypad for the Nokia 73 (basically S603rd edition) globally. I am not able to simulate any key other than the "RED" key. The following code works,
Is it not possible to simulate all the keys? If it is, then can someone point me towards a "sane" mapping table for the keys?Code:RWsSession wsSession = CCoeEnv::Static()->WsSession(); TKeyEvent keyEvent; keyEvent.iCode = EKeyNo; //member of TKeyCode keyEvent.iScanCode = EStdKeyNo; keyEvent.iModifiers = 0; keyEvent.iRepeats = 0; wsSession.SimulateKeyEvent(keyEvent); wsSession.Flush();
For e.g. KEY: Numeric Key 1 ScanCode: ABC Code = XYZ
Thanks in advance.