Mapped accelerometer sensor events to joystick events