ohai / ruby-sdl2

A Ruby wrapper for SDL 2.x

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SDL_WaitEvent()?

RinGotou opened this issue · comments

commented

Hello! I want to build a new project with this gem, but seems I can't find some function binding for SDL_WaitEvent and I can find out SDL2::Event.poll only. Is there some reason about the missing of this function?

commented

Hello. That is because I have no use-case of WaitEvent. I think that polling events are more useful in many cases. If you have a good use-case, I will add the interface to SDL_WaitEvent.

commented

Thanks for response, I'm currently constructing in a very slow status, but I'll be very happy if you add this binding! (I'm not familiar with Ruby native extension development)