Hello all,

Maybe it has been asked before. But I only see older posts on this topic. I'm hoping the situation has changed now. I'm trying to make a game where there is no screen needed, but physical actuators (motors, steppers, a beeper)

But without a screen defined, I cannot seem to get events to work properly
In particular cannot use the keydown and keyup events. The events don't seem to happen.

I read somewhere that I should use the dummy screen with

os.environ['SDL_VIDEODRIVER']  ='dummy'

But this also doesn't seem to help.
Is there a way to get the events functioning without a screen? If so, how. If not, would that be an possible addition in a future version?

Regards,

Bert

Reply via email to