跳转到内容

SDL2 触摸屏模拟器

sdl 触摸屏平台允许通过使用 sdl 显示驱动程序的鼠标来模拟触摸屏。 必须配置 sdl 显示组件才能使用此功能。

# Example configuration entry
touchscreen:
platform: sdl
  • id (可选, ID): 手动设置此触摸屏的 ID。

  • 还包括 Touchscreen 的所有其他选项。