Originally Posted by rprabhune
CaptureKeyUpAndDowns(TUint aScanCode, TUint aModifierMask, TUint aModifier, TInt aPriority);
Requests the capture of key-up and key-down events on behalf of a window group. This function is identical to the other overload, except that it allows a priority to be specified. This function always causes a flush of the window server buffer.
Scan code for the key to be captured. Scan codes are defined in TStdScanCode.
Bitmask that identifies the modifier keys of interest. Possible values are defined in TEventModifier.
Bitmask that identifies which of the modifier keys in aModifierMask need to be set and which need to be unset.
A priority value - if more than one window group has requested capture for the same key event, the one with the highest priority will capture it.