8cc04e2b86
Split MouseInterface to isolate DirectInput code. Avoid overflow in platforms where RAND_MAX is a big integer constant. Fix include files for gcc (where enums cannot be forward declared).
9 lines
175 B
C++
9 lines
175 B
C++
#pragma once
|
|
|
|
|
|
namespace DIMouse
|
|
{
|
|
HRESULT DirectInputInit( HWND hDlg );
|
|
void DirectInputUninit( HWND hDlg );
|
|
HRESULT ReadImmediateData( long* pX=NULL, long* pY=NULL );
|
|
};
|