aboutsummaryrefslogtreecommitdiff
path: root/src/deviceinfo-flashlight.c
Commit message (Collapse)AuthorAgeFilesLines
* flashlight: allow to get simple flashlight enable and disable values from ↵Bardia Moshiri2025-03-081-0/+12
| | | | | | | | | deviceinfo the value for enable/disable for simple sysfs might not always be 0 or 1. one example is the FLX1 phone. allow to override using deviceinfo and fallback to SIMPLE_ENABLE and SIMPLE_DISABLE if built without deviceinfo or no value is provided Signed-off-by: Bardia Moshiri <bardia@furilabs.com>
* src/deviceinfo-flashlight.c: Add copyright header.Mike Gabriel2023-08-241-0/+19
| | | | Fixes https://github.com/AyatanaIndicators/ayatana-indicator-power/issues/82
* src: add support for getting flashlight paths through deviceinfoMuhammad2023-06-051-0/+13
Signed-off-by: Muhammad <muhammad23012009@hotmail.com>