nathanRamaNoodles / backlight_dimmer

Control the backlight on the official RPF display based on a touch event.
2 stars 2 forks source link

backlight_dimmer with touchscreen via hdmi + usb ports possible ? #2

Open Qlink84 opened 4 years ago

Qlink84 commented 4 years ago

two questions i hope you can answer:

1st: will your modified backlight_dimmer program work also with a touchscreen hooked up via hdmi (picture) + usb (touch input) ? 2nd: do you know if it's possible to combine your modified backlight_dimmer program with the pi camera motion detection described here: https://www.youtube.com/watch?v=PGxpndmnYyY (= wake on motion)

i'm planning to use your script for another pi hooked up to big touchscreen (hdmi + usb) and want to use the pi camera for motion detection. if a motion is detected the screen should wake up and go to sleep after a defined time ...

nathanRamaNoodles commented 4 years ago

will your modified backlight_dimmer program work also with a touchscreen hooked up via hdmi (picture) + usb (touch input) ?

I don't know about my program because it was meant for built-in displays. Tbh, using DDC((Display Data Channel) is better for VGA, HDMI, analog, etc...

Though, I just looked at DDC today.

do you know if it's possible to combine your modified backlight_dimmer program with the pi camera motion detection described here

That's easy, you can simply copy my increase_brightness(bool increase, bool ignore) into your own c program, and then execute that with custom parameter in python's subprocess module.

Qlink84 commented 4 years ago

do i understand you correctly: if i hook up a touchscreen through hdmi and the touchscreen supports DDC backlight_dimmer would work ?

regarding motion detection: easy for you ... impossible for me because of missing linux/programming knowledge... i'm afraid i would need a step by step guide how i can get that working ...