Closed MrStahlfelge closed 4 years ago
After #13 is resolved, supporting iCade and hardware keyboards can be done the following way: All iCade buttons (ICadeController.KEYS_TO_HANDLE) will be suppresed for hardware keyboard events. This can be done by overriding DefaultIosInput.getGdxKeyCode() and returning UNKNOWN for all these keys.
Last referenced commit is wrong here, it relates to #4
Since iOS 13.5, Apple supports apps to get all keyboard events. Lightblocks should handle these events like on other platforms.
Attention: iCade support and relies on some fake key presses, needs to be checked when the change is made.