diff options
author | Michael Wright <michaelwr@google.com> | 2014-09-05 15:21:32 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-09-05 17:59:01 -0700 |
commit | 581ec20bcfdd12740dd3870a86c753a61b2aaad4 (patch) | |
tree | e867409ea8cec7b8757dae8c1c6026f252f3264b | |
parent | 253c4720af3ac631ba04eb379aea91ecc3175cd3 (diff) | |
download | frameworks_native-581ec20bcfdd12740dd3870a86c753a61b2aaad4.zip frameworks_native-581ec20bcfdd12740dd3870a86c753a61b2aaad4.tar.gz frameworks_native-581ec20bcfdd12740dd3870a86c753a61b2aaad4.tar.bz2 |
Add FEATURE_GAMEPAD.
This allows micro-consoles or other devices to signify that there's a
game controller in the box, even if the user hasn't connected it.
Change-Id: I93cfba8bd1376aa5d1ec772a5b643b974eaa36c5
-rw-r--r-- | data/etc/android.hardware.gamepad.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/data/etc/android.hardware.gamepad.xml b/data/etc/android.hardware.gamepad.xml new file mode 100644 index 0000000..98d8d42 --- /dev/null +++ b/data/etc/android.hardware.gamepad.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 The Android Open Source 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. +--> + +<!-- This is the standard feature indicating that the device is a compatible gamepad or includes + one in the box. --> +<permissions> + <feature name="android.hardware.gamepad" /> +</permissions> + |