![]() ![]() And I don't know which is the culprit for some weird behavior.such as double-clicks registering when I didn't double-click, or scrolling in finder windows and document windows which are NOT in front. I regard them as necessary to my work, but the software/hardware is weak sauce. I don't think the latest versions of IE even support it (I hope not, anyway), which means you'd be forced to use old versions of IE (and only IE - no other browser ever supported it) in order to run your code. ActiveX as a browser-based technology has long since been abandoned, due to the massive security holes it caused. The bad news, though, is that this is not something I'd recommend. So therefore yes, you would be able to program it using Javascript. Since the pressure pen device driver for Windows will be provided as a DLL, this means you should theoretically be able to access it in the browser via an ActiveX control. It basically provides a way of accessing virtually any Windows DLL code from within the browser. There is one way that you can do it though: ActiveX.ĪctiveX is an API provided by Microsoft in older versions of IE. Whether one will become available in the future remains to be seen, but I have my doubts. Unfortunately for you there isn't a standard API for working with pressure pads, so the direct answer to your question is no, it can't be done. For example, the Geolocation API.Īll these are standard APIs which have been defined by the W3C (or in some cases are in the process of being defined by the W3C), meaning that all browsers that support them should make them work the same way. There are other APIs available in the browser as well though. The most obvious is the DOM, which gives you the ability to manipulate the page, etc. The web browser environment provides a number of APIs. However most Javascript is run in a web browser environment, and this is clearly what you mean. ![]() Javascript can be run in a number of different environments, some of which may possibly have access to APIs for this kind of hardware. What is important are the APIs available to you from within the language. Javascript as a programming language in itself has no more ability or lack of ability to read this kind of data than any other language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |