llvm-mos / llvm-mos-sdk

SDK for developing with the llvm-mos compiler
https://www.llvm-mos.org
Other
279 stars 55 forks source link

[Breaking] [cx16] SNES controller KERNAL function and example #357

Closed mlund closed 3 months ago

mlund commented 3 months ago

This adds an example of how to use the SNES controllers on Commander X16. This is a breaking change due to cx16_k_joystick_get() signature change. This is likely not a big issue as it has most likely not been used much in the wild, considering the incomplete bitmasks for buttons, see below.