Added Code for video game controller example.