Configurable buttons/5-way switch with LvGL?

Can anyone help me understand how to use the Wio Terminal’s hardware buttons with LvGL? I’ve been able to get the lv_btnmatrix demo to display and I’m trying to configure the hardware buttons as an LV_INDEV_TYPE_KEYPAD input device. I can register the device associate it to a group, and add the button matrix object to the group, but I can’t seem to figure out how the event handler is supposed to work, or even get it to just register a keypress by writing to the Serial output… An example beyond just the benchmark/stress test demo would help a lot…

Thanks!

@ansonhe97 Please help check it