Hi, > The driver reports BTN_TOUCH, ABS_X, ABS_Y and ABS_PRESSURE. > I know that BTN_TOUCH, ABS_X, ABS_Y must be reported for Android but > is it obligatory for ABS_PRESSURE ? > What's happen if i don't use the PRESSURE?
you can see few drivers in <kernel>/drivers/input updating just ABS_X, ABS_Y, but not ABS_PRESSURE.. I'm not sure of usage of pressure parameter in kernel, it should be optional.. > On the screen in the landscape mode where are X,Y ? > is it like this? > Y<----------------O > | > | > | > V > X In platforms i've seen, touchscreen always should give absolute physical co-ordinates w.r.t panel. its the job of OS (window server) to process it based on what mode it currently it is (landscape or portrait mode).. On Thu, Apr 8, 2010 at 4:33 PM, Arnaud Frigout <[email protected]> wrote: > Hi Deva R and Dianne Hackborn, > > Thanks for the quick reply. > > Deva R : > The driver reports BTN_TOUCH, ABS_X, ABS_Y and ABS_PRESSURE. > I know that BTN_TOUCH, ABS_X, ABS_Y must be reported for Android but > is it obligatory for ABS_PRESSURE ? > What's happen if i don't use the PRESSURE? > > On the screen in the landscape mode where are X,Y ? > is it like this? > Y<----------------O > | > | > | > V > X > > Dianne Hackborn : > > What are the minimum and the maximum accepted by Android? (-32 768 à > 32 767) > Does Android have an unit for the touchscreen like for the > accelerometer? > > > Thank you. > > Best Regards, > Arnaud Frigout > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > > To unsubscribe, reply using "remove me" as the subject. > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
