intercept

Read raw input events from a specified input event device and redirect it to stdout. More information: https://gitlab.com/interception/linux/tools/-/tree/master#intercept.

sudo intercept -g {{/dev/input/eventX}}

sudo intercept {{/dev/input/eventX}}