diff options
| author | Arian <arian.kulmer@web.de> | 2021-01-03 20:04:32 +0100 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2021-01-07 18:26:07 +0100 |
| commit | ba7d528fcfedabe93bef115e8933664ed6a77837 (patch) | |
| tree | ca531bef5297ea3122857dc2f02b0c0c885a5e45 | |
| parent | 4f96e3f4039460f3aa4f80dc888ab9d6f101e8f3 (diff) | |
touch: Add keys swap interface
Change-Id: Iaff504e5a7e6eea5045d3ed8723ed7af9d4c8398
| -rw-r--r-- | touch/1.0/Android.bp | 1 | ||||
| -rw-r--r-- | touch/1.0/IKeySwapper.hal | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/touch/1.0/Android.bp b/touch/1.0/Android.bp index 1824e17..38dc594 100644 --- a/touch/1.0/Android.bp +++ b/touch/1.0/Android.bp @@ -8,6 +8,7 @@ hidl_interface { "types.hal", "IGloveMode.hal", "IKeyDisabler.hal", + "IKeySwapper.hal", "IStylusMode.hal", "ITouchscreenGesture.hal", ], diff --git a/touch/1.0/IKeySwapper.hal b/touch/1.0/IKeySwapper.hal new file mode 100644 index 0000000..0b3c6c3 --- /dev/null +++ b/touch/1.0/IKeySwapper.hal @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2021 The LineageOS Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package vendor.lineage.touch@1.0; + +interface IKeySwapper { + isEnabled() generates (bool rc); + setEnabled(bool enabled) generates (bool rc); +}; |
