So the driver guy tells me that I have an input device that is capable
of inputting the "pen" type.  This is custom hardware, of course.

He says he is calling:

input_report_key(dev, BTN_TOOL_PEN, 1);
input_report_key(dev, BTN_TOOL_RUBBER,1);

and also reporting the X and Y coordinates with ABS_X and ABS_Y.

I can get the ACTION_DOWN and ACTION_UP and (x,y) in my app with
motionEvents.  For the life of me I cannot figure out how to get the
pen "type" events.  Is that a keyEvent?  I tried to listen to
keyEvents but I never hear anything about pen type...

Please help.  Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to