[Webkit-unassigned] [Bug 10598] JSMouseEvent needs to expose tablet pressure
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 31 14:34:47 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=10598
------- Comment #3 from ilmari.heikkinen at gmail.com 2007-12-31 14:34 PDT -------
Propose a vendor-specific (+ standardize based on the experiences from that)
new event type for tablet events:
TabletEvent : MouseEvent {
float rotation // 0 .. 360
float tiltX // -1.0 .. 1.0
float tiltY // -1.0 .. 1.0
float pressure // 0.0 .. 1.0
float tangentialPressure // -1.0 .. 1.0
string type // tool type 'pen', 'eraser', 'cursor', 'unknown'
uint64 uniqueID // unique ID for the tool
// (e.g. two pens, one to draw with black, other with blue)
uint deviceIndex // sequence number of the device on a multi-touch tablet
// (e.g. first finger uses 1, second finger uses 2)
float accurateClientX
float accurateClientY
float accurateScreenX
float accurateScreenY
}
Based on
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/Reference/Reference.html
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list