Implementation of sdl keystate array