I have a Compaq H3870. I use the following code for my button down callback...
void CFMSce::ButtonDown( int button )
{
const InputDevice::KeyList& keys = GetInput()->GetKeyList();
if(button == keys.vkA)
{
m_keys.vkA = true;
m_keys.vkATimer[0] = PocketPC::GetTickCount();
}
...
}
But when I use the hardware buttons the actual value of 'button' does not match any of the KeyList id's returned by GetInput()->GetKeyList();
That is, if(button == keys.vkA) does not work for any of my buttons.
Any Ideas??
Thanx.