Skip to content
Commit 9339882f authored by Martin Kiepfer's avatar Martin Kiepfer Committed by Fabio Baltieri
Browse files

samples: lvgl: Extend hello world sample button functionality



This commit adds a callback to the button to reset the counter when the
button is pressed. The button is automatically created when lvgl
pointer or kscan support is enabled. The same reset functionality was
already available for possible gpio button.

Please make sure to define a zephyr input device in device
tree (e.g. "zephyr,lvgl-pointer-input").

Signed-off-by: default avatarMartin Kiepfer <m.kiepfer@teleschirm.org>
parent 31cd3b1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment