Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Android / Multi-Touch

Author
Message
bstebbs
6
Years of Service
User Offline
Joined: 10th Jan 2013
Location:
Posted: 16th Feb 2014 05:52
Does anyone have the proper code for handling multi-touch. I'm obviously missing something here and can't seem to figure it out. I'm using the GetRawTouchCount(), GetRawTouchType(), and GetRawTouchReleased() commands but haven't gotten it right yet.

Basically, I have a guy that I control with a joystick that I made myself. Simulates the Virtual Joystick. That works great. But then, I have some Booster items on the side that I want to also press and do something. When I click the one Booster item, it's causing it to occur multiple times and I can't seem to figure out why.

Does anyone know the right way of using these commands to check on various events?
easter bunny
6
Years of Service
User Offline
Joined: 20th Nov 2012
Playing: Dota 2
Posted: 17th Feb 2014 03:08
First, they only work on the Android device itself, so if it's not working on your computer, that's why.

Otherwise, you do it something like this:



Login to post a reply

Server time is: 2019-10-18 21:52:20
Your offset time is: 2019-10-18 21:52:20