Update retrogame.c

Changed the code to allow input from a rotary encoder. In this case it sends the VOLUMEUP and VOLUMEDOWN keys to an application.