Log in

View Full Version : Hardware key trap


adriano_alvarez
06-16-2005, 12:29 AM
I have problem with mpx220
I can’t trap press/release of volume buttons separately. I am using SHCMBM_OVERRIDEKEY message to override default action of this keys. But WM_HOTKEY messages can be received only simultaneously: only if I press and then release volume up/down buttons. If I press and hold volume down button no messages was send until I release this button. If I press and hold volume up button, speech recognition (or voice recorder) program was started. I am trying SHCMBM_OVERRIDEKEY for VK_TRECORD button, but with no result.

May be anybody know how this problem can be solved on SE phones? (Override default action of volume buttons, receive separately key down/up events for this keys and don't start speech recognition (or voice recorder) program if volume up button was not released).

Thanks.