The following won’t make sense to most of the people reading my blog. However, hopefully, it will help out fellow Symbian developers from pulling off their remaining hair looking for the solution I break out in the space of this post.
Nokia phones have a ‘c‘ key which mostly deletes selected items or text. They also have an ‘Enter‘ key, which is mostly in the form of the somewhat bigger middle button on the navigation pad. Symbian developers looking to catch signals when either of those keys are pressed would be hard-pressed to get a taste of success.
One would think ‘EKeyEnter‘ and ‘EKeyDelete‘ would be the right iCode values to catch the ‘Enter’ and ‘c’ key events, respectively. However, that’s not how it works. Surprising, I know. With the help of jelle on #symbian (irc.freenode.net), I found out that the iCode for grabbing Enter key event is ‘EKeyDevice3‘. Similarly, ‘EKeyBackspace‘ is the iCode for the ‘c’ key event.
It is as weird as it gets. But being a Symbian developer, you know this is nothing in the face of the greater bizarre things that make up the Symbian OS.