AxibugEmuOnline/References/virtuanessrc097-master/JoyAxisDlg.h
2024-08-05 17:58:53 +08:00

45 lines
1.6 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// ジョイスティック軸設定ダイアログクラス
//
#ifndef __CJOYAXISDLG_INCLUDED__
#define __CJOYAXISDLG_INCLUDED__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <string>
using namespace std;
#include "Wnd.h"
#include "Config.h"
class CJoyAxisDlg : public CWnd
{
public:
// Override from CWnd
INT DoModal( HWND hWndParent );
protected:
void OnJoySettingSetup( INT nID );
// Message map
DLG_MESSAGE_MAP()
DLGMSG OnInitDialog( DLGMSGPARAM );
DLGMSG OnTimer( DLGMSGPARAM );
DLGNOTIFY OnCheckChange( DLGCMDPARAM );
DLGNOTIFY OnSelectChange( DLGCMDPARAM );
DLGCMD OnOK( DLGCMDPARAM );
DLGCMD OnCancel( DLGCMDPARAM );
DLGCMD OnDefault( DLGCMDPARAM );
//
INT m_JoySel;
INT m_TimerID;
WORD m_JoyAxisSetting[16];
private:
};
#endif // !__CJOYAXISDLG_INCLUDED__