Hey I just noticed a mistake on my part, event8 is S-PEN, event2 is touchscreen, so you want to use event8. Also, if you have any peripherals plugged in at boot (i.e. OTG keyboard) it shifts around your event numbers, so event10 may be your s-pen, make sure you have nothing plugged in at boot...