Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rawpad button array to support win and linux #958

Merged
merged 1 commit into from Jul 1, 2014

Conversation

renatodarrigo
Copy link
Contributor

On Linux, rawpad button array doesn't get populated with GamepadButton objects, so I made a check to verify if it is an object or a number, then pass the correct value to appropriate function.

Also, uncommented the axischange lines.

On Linux, rawpad button array doesn't get populated with GamepadButton objects, so I made a check to verify if it is an object or a number, then pass the correct value to appropriate function.

Also, uncommented the axischange lines.
@photonstorm
Copy link
Collaborator

Nice, thanks :)

photonstorm added a commit that referenced this pull request Jul 1, 2014
Fix rawpad button array to support win and linux
@photonstorm photonstorm merged commit de27090 into phaserjs:dev Jul 1, 2014
@renatodarrigo renatodarrigo deleted the patch-2 branch July 1, 2014 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants