mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Some more Work done with Microphone, added a Semi-decent way of checking for Mic Button
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@888 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -459,6 +459,10 @@ void X11_Read(int _numPAD, SPADStatus* _pPADStatus)
|
||||
}
|
||||
|
||||
if (KeyStatus[CTL_START]){_pPADStatus->button |= PAD_BUTTON_START;}
|
||||
if (KeyStatus[CTL_MIC])
|
||||
_pPADStatus->MicButton = true;
|
||||
else
|
||||
_pPADStatus->MicButton = false;
|
||||
}
|
||||
|
||||
|
||||
@ -630,7 +634,8 @@ void LoadConfig()
|
||||
XK_g,
|
||||
XK_f,
|
||||
XK_h,
|
||||
XK_Shift_L //halfpress
|
||||
XK_Shift_L, //halfpress
|
||||
XK_p
|
||||
};
|
||||
#endif
|
||||
IniFile file;
|
||||
|
@ -42,6 +42,7 @@ enum
|
||||
CTL_DPADLEFT,
|
||||
CTL_DPADRIGHT,
|
||||
CTL_HALFPRESS,
|
||||
CTL_MIC,
|
||||
NUMCONTROLS
|
||||
};
|
||||
|
||||
@ -69,6 +70,7 @@ static const char* controlNames[] =
|
||||
"D-Pad_left",
|
||||
"D-Pad_right",
|
||||
"half_press_toggle",
|
||||
"Mic-button",
|
||||
};
|
||||
|
||||
struct SPads {
|
||||
|
Reference in New Issue
Block a user