Could you download DS4R393 and refer to EX_KEYFLUSH? Button status will be kept for at least 1/60sec after you release buttons. Therefore you should FLUSH button buffer every time you detect buttons.