lvgl / lv_binding_micropython

LVGL binding for MicroPython
MIT License
250 stars 161 forks source link

Replace non-working indev example by a simpler working one. #139

Closed ropg closed 3 years ago

ropg commented 3 years ago

The example at driver/generic/lvindev_example.py does not work. It uses a python module that is not registered by default to do things that do not work with the present lvgl python module. This sends people the wrong way, also because the present way of doing things is not properly documented to my knowledge. I deleted the example and replaced it by the bare minimum for a working driver.

Please feel free to modify if you feel things need to be done differently, I am new to this codebase.

See this forum post for further details.

amirgon commented 3 years ago

Hi @ropg ! Thank you for this contribution!

Here is another example of pure python indev driver: https://github.com/lvgl/lv_binding_micropython/blob/master/driver/linux/evdev.py

ropg commented 3 years ago

OK, all fixed, ready to be merged, I think.