Does it make more sense to make libinput provide this information in a structured/predictable way via its log callback, then pull that out of compositor logs?