Windows 10 touch input (DEF-1705)

Hi all.

I have recently downloaded Defold and am working through the tutorial.

I am now partway through Step 6. I have my hero running along the ground and when I press the spacebar he jumps.

However, I noticed that the touch input doesn’t seem to make him jump. I made sure that the input bindings were set correctly. I decided to test it by assigning it to “MOUSE_BUTTON_1” instead and now when I press either the space bar or the left mouse button he jumps.

Here’s the odd bit. Naturally, he still won’t jump when I touch the screen, but if I swipe the screen in any direction he will jump.

Seems a bit odd to me.

I am using Windows 10 on a Microsoft Surface 3

Can anyone explain this?
How can I get a normal touch input to work on Win10?

Thanks everybody.

Hello LegendforHire,

thanks for the detailed report! I’m honestly not sure if we support desktop touch events, I would suspect that we don’t. But it sounds like something we should handle the same way as for mobile devices… :slight_smile:

I have added an issue for this: DEF-1705

2 Likes

How do I support the call/request for multitouch on all operating systems, not just mobile?

This is something I desperately need.