示例#1
0
文件: DxDLL.cs 项目: Rare25/BarrageDX
		extern static int  dx_GetJoypadDirectInputState_x64( int  InputType, out DINPUT_JOYSTATE  DInputState);
示例#2
0
文件: DxDLL.cs 项目: Rare25/BarrageDX
		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 );
			}
		}
示例#3
0
		public static int  GetJoypadDirectInputState( int  InputType, out DINPUT_JOYSTATE  DInputState)
		{
			return dx_GetJoypadDirectInputState( InputType , out DInputState );
		}