源码分享 收藏本版 已有3人收藏 +发表新主题
查看: 28384|回复: 5
打印 上一主题 下一主题

[分享] Lean Touch v1.0.8 (Dec 11, 2015) 输入库

[复制链接]

[分享] Lean Touch v1.0.8 (Dec 11, 2015) 输入库

yanjianghao 发表于 2016-4-24 23:08:30 浏览:  28384 回复:  5 只看该作者 复制链接

it combines mouse and touch inputs, so you only have to write your
input code once, and it will work perfectly across desktop and mobile
devices.
  
It accounts for varying DPI settings, so it will work the same on small and large devices.
  
It allows you to simulate multiple finger gestures (e.g. Pinch,
Twist) using the mouse, so you can easily test your inputs without
deploying to a device.
  


It allows you to hook into input events (e.g. OnPinch, OnFingerTap), or you can directly poll the current finger states.
  
It allows you to check to see if the mouse or any finger is on top of
a GUI element, to prevent input from 'passing through' buttons
(supports old and new GUI).
  
It comes with full source code that's well commented, so you can easily modify or extend the features.



游客,如果您要查看本帖隐藏内容请回复
分享至:
| 人收藏
回复

使用道具 举报

该用户从未签到

沙发
王尼玛 发表于 2016-5-23 16:38:34 只看该作者
看看是什么鬼
回复 支持 反对

使用道具 举报

该用户从未签到

板凳
七笑书生 发表于 2016-12-15 09:11:13 只看该作者
感谢楼主无私分享
回复 支持 反对

使用道具 举报

该用户从未签到

地板
senwj 发表于 2017-4-11 13:30:37 只看该作者
好像很不错啊
回复 支持 反对

使用道具 举报

该用户从未签到

5#
sx19960128 发表于 2017-5-17 11:43:23 只看该作者
嘎嘎嘎嘎嘎嘎阿哥
回复 支持 反对

使用道具 举报

该用户从未签到

6#
时间是把刀 发表于 2017-7-26 08:16:14 只看该作者
66666666666666
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright © 2013-2017 ARinChina-增强现实中国技术论坛   All Rights Reserved.