Hi @Jimmychea,
I hope you are doing well.
Sorry for not getting back to you sooner.
Yes, it is possible.
As mentioned in the
README file, the libgpiod package also uses the IOCTL within it.
Implementing the IOCTL command for the custom application is also possible. For that one needs to make changes inside the driver to constantly monitor the interrupt on a pin.
and the IOCTL should be answered upon the interrupt.
Thanks & Regards,
Dhruvit Vasavada