1
votes

I am building an game launcher app (similar to Steam Big Picture) using HTA and I'd like to be able to control this app using my X360 controller. One way to do it is to use Xpadder and emulate keyboard presses, but since MS Edge has a native support of Gamepad API, I wonder whether there is a way to enable it for HTA (since for example flexboxes can be enabled for HTA).

Or.. if it's not possible, are there any alternatives for HTA? That means something I can write in HTML5+CSS3+Javascript, have it start in fullscreen and have it launch .bat files on my computer without asking for any permissions?

1
I'm not sure the HTA engine in mshta.exe runs with the Edge rendering engine it's included for backward compatibility. It's not really changed since IE 9 (to my knowledge, but don't quote me). - user692942
Not sure if it's really an edge rendering engine, but it's at least IE11 rendering engine, since flexboxes do not work in IE9. I use following header: <meta http-equiv="x-ua-compatible" content="ie=edge"> - doomista

1 Answers

0
votes

Judging by this answer to a similar-ish question...

I suspect that an HTA would work in Windows 10, but only in IE9 mode. It would be a major shift if Microsoft built Edge with HTA support.

I would conclude you wouldn't be able to use the Gamepad API in a HTA because it uses the IE 9 rendering engine.

Your best bet is give it a try and test it for yourself.


Useful Links