iamgreaser / iceball

Open-source rewrite of the VOXLAP version of Ace of Spades.
http://iceball.build
GNU General Public License v3.0
113 stars 32 forks source link

controls.json comment is misleading/inaccurate #89

Closed DeeUnderscore closed 10 years ago

DeeUnderscore commented 11 years ago

Hey,

The comment in clsave/pub/controls.json is inaccurate. It links to an SDL Keycode listing, while in reality the configuration seems to use pygame.locals constants. It should probably say that.

DeeUnderscore commented 11 years ago

Actually, wait, what am I saying. This thing doesn't use pygame. I have no idea where those codes are coming from.

iamgreaser commented 11 years ago

Look at pkg/base/lib_sdlkey.lua, it's a port of /usr/include/SDL/SDL_keysym.h to Lua. THAT is what the key codes are.

DeeUnderscore commented 11 years ago

Ah, thanks. I guess I inadvertently used pysdl to get the keycodes without remembering that iceball doesn't use it. I feel stupid now. Still, the linked SDLKeycodeLoopup page seems to be something else entirely when it comes to stuff beyond ASCII.

iamgreaser commented 10 years ago

Closed.