Object has no attribute 'indev_get_point'

ILI9341 and xpt2046 work fine.
But my old touch position no longer works.

	p = lv.point_t()
	lv.indev_get_point(lv.indev_get_next(None), p)
	print("x=%d, y=%d" % (p.x, p.y))

get this error
AttributeError: ‘module’ object has no attribute ‘indev_get_point’

Either of these should work.

p = lv.point_t()


p = lv.point_t()
lv.indev_t.get_point(lv.indev_t.get_next(None), p)

If you are trying to read indev in an event handler then LVGL tracks the active indev and you can get it with lv.indev_get_act().
See this example.

This yields:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: argument should be a 'lv_indev_t' not a 'NoneType'

because Python expects lv_indev_t argument and not None.
But instead, you can do this:

p = lv.point_t()
indev = lv.indev_t(None).get_next()

This actually required a small bugfix, so please take latest version first and update submodules.

Strange. It works for me on the simulator.

Continuing the discussion on GitHub: