SDL Keymappings

Hey All,

I’ve been trying to get the Tankstick working with GNGeo recently, and the issue that has been cropping up is that the Tankstick by default uses LeftCtrl, LeftAlt, and Space for the top row of buttons.  This would be fine if I could just specify that, but the GNGeo config file (gngeorc) needs the SDL key mapping, which isn’t really documented anywhere.

What I have found is that if I start X Windows, run xev, press the required button, take that output hexadecimal, then convert that to decimal, about 99% of the time it’s the valid SDL key mapping.

Just a heads up to anyone else with that kind of issue.

One thought on “SDL Keymappings

  1. Pingback: SDL Keymappings | Raspberry World

Leave a Reply

Your email address will not be published. Required fields are marked *