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
30 lines
579 B
C++
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
|