extern static int dx_GetJoypadDirectInputState_x64( int InputType, out DINPUT_JOYSTATE DInputState);
public static int GetJoypadDirectInputState( int InputType, out DINPUT_JOYSTATE DInputState) { if( System.IntPtr.Size == 4 ) { return dx_GetJoypadDirectInputState_x86( InputType , out DInputState ); } else { return dx_GetJoypadDirectInputState_x64( InputType , out DInputState ); } }
public static int GetJoypadDirectInputState( int InputType, out DINPUT_JOYSTATE DInputState) { return dx_GetJoypadDirectInputState( InputType , out DInputState ); }