summaryrefslogtreecommitdiffstats
path: root/overlay/packages/apps/Torch/res/values/config.xml
blob: 98c882b43c32cad7f385c93972d672895db8756e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 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
     version 3 as published by the Free Software Foundation.

     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, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
     MA  02110-1301, USA.
-->

<!-- 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/camera/flash/rear_flash</string>
    <!-- Full path to the sysfs luminosity -->
    <string name="flashDeviceLuminosity">/sys/class/camera/flash/rear_flash</string>
    <!-- Full path to the 2nd sysfs luminosity, leave empty if doesn't exist -->
    <string name="flashDeviceLuminosity2"></string>

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

    <!-- Low setting -->
    <integer name="valueLow">32</integer>
    <!-- Middle setting -->
    <integer name="valueHigh">128</integer>
    <!-- Highest setting, leave -1 if it doesn't exist -->
    <integer name="valueDeathRay">-1</integer>

    <!-- If the device supports high brightness mode, enable this -->
    <bool name="hasHighBrightness">false</bool>
</resources>