From c584ddeea6276c50912d0e11c3a26e3c602d62e7 Mon Sep 17 00:00:00 2001 From: CheezeCake Date: Sat, 29 Mar 2014 21:21:31 +0100 Subject: [PATCH] Fix typos and missing Joystick:: --- src/SFML/Window/FreeBSD/JoystickImpl.cpp | 2 +- src/SFML/Window/FreeBSD/JoystickImpl.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SFML/Window/FreeBSD/JoystickImpl.cpp b/src/SFML/Window/FreeBSD/JoystickImpl.cpp index fe9e96ce1..f6638d471 100644 --- a/src/SFML/Window/FreeBSD/JoystickImpl.cpp +++ b/src/SFML/Window/FreeBSD/JoystickImpl.cpp @@ -320,7 +320,7 @@ JoystickCaps JoystickImpl::getCapabilities() const //////////////////////////////////////////////////////////// -Identifcation JoystickImpl::getIdentification() const +Joystick::Identification JoystickImpl::getIdentification() const { return m_identification; } diff --git a/src/SFML/Window/FreeBSD/JoystickImpl.hpp b/src/SFML/Window/FreeBSD/JoystickImpl.hpp index d23d5f7c0..e00f16109 100644 --- a/src/SFML/Window/FreeBSD/JoystickImpl.hpp +++ b/src/SFML/Window/FreeBSD/JoystickImpl.hpp @@ -97,7 +97,7 @@ public : /// \return Joystick identification /// //////////////////////////////////////////////////////////// - Identification getIdentification() const; + Joystick::Identification getIdentification() const; //////////////////////////////////////////////////////////// /// \brief Update the joystick and get its new state @@ -119,7 +119,7 @@ private : void *m_buffer; ///< USB HID buffer int m_length; ///< Buffer length - Identification m_identificaion; ///< Joystick identification + Joystick::Identification m_identification; ///< Joystick identification JoystickState m_state; ///< Current state of the joystick };