Jump to content

Search the Community

Showing results for tags 'Gamepadfire tv'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi there, I have been working on porting a Phaser game onto Amazon's Fire TV and am having problems with getting button and axis input from the fire controllers. The left analog stick shows up as being on axis 0 and 1 (and is fully functional), but the right analog stick does not show up on any axis between 1-100. Similarly, both triggers do not show up on any buttons or axis' between 1-100. I have tried using Xbox 360 controllers on the Fire TV and the same issues are present. I have also tried creating the APK with both CocoonJS and Crosswalk, with the issue remaining on both. Has anyone else had any luck with getting the Fire controllers working with Phaser? Or does anyone have any pointers on where I could be going wrong? Below is the code I am using to display any active buttons or axis if(this.gamepad.connected){ this.debugTxt.text = ""; for(var i = 0; i<100; i++) { if(this.gamepad.axis(i) > 0.1) { this.debugTxt.text += " A"+i; } if(this.gamepad.getButton(i)!=null) { if(this.gamepad.getButton(i).isDown) this.debugTxt.text += " B"+i; } }}Any help is much appreciated!
×
×
  • Create New...