You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
422 B
27 lines
422 B
1 year ago
|
/*
|
||
|
* 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
|