aboutsummaryrefslogtreecommitdiff
path: root/src/device.h
diff options
context:
space:
mode:
authorJami Kettunen <jami.kettunen@protonmail.com>2020-10-16 23:54:54 +0300
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-28 10:17:14 +0200
commit333a4273eb26ffc47b29f3ea8ce3213d36803894 (patch)
tree0600bf19950287ed5ce1f66978fdfcf265ceadc7 /src/device.h
parent948a5107c479a72a2940316674fae6a3b55534ff (diff)
downloadayatana-indicator-power-333a4273eb26ffc47b29f3ea8ce3213d36803894.tar.gz
ayatana-indicator-power-333a4273eb26ffc47b29f3ea8ce3213d36803894.tar.bz2
ayatana-indicator-power-333a4273eb26ffc47b29f3ea8ce3213d36803894.zip
flashlight: Add support for simpler sysfs toggles (#34)
Unlike the overcomplicated Qualcomm mess, there are also simpler sysfs toggles which you can just write 1/0 to when enabling/disabling the flash. This is used by the MediaTek flashlight_core driver on the Volla Phone (Helio P23 / MT6763) for example, which this also adds support for. Pinephone also uses a simple sysfs toggle for flashlight.
Diffstat (limited to 'src/device.h')
0 files changed, 0 insertions, 0 deletions