Skip to content

Commit

Permalink
honami: fix OmniTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
Androguide committed Feb 9, 2014
1 parent af9b7da commit fb45129
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions overlay/packages/apps/OmniTorch/res/values/config.xml
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 The OmniROM Project
parts by Copyright 2013, The CyanogenMod Project
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- If there is no sysfs-based control mechanism, enable this -->
<bool name="useCameraInterface">false</bool>

<!-- Full path to the sysfs toggle -->
<string name="flashDevice">/sys/class/misc/pm8941-flash/device/mode</string>
<!-- Full path to the sysfs luminosity -->
<string name="flashDeviceLuminosity">/sys/class/misc/pm8941-flash/device/current1</string>

<!-- Off setting -->
<integer name="valueOff">0</integer>
<!-- On setting -->
<integer name="valueOn">2</integer>

<!-- Low setting -->
<integer name="valueLow">2</integer>
<!-- Middle setting -->
<integer name="valueHigh">4</integer>
</resources>

0 comments on commit fb45129

Please sign in to comment.