The TOUCH_EVENT is generated internally by the haptic device. Manually generating a TOUCH_EVENT will have no effect on the device.
I don't fully understand what you are trying to accomplish, but if you want to manually apply a force to the pen then you can use a constant force effect. The docs should mention how to create various effects for the haptic device.
|