Lazily construct Accelerometer, so it gets dead code eliminated.

(In Haxe 3)
Lazily init Keyboard too.