private void onGyroEvent(EmulatorGyroEvent e) { currentGyroEvent = e; if (gyroEventListenersInternal != null) { gyroEventListenersInternal(e); } }