Be aware that when you use the GetRaw commands, your app will NOT be universally compatible with all the other devices out there (only those with keyboards with the same scan code mapping as yours). I would always advise taking your input commands from the Universal Command Set. For controlling a chappy on the screen, I recommend using the GetJoystick commands, as they will allow you to use W,A,S,D for directional control, joystick/controller if available and AppGameKit will create a virtual joystick on devices that have a touch screen. Using universal commands means you reach everybody who has one of the AppGameKit supported platforms. I plan to create video on the evils of the raw commands as a pre-emptive strike against TGC Mike's video on how great raw commands are. Soon to be followed by the evils of SetVirtualResolution video
I drink tea, and in my spare time I write software.