I think you should use GetAsyncKeyState API to check which button is pressed if you have more than one button pressed simulateously.

Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer