Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

 
Advanced search

1027870 Posts in 41250 Topics- by 32872 Members - Latest Member: Rayvolution

July 29, 2014, 10:49:35 AM
TIGSource ForumsDeveloperTechnical (Moderators: Glaiel-Gamer, ThemsAllTook)AS3 GameInput Class (Joystick support for AIR) !!
Pages: [1]
Print
Author Topic: AS3 GameInput Class (Joystick support for AIR) !!  (Read 1784 times)
StrictlyDominant
Level 0
**



View Profile
« on: February 13, 2013, 04:55:32 PM »

So I have reached a wall with Actionscript 3 and Adobe's "GameInput Class".  They have been asked to work on joystick input for several years now and simply haven't done anything outside of AIR for TV (nobody cares).

I have recently been making some noise about this and instead of wasting anymore time on it, I just moved on to C# only to be contacted by Christophe Herreman recently about the thread I made on Adobe.com with some great news.

http://labs.stackandheap.com/joystick-air-native-extension/

He has worked on creating an ANE that will allow joystick support on the desktop platform.  I would appreciate it if any of the AS3 developers would test this and support this project as I see it to be pretty important for AS3 devs.

He's already contacted Adobe about this.  Unfortunately they've just recently released a new version of AIR (today, I think) but if we make some noise and they see interest maybe we could get it officially added as early as next update assuming everything is in working order.

-ZaQ
« Last Edit: February 14, 2013, 11:17:09 AM by ZaQSD » Logged
st33d
Level 1
*



View Profile WWW
« Reply #1 on: February 14, 2013, 03:27:33 AM »

The hilarious thing is that I was bullying Adobe's twitter the other day about the new HTML5 specs for gamepad input.

A friend has already written a javascript library to read gamepad input - so right now you could make a javascript bridge (binding javascript executed in the browser to actionscript callbacks) that can read gamepad input in some browsers:

https://github.com/cham/Joystix

If it comes down to writing javascript hooks, just so we can get gamepads in Flash then that's going to be pretty stupid on Adobe's part.
Logged
Martin 2BAM
Level 10
*****


@iam2bam


View Profile WWW Email
« Reply #2 on: February 14, 2013, 06:26:18 AM »

Awesome! Well, hello there!

As a matter of fact that's the main "seriously Adobe?" thing I hold against Flash.
Logged

Working on HeliBrawl
StrictlyDominant
Level 0
**



View Profile
« Reply #3 on: February 14, 2013, 11:15:38 AM »

If it comes down to writing javascript hooks, just so we can get gamepads in Flash then that's going to be pretty stupid on Adobe's part.
Yeah they certainly haven't made it easy on us.  And they have responded with, "We're getting to it" since the beginning of AS3.  Thanks for sharing.

Awesome! Well, hello there!

As a matter of fact that's the main "seriously Adobe?" thing I hold against Flash.
You are not alone there.  I think one of the things preventing this from getting implemented was that nobody speaks up about it, they just move on.  Hopefully this lights a fire under them to get it done.

Keep in mind that this is only for AIR at the moment.  I'm sure there is a ton of security they would have to look into for something that looks for USB input for web-based Flash.
Logged
Martin 2BAM
Level 10
*****


@iam2bam


View Profile WWW Email
« Reply #4 on: February 15, 2013, 11:35:29 AM »

Hey, the github repository dissapeared  Concerned
Logged

Working on HeliBrawl
StrictlyDominant
Level 0
**



View Profile
« Reply #5 on: February 15, 2013, 05:54:41 PM »

Hey, the github repository dissapeared  Concerned
I think he had to change the account to reflect the group he works with.
It should be updated on the link above now which sends you here: https://github.com/StackAndHeap/joystick-ane
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic