4 ms·
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 progra
by soult 12y 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-messaging https://developer.chrome.com/extensions/messaging#native-mes...
- dtf 12y agoThanks! 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.
- kuschku 12y agoActually, there is an implementation of Touch Events (the Microsoft one) that already supports all this...
- wlesieutre 12y agoIs that Microsoft's "Pointer Events" that Google has decided not to support? http://arstechnica.com/information-technology/2014/08/google-to-drop-microsoft-designed-touch-web-spec-stick-with-apple-tech/ http://arstechnica.com/information-technology/2014/08/google...
- ygra 12y agoBut 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.
- AYBABTME 12y agoOP was asking about `Chrome apps`