blob: a307a429b769b1f3002104a753246b01d38acec3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright 2024 jacqueline <me@jacqueline.id.au>
*
* SPDX-License-Identifier: GPL-3.0-only
*/
#pragma once
#include <cstdint>
#include "feedback_device.hpp"
#include "haptics.hpp"
namespace input {
class Haptics : public IFeedbackDevice {
public:
Haptics(drivers::Haptics& haptics_);
auto feedback(uint8_t event_type) -> void override;
private:
drivers::Haptics& haptics_;
};
} // namespace input
|