mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-11-05 09:20:08 +01:00
Add variable name for touchscreen touches (#2785)
This commit is contained in:
parent
bc65c0cc8e
commit
5cd9720f4b
@ -38,7 +38,7 @@ Configuration variables:
|
||||
|
||||
This automation will be triggered when the touchscreen detects a touch.
|
||||
|
||||
This trigger provides one arguments of type :apistruct:`touchscreen::TouchPoint` which has two integer members: ``x`` and ``y`` which
|
||||
This trigger provides one argument named ``touch`` of type :apistruct:`touchscreen::TouchPoint` which has two integer members: ``x`` and ``y`` which
|
||||
represent the position of the touch in relation to the display width and height. It also has optional members that will be set
|
||||
depending on the touchscreen platform.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user