[Webkit-unassigned] [Bug 30335] New: add support for accelerometer / orientation events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 09:17:07 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30335

           Summary: add support for accelerometer / orientation events
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pmuellr at yahoo.com


Firefox has added some accelerometer / orientation JavaScript events in their
nightlies.  It would be nice to have this for WebKit as well.

links:

- Doug Turner's blog posts (Moz developer):
http://dougt.org/wordpress/tag/mozorientation/

- demo movie
http://blip.tv/file/2711424

- Mozilla's IDL for the event: 
http://mxr.mozilla.org/mozilla-central/source/widget/public/nsIAccelerometer.idl

- for reference, iPhone OS doc on accelerometer APIs:
http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIAccelerometer_Class/Reference/UIAccelerometer.html

- Android doc on Sensor events, that can track acceleration and orientation as
separate things
http://developer.android.com/reference/android/hardware/SensorEvent.html

Unfortunately, there's no "API" apparently for desktop macs, though accessing
accelerometer data is described in "Mac OS X Internals: A Systems Approach" by
Amit Singh (section 10.7.5).  Accelerometers are available for some PC laptops
as well, though the usage on a laptop seems a bit of a stretch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list