Simulates keyboard events from mobile device motion.