mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-01-05 08:30:24 +00:00
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).
10 lines
175 B
C++
10 lines
175 B
C++
#pragma once
|
|
|
|
|
|
namespace DIMouse
|
|
{
|
|
HRESULT DirectInputInit( HWND hDlg );
|
|
void DirectInputUninit( HWND hDlg );
|
|
HRESULT ReadImmediateData( long* pX=NULL, long* pY=NULL );
|
|
};
|