About Lua language acquisition of SDL touch screen gesture

Recently, I transplanted koreader to my embedded tablet computer. I found that SDL + Lua was used to develop the software. From the perspective of application scenarios, it only supports mouse events, not touch screen events. I want to learn more about it. Thank you!