hedgewars/uKeys.pas
changeset 2438 6df2e58b6ab2
parent 2436 246ef6271470
child 2567 02ff5f9510b5
equal deleted inserted replaced
2437:10e4b5fc0d93 2438:6df2e58b6ab2
   238        KeyNames[i]:= s
   238        KeyNames[i]:= s
   239        end;
   239        end;
   240     end;
   240     end;
   241 
   241 
   242 {$IFDEF SDL13}
   242 {$IFDEF SDL13}
   243 PByteArray(SDL_GetKeyboardState(@i);
   243 PByteArray(SDL_GetKeyboardState(@i));
   244 {$ELSE}
   244 {$ELSE}
   245 SDL_GetKeyState(@i);
   245 SDL_GetKeyState(@i);
   246 {$ENDIF}
   246 {$ENDIF}
   247 
   247 
   248 // Controller(s)
   248 // Controller(s)