We see different mobile vendors connect the touch sensor to different interrupt lines which is easily identifiable in some mobiles using /proc/interrupts file and is difficult to find on some mobiles. Is there a common way to identify the interrupt line on any mobile?

I am connecting to the mobile via adb to see this information, any idea about how to do programatically?