Dojo Sensor is a dojo module designed to allow developers to access device interfaces which allow web applications to utilize environmental data on a device. At the present there are three specific modules within Dojo Sensor: geolocation, accelerometer, and media capture. More information on these modules can be viewed in the documentation.
Installation procedure:
To install simply copy the contents of the src folder into the root directory of a dojo install. To use just implement it as you would any other dojo module.
Documentation:
http://documentation.innobdesign.com