For more information, please see my article here: https://www.samsworkbench.com/building-a-custom-touchscreen-mouse/