If an API that works on all of them and makes your code portable (or almost portable) isn't acceptable, I'm not sure what you expected a solution to be in that case.
> "so confused why this is not something that comes out of the box
If you want your code to work on multiple CPUs and OSs, there is no single "box" you can blame. There are multiple "boxes" which naturally don't have completely unified native APIs. Libraries like SDL make the complexity of writing portable projects easier to deal with if you don't want to deal with the native APIs.
Replies (1)
> "so confused why this is not something that comes out of the box
If you want your code to work on multiple CPUs and OSs, there is no single "box" you can blame. There are multiple "boxes" which naturally don't have completely unified native APIs. Libraries like SDL make the complexity of writing portable projects easier to deal with if you don't want to deal with the native APIs.