my example of ctrl+f was a random one and i did not mean it on a device literally as most phones do not have ctrl on them. I wanted to have for example * and 2 detected when both are pressed simultaneously.
I read somewhere that this function will call the OfferKeyEvent function which i think should behave similar to HandleWsEventL and HandleKeyEventL. How would thins benefit me?
I remember that when I was making this Series 60 app, there was a method that I had to call on some initialization to tell the OS to let the app receive more than one keypress. Sorry, though, I don't remember if it was the AppUi, View, or Control initialization, and I can't remember the method name right now
When a key is pressed and released an application will get 3 events. A key down event, a character event (if the key press maps to a character) and a key up event. Normally applications only concern themselves with the character events. If you track the key up and downs then you will be able to determine if two keys are down at the same time. For example: If user does: 1. pressed shift key 2. press "t" key, 3. release "t" key, 4. relese shift key. They will get these events from WSERV: key down shift key, key down t key, character event T, key up t key, key up shift key.
Forum posts: 286
Cheers,
Sri
Forum posts: 123
thanx
Forum posts: 123
Forum posts: 43
hope this will help
KKrish
Forum posts: 123
Forum posts: 149
-euroq
Forum posts: 34
In EPOC version 5 and earlier there was ShortCutkeys present in rss file. I really dont know if they are still supported.
Regards
Pavan
Shoot for the moon. Even if you miss, you'll land among the stars.
Pavan
Forum posts: 11
Forum posts: 4
When a key is pressed and released an application will get 3 events. A key down event, a character event (if the key press maps to a character) and a key up event. Normally applications only concern themselves with the character events. If you track the key up and downs then you will be able to determine if two keys are down at the same time. For example: If user does: 1. pressed shift key 2. press "t" key, 3. release "t" key, 4. relese shift key. They will get these events from WSERV: key down shift key, key down t key, character event T, key up t key, key up shift key.