On Monday, 22 February 2021 at 21:14:48 UTC, Dukc wrote:
Note that DGame seems to be currently unmaintained - it might have some bits that do not compile anymore. SDL2 is a commonly used library though - you should be able to find more examples about it if you need to.

Plus, the example I linked is not really the simple minimalistic one you want if battery level is all you want to figure out. Probably the derelict-sdl2 front page is what you're looking for that instead:

https://code.dlang.org/packages/derelict-sdl2

Reply via email to