I thought to implement keyboard internally in SDL port, I should just create the basic keyboard events with scancodes. E.g. SDL_SendKeyboardKey(SDL_RELEASED, SDL_SCANCODE_CAPSLOCK);
However, caps lock doesn’t lock if I do it this way.
I though SDL internally would handle capslock? But it looks like I have to implement the lock myself?