Important: always custom code should be added to disable error sounds because of SDL_ENABLEAPPEVENTS - after keys pressing (see code below "ADDED SO IT DOESN'T BEEP BECAUSE WE ENABLE SDL_ENABLEAPPEVENTS" comment).
Important: always custom code should be added to disable error sounds because of SDL_ENABLEAPPEVENTS - after keys pressing (see code below "ADDED SO IT DOESN'T BEEP BECAUSE WE ENABLE SDL_ENABLEAPPEVENTS" comment).