// SPDX-FileCopyrightText: 2009 Ingo Ruhnke // SPDX-License-Identifier: GPL-3.0-or-later #ifndef HEADER_JSTEST_GTK_JOYSTICK_DESCRIPTION_HPP #define HEADER_JSTEST_GTK_JOYSTICK_DESCRIPTION_HPP #include class JoystickDescription { private: public: std::string filename; std::string name; std::string js_id; std::string vendor_id; std::string product_id; std::string usb_id; int axis_count; int button_count; JoystickDescription(const std::string& filename_, const std::string& name_, const std::string& js_id_, const std::string& vendor_id_, const std::string& product_id_, const std::string& usb_id_, int axis_count_, int button_count_) : filename(filename_), name(name_), js_id(js_id_), vendor_id(vendor_id_), product_id(product_id_), usb_id(usb_id_), axis_count(axis_count_), button_count(button_count_) {} }; #endif /* EOF */