79825299

Date: 2025-11-20 09:03:10
Score: 1
Natty:
Report link

This is working fine with SDL2

    SDL_Event event;
    int running = 1;    
    while (SDL_PollEvent(&event)) {
            if (event.type == SDL_QUIT) running = 0;
            if (event.type == SDL_KEYDOWN && event.key.keysym.sym == SDLK_l) {
                printf("l keystroke detected\n");
            }
        };
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Alexis