amaranth/pdk-mainloop-example
An example of how to do a proper mainloop for a webOS SDL app that sleeps while not active, doesn't run at more than 30 fps, and is always responsive to user input.
C++WTFPL
An example of how to do a proper mainloop for a webOS SDL app that sleeps while not active, doesn't run at more than 30 fps, and is always responsive to user input.
C++WTFPL