Detecting multi-touch, mouse, and/or keyboard (or gamepad)

You could also go with this solution. Worked for me.

1 Like