Cumulative changes required to enable / ease compilation in Linux with gcc. (PR #861)

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).
This commit is contained in:
Andrea
2020-11-10 20:33:55 +00:00
committed by GitHub
parent 3d8acbbc83
commit 8cc04e2b86
18 changed files with 317 additions and 239 deletions
-7
View File
@@ -107,10 +107,3 @@ protected:
SyncEvent m_syncEvent;
};
namespace DIMouse
{
HRESULT DirectInputInit( HWND hDlg );
void DirectInputUninit( HWND hDlg );
HRESULT ReadImmediateData( long* pX=NULL, long* pY=NULL );
};