NewGCPad: Sliders should be functional on DirectInput, also Axes renamed. XInput devices won't have their limited DirectInput counterparts listed. Minor cleanup, warning removal.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5260 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak
2010-04-01 04:33:07 +00:00
parent 4e1719e98b
commit c3df2e93d7
11 changed files with 195 additions and 71 deletions

View File

@ -18,12 +18,12 @@ std::string TrimChars( const std::string& str, const S space )
}
//
// IniSection :: SetValue
// IniSection :: Set
//
// set key's value if it doesn't match the default
// otherwise remove the key from the section if it exists
//
void IniSection::SetValue( const std::string& key, const std::string& val, const std::string& def )
void IniSection::Set( const std::string& key, const std::string& val, const std::string& def )
{
if ( val != def )
operator[](key) = val;
@ -36,12 +36,12 @@ void IniSection::SetValue( const std::string& key, const std::string& val, const
}
//
// IniSection :: GetValue
// IniSection :: Get
//
// return a key's value if it exists
// otherwise return the default
//
std::string IniSection::GetValue( const std::string& key, const std::string& def )
std::string IniSection::Get( const std::string& key, const std::string& def )
{
const const_iterator f = find(key);
if ( f != end() )