add keyboard movement code sample