1. Marcus von Appen
  2. py-sdl2
Issue #17 invalid

SDL_GetKeyFromScancode returns always 0

Anonymous created an issue

Hi,

I don't know if I am using this properly, but it seems it always returns 0:

Python 2.7.3 (default, Apr 17 2013, 00:06:22) [GCC 4.5.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.

from SDL2 import * SDL_GetKeyFromScancode(SDL_SCANCODE_A) 0 SDL_GetKeyFromScancode(SDL_SCANCODE_RETURN) 0

Thanks, Milan

Comments (2)

  1. Log in to comment