Hacker News new | ask | show | jobs
by soult 4226 days ago
I don't know what exactly you want to do with the pen input, but you could use native messaging[0] to get the data into chrome. Basically a small, native program that (bidirectionally) communicates with a Chrome extension via JSON.

I used the same approach to get customer signatures from a Wacom signature tablet into a web app.

0: https://developer.chrome.com/extensions/messaging#native-mes...

2 comments

But that's just a Chrome-only solution again, requiring you to use a different method for each browser. A plugin at least gives you a few ones in one solution.
OP was asking about `Chrome apps`
Thanks! I'll look into that.

Currently I'm piping evdev (ie /dev/input/event*) events through a WebSocket for use in my own personal apps/experiments on Linux. I'd love to see browser pen support though... maybe something could be added to Touch Events? It's just such a nice, precise form of input.

Actually, there is an implementation of Touch Events (the Microsoft one) that already supports all this...
Is that Microsoft's "Pointer Events" that Google has decided not to support?

http://arstechnica.com/information-technology/2014/08/google...