How can I get the device node for my multi-touch device?

Created by Duncan McGreggor
Keywords:
touch multi-touch utouch

Run the following command:

  $ sudo lsinput

If you have N-trig hardware and are using the community-maintained open source driver, you may see three devices:

 * N-trig Pen
 * N-trig Touchscreen
 * N-trig Multitouch

You will want the device node associated with "N-trig Multitouch."

The following shell snippet may be useful for you as well:

  grep -i "multitouch" /sys/class/input/event*/device/name | cut -f 5 -d /event5