Mouse input is confused when Touch input is implemented in code.
For example: Left click on object is ignored when Touch events are implemented in the Event Sheet as well. Actually it is swapped around. So if an event says "left click on object = do this" the event will be ignored by left click but will fire when right clicked.
Note: this only happens if the event sheet has code for Touch input as well.
This is happening from R168 onward.
Attach a Capx
Description of Capx
The example capx creates\destroys a 9Patch window in the centre of the screen when:
The space bar is pressed
The cog is clicked with the left mouse button
The cog is touched
Steps to Reproduce Bug
1 Run the preview
2 Left click on the cog - Observe how the popup window displays or disappears - as expected
3 Now stop the preview
4 In the Event sheet - Please enable the Touch group
5 Run the preview again
6 Left click the cog - it does nothing
7 Right click the cog - Observe how the popup window displays or disappears
As long as the Touch group is not enabled the mouse input works as expected. But when the touch group is enabled mouse input is confused.
Mouse input to work as expected whether touch input is enabled or not
- Chrome: (YES)
- FireFox: (Don't Know)
- Internet Explorer: (YES)
Operating System and Service Pack
Construct 2 Version ID