AS3 USB game controller support

2019-05-06 17:08发布

How can I make a USB controller control my AS3 game. I'm using the keyboard right now and I have thought about mapping the keys but I have to use a plugin for that and I just want users to be able to buy a simple controller that doesn't need any driver downloads/configuration. They should be able to plugin the USB controller and play the game through Flash Player in a browser.

1条回答
一纸荒年 Trace。
2楼-- · 2019-05-06 17:45

One possibility... you can tell your users to download joy2key. http://electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

I admit that this is not a "real answer" to your question. But it is a stop-gap solution until you figure out and implement the real solution.

查看更多
登录 后发表回答