Skip to content

Latest commit

 

History

History
32 lines (30 loc) · 1.37 KB

File metadata and controls

32 lines (30 loc) · 1.37 KB

How to use the example

Wake Server First

cargo run

Compile the example with libraries

gcc -g flipperzero_menu.c draw.c client.c -o client -lwsock32 -lWs2_32
gcc -g main.c draw.c client.c ./egg_ui_ex/aff_mat.c -o client -lwsock32 -lWs2_32

Run

client.exe

Example Result

example

Tips

press 'up' or 'down' in the cmd of the client to controll instead of entity button pressing

Features

  • Efficient bitmap rendering engine written in Rust.
  • Robust backend interface in C, similar to U8g2 and other libraries, but with greater scalability.
  • Generic protocol between client and server using sockets, which is easy to implement.
  • Extremely easy to port. Please take a look at the example. The original implementation was found randomly on GitHub (just search 'oled menu') to test the portability of this project. It seems quite efficient—took me only about 10 minutes to port and run successfully!(You could see the process because I haven't deleted the original one but turned them into comments)

TODO

  • Add more interfaces to support real world using (Keep going...)
  • High pixel performance testing and optimizations (50%)
  • Linux version
  • Generic UI framework (20%)