1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

[sdl] Implement binary sensors from keystrokes (#8207)

Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
This commit is contained in:
bdm310
2025-02-05 02:53:23 -08:00
committed by GitHub
parent 57739b8bb0
commit e337bd7beb
5 changed files with 307 additions and 1 deletions

View File

@@ -10,3 +10,14 @@ display:
dimensions:
width: 450
height: 600
binary_sensor:
- platform: sdl
id: key_up
key: SDLK_a
- platform: sdl
id: key_down
key: SDLK_d
- platform: sdl
id: key_enter
key: SDLK_s