Accelerometer Support

Building api for unified accelerometer control in Flambe framework.

Signed-off-by: Bradley Baysinger <bradley@seven2.com>
Updated accelerometer

Getting ready to fork flambé. Tidied up, refined, made disposal, reworked logic for orientation, removed motion stuff for now.

Signed-off-by: Bradley Baysinger <bradley@seven2.com>
Updates for incorporation into Flambe

Changed orientationChange to orientationUpdate. Removed disposal of accelerometer, and made instance persistent. Removed properties that allowed direct access to motion and orientation instances.

Signed-off-by: Bradley Baysinger <bradley@seven2.com>
More accelerometer updates to fit into Flambe

Separated EventGroups so they are independent. Added private NotifyingSignal1, so Accelerometer can stop when it is not in use.

Signed-off-by: Bradley Baysinger <bradley@seven2.com>
More accelerometer updates to fit into Flambe

Separated EventGroups so they are independent. Added private NotifyingSignal1, so Accelerometer can stop when it is not in use.

Signed-off-by: Bradley Baysinger <bradley@seven2.com>
Merge branch 'accelerometer' of https://github.com/braddelcat/flambe into accelerometer

Signed-off-by: Bradley Baysinger <bradley@seven2.com>

Conflicts:
	src/flambe/platform/html/HtmlAccelerometer.hx
Converted accelerometer values to Float

Orientation and motion objects now have values of type float. Also renamed their update functions to indicate internal usage.

Signed-off-by: Bradley Baysinger <bradley@seven2.com>
Bugfix

Fixed issue with last signal disposal.

Signed-off-by: Bradley Baysinger <bradley@seven2.com>
Merge pull request #113 from braddelcat/accelerometer

Accelerometer for HTML