Michael Smith fbd32d7fb8 Fix screen wake for d-pad, grab inputs while screen off, auto-shutdown on idle
- Broaden wake events beyond EV_KEY so d-pad (EV_ABS) wakes the screen
- Use EVIOCGRAB for exclusive input while screen is off, preventing the
  wake button press from also acting in sdlamp2
- Auto-shutdown after 10 minutes of no input and no audio playback,
  detected by monitoring the audio file's read position via /proc fdinfo

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 22:47:47 +01:00
2026-02-13 11:54:36 +01:00
Description
Own version of Ryan C. Gordon's sdlamp (https://www.youtube.com/watch?v=6hIaEHzlmFc)
743 KiB
Languages
C 83%
Python 10.8%
Shell 4.7%
Makefile 1.2%
Dockerfile 0.3%