<filename>libs/input/src/input/mouse/info.cpp
//          Copyright <NAME> 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
//    (See accompanying file LICENSE_1_0.txt or copy at
//          http://www.boost.org/LICENSE_1_0.txt)

#include <sge/input/info/name.hpp>
#include <sge/input/mouse/axis_info_container.hpp>
#include <sge/input/mouse/button_info_container.hpp>
#include <sge/input/mouse/info.hpp>
#include <fcppt/config/external_begin.hpp>
#include <utility>
#include <fcppt/config/external_end.hpp>

sge::input::mouse::info::info(
    sge::input::mouse::axis_info_container &&_axes,
    sge::input::mouse::button_info_container &&_buttons,
    sge::input::info::name &&_name)
    : axes_(std::move(_axes)), buttons_(std::move(_buttons)), name_(std::move(_name))
{
}

sge::input::mouse::axis_info_container const &sge::input::mouse::info::axes() const
{
  return axes_;
}

sge::input::mouse::button_info_container const &sge::input::mouse::info::buttons() const
{
  return buttons_;
}

sge::input::info::name const &sge::input::mouse::info::name() const { return name_; }
