nJoy: Forgot the header file
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1956 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1386ad69ff
commit
85a53457de
|
@ -54,7 +54,7 @@ static const char* DPadType[] =
|
|||
static const char* TriggerType[] =
|
||||
{
|
||||
"SDL", // -0x8000 to 0x7fff
|
||||
"XInput", // 0 to 0xff
|
||||
"XInput", // 0x00 to 0xff
|
||||
};
|
||||
////////////////////////
|
||||
|
||||
|
@ -406,7 +406,7 @@ void ConfigBox::UpdateGUI(int _notebookpage)
|
|||
// Controller type settings
|
||||
m_Controller[_notebookpage]->FindItem(IDC_DEADZONE)->Enable(Enabled);
|
||||
m_Controller[_notebookpage]->FindItem(IDC_CONTROLTYPE)->Enable(Enabled);
|
||||
m_Controller[_notebookpage]->FindItem(IDC_TRIGGERTYPE)->Enable(Enabled && AnalogTrigger && XInput);
|
||||
m_Controller[_notebookpage]->FindItem(IDC_TRIGGERTYPE)->Enable(Enabled && XInput);
|
||||
m_Controller[_notebookpage]->FindItem(IDCB_MAINSTICK_DIAGONAL)->Enable(Enabled);
|
||||
m_Controller[_notebookpage]->FindItem(IDCB_MAINSTICK_S_TO_C)->Enable(Enabled);
|
||||
#endif
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Includes
|
||||
|
@ -27,6 +28,7 @@
|
|||
//////////////////////////////
|
||||
|
||||
|
||||
|
||||
namespace XInput
|
||||
{
|
||||
|
||||
|
@ -38,4 +40,6 @@ int GetXI(int Controller, int Button);
|
|||
bool IsConnected(int Controller);
|
||||
//////////////////////////////
|
||||
|
||||
} // XInput
|
||||
} // XInput
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue