android_device_sony_tama-co.../touch/GloveMode.h
linckandrea b91f7aae2b tama-common: introduce touchHAL to manage glove mode
* kanged from sake as @3a8f1b3d8f07e9654d7c9633779d1f70a5a399a9
  * gesture & high polling rate support were removed
  * use tama common sys path for touchscreen features

Change-Id: Iff6d8ace406b9f466b272d3632b23b97d6a7fffe
2025-02-14 22:05:04 +01:00

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