|
Cellular forums Home > Archive > Bluetooth discussion > January 2007 > What's the key code of Bluetooth Hesdset buttons?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
What's the key code of Bluetooth Hesdset buttons?
|
|
|
| Hi all,
I'm writing an application to capture the button events of the Bluetooth
headset for WM5.0 smartphone, but I don't know the keycode of them, and
there is no WM_KEYDOWN, WM_HOTKEY events triggered when the buttons pressed.
What can I do?
Thanks,
Qiang He
| |
| Lisa Pearlson 2007-01-12, 12:33 pm |
| I have absolutely no experience with bluetooth headsets, but just thinking
logically, I would be surprised if bluetooth headset sends WM messages at
all.. it's a radio signal, that acts probably like a serial port, or at
least stream of data. And over this connection, data is exchanged. I'd
assume those buttons are part of a standardized protocol for head sets.
On the PocketPC side, this could be converted into WM messages, but there's
no point.. WM is for message loops, not for data packets exchanged over BT.
Compare it to a USB scanner that has scan button.. those buttons don't
generate WM_KEYDOWN either.
Lisa
"qhe" <qhe@nospam.tsinghua.org.cn> wrote in message
news:eo0232$rb2$1@ne
ws.cn99.com...
> Hi all,
>
> I'm writing an application to capture the button events of the Bluetooth
> headset for WM5.0 smartphone, but I don't know the keycode of them, and
> there is no WM_KEYDOWN, WM_HOTKEY events triggered when the buttons
> pressed.
>
> What can I do?
>
> Thanks,
> Qiang He
>
>
|
|
|
|
|