aboutsummaryrefslogtreecommitdiff
path: root/tools/EventClients/Clients
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2017-01-03 06:03:20 +0000
committerJosh Soref <jsoref@users.noreply.github.com>2017-01-03 06:03:20 +0000
commit4d55477bb4364576dac33d8905529ed0ef6618d7 (patch)
treeef5cd5b8a8ba50357ab0cf9bdd882be23b5fcf5d /tools/EventClients/Clients
parent4c792dbb0a2b7ceddc79790123ef4d2572ca0fa1 (diff)
spelling: methods
Diffstat (limited to 'tools/EventClients/Clients')
-rw-r--r--tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp6
-rw-r--r--tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp b/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp
index 3d232d26f8..a4efd8af65 100644
--- a/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp
+++ b/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp
@@ -163,7 +163,7 @@ void CWiiRemote::SetBluetoothAddress(const char *btaddr)
bacpy(&m_btaddr, &b);
}
-void CWiiRemote::SetSensativity(float DeadX, float DeadY, int NumSamples)
+void CWiiRemote::SetSensitivity(float DeadX, float DeadY, int NumSamples)
{
m_NumSamples = NumSamples;
@@ -742,8 +742,8 @@ int main(int argc, char **argv)
g_Ping = new CPacketHELO("WiiRemote", ICON_PNG, g_BluetoothIconPath.c_str());
g_WiiRemote.Initialize(my_addr, sockfd);
g_WiiRemote.SetBluetoothAddress(btaddr);
- g_WiiRemote.SetSensativity(DeadX, DeadY, NumSamples);
- g_WiiRemote.SetSensativity(DeadX, DeadY, NumSamples);
+ g_WiiRemote.SetSensitivity(DeadX, DeadY, NumSamples);
+ g_WiiRemote.SetSensitivity(DeadX, DeadY, NumSamples);
g_WiiRemote.SetJoystickMap(JoyMap);
if (g_AllowMouse)
g_WiiRemote.EnableMouseEmulation();
diff --git a/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h b/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h
index 3a60479ca1..5dd7333fd3 100644
--- a/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h
+++ b/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.h
@@ -90,7 +90,7 @@ public:
bool Connect();
void SetBluetoothAddress(const char * btaddr);
- void SetSensativity(float DeadX, float DeadY, int Samples);
+ void SetSensitivity(float DeadX, float DeadY, int Samples);
void SetJoystickMap(const char *JoyMap);
private:
int m_NumSamples;