Files
hoaysly c8b2af03c9 cheeseburger: Refactor touch HAL to AIDL
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Co-authored-by: Edwin Moquete <edwinmmoquete@gmail.com>
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I10545e3f16475973135105f94c5821f96adfd369
2025-07-16 20:22:53 +00:00

30 lines
579 B
C++

/*
* SPDX-FileCopyrightText: 2019-2025 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <aidl/vendor/lineage/touch/BnKeySwapper.h>
namespace aidl {
namespace vendor {
namespace lineage {
namespace touch {
class KeySwapper : public BnKeySwapper {
public:
KeySwapper();
ndk::ScopedAStatus getEnabled(bool* _aidl_return) override;
ndk::ScopedAStatus setEnabled(bool enabled) override;
private:
const bool has_key_swapper_;
};
} // namespace touch
} // namespace lineage
} // namespace vendor
} // namespace aidl