iphone touch shape or raw data -


anyone know if yet possible detect touch shape? maybe through getting raw touchscreen data?

i found question/answer here: how raw touchscreen data?

that mentions gsevent, quite old.

i'd try rough calculation of pressure of touch shape/area, of course uitouch gives calculated point.

yes, raw touch data contained in gseventrecord object, particularly looking pathmajorradius property on gspathinfo, gives major radious on tap. rough estimate of pressure, take account big/small fingers give different measures.

watch out pathpressure property in gspathinfo, not contain pressure. contains 1, capacitive screens (like ipad's or iphone's) not measure pressure @ all.

if planning submitting app in app store, won't able if include access private frameworks (like in case, gsevent.h in graphicservices framework). need catch every uievent in sendevent method of subclassed uiapplication, use methods in https://github.com/kennytm/iphone-private-frameworks/blob/master/graphicsservices/gsevent.h information of gsevent.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -