ForumsProgramming ForumHelp: List type of inputs in Flash?

4 4292
313230
offline
313230
10 posts
Shepherd

Hi,

I am basically not a Flash programmer, but hardware designer. I am designing a controller and want to use Flash to promote it.

AFAIK, Flash accept these input:
Keyboard
Touch
Mouse: left, right, middle, wheel

Does Flash support gaming controller ie Xbox?
Does Flash support multi mouse button like X1,X2 mouse button or customized buttons?

Thanks

  • 4 Replies
Carlytoon
offline
Carlytoon
324 posts
Nomad

Does Flash support gaming controller ie Xbox?

Well, I this game support it...
http://armorgames.com/play/2388/meat-boy

...but I think that you need to download a driver.
I have no answer for the other questions, sorry :3
BlueJayy
offline
BlueJayy
27 posts
Nomad

As far as I know, Flash (on its own) cannot access drivers other that the ones already given to it. (Keyboard, Mouse, etc.) I've seen other people combine Flash with Java or C# to access the drivers, but none with just Flash. You may need to download a program that converts controller/gamepad inputs to keyboard/mouse inputs, such as Xpadder.

As for the second question, Flash only supports once mouse button for clicking. (the left mouse button) Right clicking is reserved for the little Adobe preferences and "About Adobe" menu that you see in every Flash game, and middle clicking (mouse wheel click) is not supported. However, Flash does recognize the mouse wheel being spun, so you could use that, but it would have the same capabilities of a button press.

Link to Xpadder
[url=http://xpadder.com/]

Hope I could help.

PixelSmash
offline
PixelSmash
566 posts
Nomad

I think if you look around, you can find tons of resources on this. I've seen Flash work with controllers for xbox, playstation, wii, as well as kinect and even completely custom-built controllers. You just have to look for the right library or tutorial

313230
offline
313230
10 posts
Shepherd

Thank you guys, your advices really help

Showing 1-4 of 4