JoystickSpecificSettings.hpp
1 #pragma once
2 
3 #include "JoystickDevice.hpp"
4 
5 #include <verdigris>
6 
7 namespace Protocols
8 {
9 
11 {
12  score::uuid_t id{};
13 
14  // device id, device index
15  static const constexpr std::pair<int32_t, int32_t> unassigned{-1, -1};
16  std::pair<int32_t, int32_t> spec{unassigned};
17 
18  bool gamepad{};
19 };
20 }
21 
22 Q_DECLARE_METATYPE(Protocols::JoystickSpecificSettings)
23 W_REGISTER_ARGTYPE(Protocols::JoystickSpecificSettings)
Definition: JoystickSpecificSettings.hpp:11
Definition: UuidKey.hpp:24