added command emitting to unity via accelerometer and keyboard