Best way to add a new screen support?

Hi,
I hope to custom a new touch screen support.
This screen only need connected via UART port.
What is the best way to add this?
I traced the display code , seems like there are high level interface in DisplayList.h.
All I need to do is add a new FEATURE_CONTROLLER type and implement the macros like UI_INITIALIZED , UI_ACTION....etc.

Is this right?

Comments

  • If you stick to the character based menu then this is all you need.

    If you make your own menu structure to make it compatible with touchscreen (current version is for encode/click control) you need a complete new logic and it might be easier to have your own display function what just calls the proper firmware functions on touch events. You could still use the basic hooks I think e.g. UI_SLOW/... macros to insert your driver instead of ui driver.
Sign In or Register to comment.