* kanged from sake as @3a8f1b3d8f07e9654d7c9633779d1f70a5a399a9 * gesture & high polling rate support were removed * use tama common sys path for touchscreen features Change-Id: Iff6d8ace406b9f466b272d3632b23b97d6a7fffe
29 lines
628 B
C++
29 lines
628 B
C++
/*
|
|
* Copyright (C) 2021 The LineageOS Project
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <vendor/lineage/touch/1.0/IGloveMode.h>
|
|
|
|
namespace vendor {
|
|
namespace lineage {
|
|
namespace touch {
|
|
namespace V1_0 {
|
|
namespace implementation {
|
|
|
|
using ::android::hardware::Return;
|
|
|
|
class GloveMode : public IGloveMode {
|
|
public:
|
|
// Methods from ::vendor::lineage::touch::V1_0::IGloveMode follow.
|
|
Return<bool> isEnabled() override;
|
|
Return<bool> setEnabled(bool enabled) override;
|
|
};
|
|
|
|
} // namespace implementation
|
|
} // namespace V1_0
|
|
} // namespace touch
|
|
} // namespace lineage
|
|
} // namespace vendor
|