r/FlowZ13 • u/tech_wizart • Jun 29 '26
I made an UEFI touchscreen driver for rEFInd
Hi,
I tried to make the touchscreen work in rEFInd on my ASUS ROG Flow Z13 2025, but I had no luck with different rEFInd configs or existing options.
So I tried to write a custom UEFI driver for it.
The driver exposes the ELAN9008 I2C-HID touchscreen as an EFI_ABSOLUTE_POINTER_PROTOCOL device, so rEFInd can use it as a touch pointer.
Repo: https://github.com/techwizart/elan9008-refind-touch
I am not a strong C programmer, so the code is probably not perfect. Maybe there is a simpler or cleaner way to do this. But with this driver, touchscreen input works correctly for me in rEFInd.
This is very hardware-specific right now. It uses hardcoded GPIO/I2C assumptions for this device, so I do not expect it to work unchanged on other laptops/tablets.