Monday, January 27, 2020

GInput is a simple port or is it? And what's next?

I've been doing the GInput port to the new platform for a week. It's been a struggle but it is almost complete. I had issues with the unit testing, had to introduce GWindow into GInput (since it didn't exist back then), added error checking, rewrote unit tests. Problems came across not only from  GInput itself but other libraries or improper internal implementations, that I had to resolve quickly with 0 knowledge of the library at a time.

Most of the issues were fixed and GInput is working on all platforms, but currently GDaemon implementation on Linux requires some notice (quick destruction of GDaemon consequently in unit tests causes some weird behavior). I also fixed mouse input not getting registered on Linux platform.

After GInput issues are completely resolved, I will be moving to porting GAudio... This could be a 2 day job or a month job depending on the issues that occur and potential issues with incorporating other libraries. It already has a separate implementation for each platform which should make my life easier but it is 6 different classes in 1 package of libraries (GAudio/GAudio3D) which might be a fun experience with proxy logic/optimizations.

No comments:

Post a Comment