Horizon
Loading...
Searching...
No Matches
input_devices_prefs.hpp
1#pragma once
2#include <map>
3#include <string>
4
5namespace horizon {
7public:
8 class Device {
9 public:
10 enum class Type { AUTO, TOUCHPAD, TRACKPOINT, MOUSE };
11
12 Type type = Type::AUTO;
13 };
14 std::map<std::string, Device> devices;
15
16 class DeviceType {
17 public:
18 bool invert_zoom = false;
19 bool invert_pan = false;
20 };
21 std::map<Device::Type, DeviceType> device_types;
22};
23} // namespace horizon
Definition input_devices_prefs.hpp:16
Definition input_devices_prefs.hpp:8
Definition input_devices_prefs.hpp:6