mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 18:07:35 +00:00
31 lines
675 B
C
31 lines
675 B
C
|
|
/*
|
||
|
|
* Copyright (C) 2022 The LineageOS Project
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <vendor/lineage/touch/1.0/IHighTouchPollingRate.h>
|
||
|
|
|
||
|
|
namespace vendor {
|
||
|
|
namespace lineage {
|
||
|
|
namespace touch {
|
||
|
|
namespace V1_0 {
|
||
|
|
namespace implementation {
|
||
|
|
|
||
|
|
using ::android::hardware::Return;
|
||
|
|
|
||
|
|
class HighTouchPollingRate : public IHighTouchPollingRate {
|
||
|
|
public:
|
||
|
|
// Methods from ::vendor::lineage::touch::V1_0::IHighTouchPollingRate follow.
|
||
|
|
Return<bool> isEnabled() override;
|
||
|
|
Return<bool> setEnabled(bool enabled) override;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace implementation
|
||
|
|
} // namespace V1_0
|
||
|
|
} // namespace touch
|
||
|
|
} // namespace lineage
|
||
|
|
} // namespace vendor
|