Controller Input key codes lacking in Browser

BalbiBalbi Posts: 198Member
So, I am building an app using phonegap (basically a webpage so it uses the built in browser). I am using javascript to detect inputs and unfortunately only a few things actually make it to the page as key codes.

The left joystick directions make it in as the arrow keys
the dpad makes it in as the arrow keys
tapping the touchpad makes it in as a left click
and moving the touchpad obviously shows the mouse

For now I can just use the arrow directions, but at some point I would love to be able to use at least one face button :P

Any else using PhoneGap with their OUYA and experience the same thing? Anyone have tips?
Lead Developer of Leroux

Comments

  • JenpopJenpop Posts: 9Member
    I got the same problem and i plan on making a phonegap plugin to fix this problem.
  • BalbiBalbi Posts: 198Member
    Jenpop said:
    I got the same problem and i plan on making a phonegap plugin to fix this problem.
    Cool :) keep us posted!
    Lead Developer of Leroux
Sign In or Register to comment.