Skip to content
Get started

SDL2 Touch Screen Emulator

The sdl touchscreen platform allows emulating a touch screen by using the mouse with the sdl display driver. The sdl display component must be configured to use this, and it must have a window - a display with headless set receives no mouse events.

# Example configuration entry
touchscreen:
platform: sdl
  • id (Optional, ID): Manually set the ID of this touchscreen.

  • All other options from Touchscreen.