Skip to content

feat: add Raspberry Pi touchscreen sleep and double-tap wake - #311

Merged
jewbetcha merged 2 commits into
open-flight:mainfrom
Reillybags:feat/touchscreen-sleep
Oct 27, 2026
Merged

jewbetcha merged 2 commits into
open-flight:mainfrom
Reillybags:feat/touchscreen-sleep

Conversation

@Reillybags

@Reillybags Reillybags commented Oct 23, 2026 •

Copy link
Copy Markdown

Summary

Adds touchscreen sleep and double-tap wake support for Raspberry Pi displays running OpenFlight.

Why was this required?

OpenFlight previously had no convenient way to switch off the Raspberry Pi touchscreen while keeping the launch monitor running.

This feature allows the display backlight to switch off without stopping OpenFlight, the radar or camera. A separate service detects a double tap to wake the screen.

Automated tests

  • 347 Python tests passed, 1 skipped.
  • Three new tests cover successful screen sleep, a missing backlight device and a permission error.
  • UI production build passed.
  • Python linting passed.

Manual (human) testing

Tested on a Raspberry Pi with a Goodix Capacitive TouchScreen.

  • Sleep Screen successfully switches off the display backlight.
  • OpenFlight continues running while the display is asleep.
  • Double tapping wakes the display.
  • Shots recorded while the display is asleep appear after waking.

Screenshot of the Sleep Screen option:

image

Configuration

Includes configurable backlight and touchscreen settings, installation instructions and a systemd wake-service template.

Other touchscreen models have not yet been tested. The wake service requires access to input devices and the backlight.

@jewbetcha
jewbetcha merged commit 2412252 into open-flight:main Oct 27, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants