I'm being really stupid now - Where? because I can't see it. (I must be going blind!)
Yes, I agree it adds these 2 events;
Code: Select all
input_set_abs_params(ts->input_dev, ABS_MT_WIDTH_MAJOR, 0, 255, 0, 0);
input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0);
It also adds:
Code: Select all
input_set_capability(ts->input_dev, EV_KEY, KEY_LEFTMETA);
Where is it adding, for example:
Code: Select all
Event code 0 (ABS_X)
Event code 1 (ABS_Y)
Event code 47 (ABS_MT_SLOT)
Event code 57 (ABS_MT_TRACKING_ID)
And is the fact that /dev/input/mouse0 does not exist a consequence of those missing capabilities?