diff pytouhou/lib/_sdl.pxd @ 592:19d930f9e3f0

Add the screenshot feature, using P or Home like the original game.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 23 Apr 2014 19:19:32 +0200
parents 0768122da817
children 73f134f84c7f
line wrap: on
line diff
--- a/pytouhou/lib/_sdl.pxd
+++ b/pytouhou/lib/_sdl.pxd
@@ -70,6 +70,7 @@ cdef extern from "SDL_scancode.h" nogil:
     ctypedef enum SDL_Scancode:
         SDL_SCANCODE_Z
         SDL_SCANCODE_X
+        SDL_SCANCODE_P
         SDL_SCANCODE_LSHIFT
         SDL_SCANCODE_UP
         SDL_SCANCODE_DOWN
@@ -77,6 +78,7 @@ cdef extern from "SDL_scancode.h" nogil:
         SDL_SCANCODE_RIGHT
         SDL_SCANCODE_LCTRL
         SDL_SCANCODE_ESCAPE
+        SDL_SCANCODE_HOME
 
 
 cdef extern from "SDL_events.h" nogil: