Giter Club home page Giter Club logo

Comments (5)

dpwiz avatar dpwiz commented on June 3, 2024 1

I copypasted your example and can see the keyboard (mouse, etc.) events in console.

But I had to add threadDelay 100000 before polling or else I'm getting flooded with [] messages.
(setting defaultRenderer {rendererType = AcceleratedVSyncRenderer} also works).

I'm in ubuntu though, with

Package: libsdl2-dev
Version: 2.0.14+dfsg2-3

from sdl2.

dpwiz avatar dpwiz commented on June 3, 2024

I managed to build and link with 2.0.20 too and is able to quit with the q.

from sdl2.

dpwiz avatar dpwiz commented on June 3, 2024

@EMQ-YangM Do you have it working now?

from sdl2.

abbradar avatar abbradar commented on June 3, 2024

I have the same issue -- in the recent update pollEvents stopped working, always returning an empty list. I use OpenGL only, without SDL.Video.Renderer. SDL 2.0.20 and sdl2 2.5.3.0.

from sdl2.

abbradar avatar abbradar commented on June 3, 2024

I found #242 and indeed, bumping sdl2 to 2.5.3.2 solved the issue.

from sdl2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.