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

FlxAnalog: fix mouse input without FLX_NO_TOUCH #2067

Merged
merged 1 commit into from
May 13, 2017
Merged

FlxAnalog: fix mouse input without FLX_NO_TOUCH #2067

merged 1 commit into from
May 13, 2017

Conversation

adrianulima
Copy link
Contributor

@adrianulima adrianulima commented May 13, 2017

Currently the default project.xml disables touch only for desktop platforms. Platforms like flash and html5 still have both touch and mouse enabled.
https://github.com/HaxeFlixel/flixel-templates/blob/dev/default/Project.xml.tpl#L61

We could make the project.xml defaults to <haxedef name="FLX_NO_TOUCH" unless="mobile" />. But we'd still may want to test our project with mouse and touch enabled, so I changed this file to accept mouse event when touch is enabled.

@Gama11 Gama11 changed the title Make FlxAnalog work with mouse even if touch is enable FlxAnalog: fix mouse input without FLX_NO_TOUCH May 13, 2017
@Gama11 Gama11 added the Bug label May 13, 2017
@Gama11
Copy link
Member

Gama11 commented May 13, 2017

Thanks!

@Gama11 Gama11 merged commit 15222d7 into HaxeFlixel:dev May 13, 2017
@Gama11
Copy link
Member

Gama11 commented May 13, 2017

Meh, I just remembered that there was a reason for this... e573dbb

Gama11 added a commit that referenced this pull request May 13, 2017
(hopefully)

#2067 reintroduced the issue from #1672.
@Gama11
Copy link
Member

Gama11 commented May 13, 2017

Ok, should be ok now with 69ee4a1.

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.

2 participants