chore(tests_indev): Add comments to encoder helper
@@ -23,15 +23,22 @@ void lv_test_key_press(uint32_t k);
void lv_test_key_release(void);
void lv_test_key_hit(uint32_t k);
-
+/* encoder read callback */
void lv_test_encoder_read_cb(lv_indev_drv_t * drv, lv_indev_data_t * data) ;
+/* Simulate encoder rotation, use positive parameter to rotate to the right
+ * and negative to rotate to the left */
void lv_test_encoder_add_diff(int32_t d);
+/* Same as lv_test_encoder_add_diff but with additional delay */
void lv_test_encoder_turn(int32_t d);
+/* Set encoder to pressed */
void lv_test_encoder_press(void);
+/* Set encoder to released */
void lv_test_encoder_release(void);
+/* Simulate release+press+release (including delays) */
void lv_test_encoder_click(void);
+/* Simulate delay */
void lv_test_indev_wait(uint32_t ms);
extern lv_indev_t * lv_test_mouse_indev;
