docs: function(func) {
              this._deviceMotionCallback = func;
              if (Crafty.support.devicemotion) {
                  if (window.DeviceMotionEvent) {
                      // Listen for the devicemotion event and handle DeviceMotionEvent object
                      Crafty.addEvent(
                          this,
                          window,
                          "devicemotion",
                          this._normalizeDeviceMotion
                      );
                  }
              }
          }