CBPS Forums

Console Hacking => PS Vita => Topic started by: skyl4nk on June 09, 2020, 12:59:20 AM

Title: [RELEASE] lvgl port
Post by: skyl4nk on June 09, 2020, 12:59:20 AM
lvgl-vita
yeah, it is a port of this lvgl for the psvita with touch support

(https://pbs.twimg.com/media/EZ_wAOtX0AQ9Uw1?format=jpg&name=900x900)

Example
main.c

Code: [Select]
#include <lv_vita.h>
#include <lv_examples.h>

int main(int argc, char *argv[]) {
  lv_vita_init();
  lv_demo_benchmark();
 
  while(1) {
    lv_vita_loop();
  }

  return 0;
}

CMakeLists.txt
Code: [Select]
add_subdirectory(vendor/lvgl)
target_link_libraries(${PROJECT_NAME} lvgl)

FAQ
>i don't know how to use
learn c and cmake


Source code: https://github.com/skyl5nk/lvgl-vita
My twitter: https://twitter.com/skyl4nk