Original Post
hResult = pDevice->m_pDevice->GetDeviceData( sizeof(DIDEVICEOBJECTDATA), data, &nEvents, 0 ); if( hResult != DI_OK ) { if( hResult == DI_BUFFEROVERFLOW ) { dsi_ConsolePrint ("Input buffer overflow on %s", pDevice->m_InstanceName); } else if (hResult == DIERR_INPUTLOST) { // Attempt to acquire it and retry .. maybe it got lost. hResult = pDevice->m_pDevice->Acquire(); hResult = pDevice->m_pDevice->GetDeviceData( sizeof(DIDEVICEOBJECTDATA), data, &nEvents, 0 ); } } when i run this piece of code in the main input routine that reads input from all devices and sets any actions that are on,the mouse can not receive any response,however i can input username/password after i use tab, and i can use ENTER to assist for a login, and in the game lobby, all shortcut keys can be used except WASD and the mouse input, but it can input message after tabbing,so it can neither step backward/afterward/right/left, nor receive any mouse input. can anyone help me on this problem?