I've got an Acer Aspire 5740G and I want to intercept the hardware buttons. I wrote a C# application using SetWindowsHookEx()
.
For the volume buttons, for example, I receive VolumeUp
and VolumeDown
messages, all are fine. But for the wifi button and bluetooth button, I only receive LBUTTON
, OEMCLEAR
(KeyCode 255). So how can I differentiate between those two?
I've also read, that this, buttons may inaccessible because they would be treated like Fn-Keys which are below the OS. But there's an Acer software, called Launch Manager, which shows OSD messages and show a bluetooth/wifi logo. So it must be possible(at least in theory) to differentiate these buttons at the OS level.
So, how to hook these keys?