As per Ping's comments, I have based this patch on Dmitry Torokhov'sfor-linus tree. I have based it on entries for 0xE3, and added X,Y values from the tablet.