title: Getting orientation for Sensor Event Accelerometer
body: <p>i am using </p>
  
  <pre><code>sensorManager = (SensorManager) this.getSystemService(Arcade_MainGame.SENSOR_SERVICE);
  sensorManager.registerListener(this, sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), SensorManager.SENSOR_DELAY_GAME);
  </code></pre>
  
  <p>The only problem i am having is that i am in landscape mode, and the accelerometer is reading as it is in portrait.</p>
  
  <p>How can i change the orientation of the SensorEvent of the accelerometer.</p>
  
  <pre><code>@Override
  public void onAccuracyChanged(Sensor sensor, int accuracy) {
  // TODO Auto-generated method stub
  
  }
  
  
  @Override
  public void onSensorChanged(SensorEvent event) {
  synchronized (this) {
      switch (event.sensor.getType()) {
      case Sensor.TYPE_ACCELEROMETER:
  
      }
  </code></pre>