coherent ui - html5,Unity 5 - Windows 7 touch input causing the native touch not work

I have a Unity Windows app which use Touch script library to recognize Windows 7 touches in 3D models. I have been working in Unity 4.3 up to now and everything has been working fine.

Now I want to upgrade to Unity 5. When I do that still the 3D model touches are working fine. But when I have the Windows 7 touch input enabled in Touch script, the rest of the app's single touches don't work anymore, e.g. HTML links/buttons (shown through coherent UI) or GUI button clicks etc..

With unity 4.3 I used Touchscript 5. I tried with that in Unity 5 and also with the latest 6.10 version. With both, if the Windows 7 touch is enabled, other touches are not working.

Today we tried by building from the Touchscript latest code and when debugging figured that in

Win7TouchInput.cs private void init() function if we comment the line oldWndProcPtr = SetWindowLongPtr(hMainWindow, -4, newWndProcPtr); then the normal touches work. But with this commented the Touch script funcionality is not working. (I really don't have much idea what that code does.)

Any help on how to get this fixed will be really appreciated.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值