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
This commit is contained in:
parent
253c4720af
commit
581ec20bcf
22
data/etc/android.hardware.gamepad.xml
Normal file
22
data/etc/android.hardware.gamepad.xml
Normal file
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user