From ef6391678e69b49a09f406e1e71dcaf2aa225c57 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 6 Oct 2014 22:21:11 +0200 Subject: [PATCH] Added (empty) implementation of JoystickImpl::getIdentification on iOS --- src/SFML/Window/iOS/JoystickImpl.hpp | 8 ++++++++ src/SFML/Window/iOS/JoystickImpl.mm | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/SFML/Window/iOS/JoystickImpl.hpp b/src/SFML/Window/iOS/JoystickImpl.hpp index 46a7b9e50..a0890c816 100644 --- a/src/SFML/Window/iOS/JoystickImpl.hpp +++ b/src/SFML/Window/iOS/JoystickImpl.hpp @@ -89,6 +89,14 @@ public: //////////////////////////////////////////////////////////// JoystickCaps getCapabilities() const; + //////////////////////////////////////////////////////////// + /// \brief Get the joystick identification + /// + /// \return Joystick identification + /// + //////////////////////////////////////////////////////////// + Joystick::Identification getIdentification() const; + //////////////////////////////////////////////////////////// /// \brief Update the joystick and get its new state /// diff --git a/src/SFML/Window/iOS/JoystickImpl.mm b/src/SFML/Window/iOS/JoystickImpl.mm index ae6db7a15..9fc45e90f 100644 --- a/src/SFML/Window/iOS/JoystickImpl.mm +++ b/src/SFML/Window/iOS/JoystickImpl.mm @@ -77,6 +77,14 @@ JoystickCaps JoystickImpl::getCapabilities() const } +//////////////////////////////////////////////////////////// +Joystick::Identification JoystickImpl::getIdentification() const +{ + // Not implemented + return Joystick::Identification(); +} + + //////////////////////////////////////////////////////////// JoystickState JoystickImpl::update() {