Attach driver to the Input Events framework
#include <input/mtouch_driver.h>
struct mtouch_device* mtouch_driver_attach(mtouch_driver_params_t *params, mtouch_driver_funcs_t *funcs)
This function connects the driver with the specified parameters and callback functions to the Input Events frameowrk. You need to configure params and funcs before passing them as arguments to this function. This function must be called when you initialize your driver.
A handle to the opaque data type that represents the touch device.