mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-21 11:37:14 +01:00
A few changes to the GCPadNew needed to compile in linux, and put GCPadNew back into the linux build. Also changed file properties to eol-style native.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5268 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9e1d956e98
commit
2742be1c2e
@ -77,16 +77,12 @@ dirs = [
|
||||
'Source/Plugins/Plugin_DSP_HLE/Src',
|
||||
'Source/Plugins/Plugin_DSP_LLE/Src',
|
||||
'Source/Plugins/Plugin_GCPad/Src',
|
||||
'Source/Plugins/Plugin_GCPadNew/Src',
|
||||
'Source/Plugins/Plugin_Wiimote/Src',
|
||||
'Source/Core/DolphinWX/Src',
|
||||
'Source/Core/DebuggerWX/Src',
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
dirs += [
|
||||
'Source/Plugins/Plugin_GCPadNew/Src'
|
||||
]
|
||||
|
||||
builders = {}
|
||||
if sys.platform == 'darwin':
|
||||
from plistlib import writePlist
|
||||
|
@ -113,10 +113,12 @@ void ControlChooser::UpdateGUI()
|
||||
|
||||
// make sure it's a valid device
|
||||
if ( control_reference->device )
|
||||
{
|
||||
if ( control_reference->is_input )
|
||||
{
|
||||
// for inputs
|
||||
std::vector<ControllerInterface::Device::Input*>::const_iterator i = control_reference->device->Inputs().begin(),
|
||||
std::vector<ControllerInterface::Device::Input*>::const_iterator
|
||||
i = control_reference->device->Inputs().begin(),
|
||||
e = control_reference->device->Inputs().end();
|
||||
for ( ; i!=e; ++i )
|
||||
control_lbox->Append( wxString::FromAscii( (*i)->GetName().c_str() ) );
|
||||
@ -124,11 +126,13 @@ void ControlChooser::UpdateGUI()
|
||||
else
|
||||
{
|
||||
// for outputs
|
||||
std::vector<ControllerInterface::Device::Output*>::const_iterator i = control_reference->device->Outputs().begin(),
|
||||
std::vector<ControllerInterface::Device::Output*>::const_iterator
|
||||
i = control_reference->device->Outputs().begin(),
|
||||
e = control_reference->device->Outputs().end();
|
||||
for ( ; i!=e; ++i )
|
||||
control_lbox->Append( wxString::FromAscii( (*i)->GetName().c_str() ) );
|
||||
}
|
||||
}
|
||||
|
||||
// logic not 100% right here for a poorly formated qualifier
|
||||
// but its just for selecting crap in the listbox
|
||||
|
@ -10,6 +10,11 @@
|
||||
#endif
|
||||
#include "Config.h"
|
||||
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
#include <X11/Xlib.h>
|
||||
Display* GCdisplay;
|
||||
#endif
|
||||
|
||||
#define CIFACE_PLUGIN_VERSION 0x0100
|
||||
|
||||
#define CIFACE_PLUGIN_BRANDING /*"Billiard's"//*/"Dolphin"
|
||||
|
Loading…
x
Reference in New Issue
Block a user