Configure mouse_init for linux_port

Description

Hello,
I am trying to configure the mouse using the lv_port_indev_template.c file. However I do not know how to populate the mouse_init() function. Any and all help appreciated

What MCU/Processor/Board and compiler are you using?

Ubuntu 22.04 VM

What LVGL version are you using?

Version 9

What do you want to achieve?

Receive mouse inputs on demo.

What have you tried so far?

Many old forum posts. The libraries seem to have changed drastically since many of these posts were made. I have tried using evdev but cannot get that to function properly either.

Code to reproduce

static void mouse_init(void)
{
/*your code comes here*/
}

Screenshot and/or video

Screenshot 2024-01-16 170152