Show warning when player has no input device or microphone #962
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a warning message to the Difficulty Select Screen when a non-bot player has no input devices assigned:
![image](https://private-user-images.githubusercontent.com/11618454/409443674-2aa85b74-34ad-4625-8144-9529277af5a0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTA0MzUsIm5iZiI6MTczOTM1MDEzNSwicGF0aCI6Ii8xMTYxODQ1NC80MDk0NDM2NzQtMmFhODViNzQtMzRhZC00NjI1LTgxNDQtOTUyOTI3N2FmNWEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA4NDg1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyNjQ2MWYzOGM5ZjIyNDdjZmViMDgzZjhlZDdjM2IwMWI2MmNmNDFjYjUxNjUyMzY5ODJiNzBjOTY5NjE1MDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JQN3U56SA7RVWVYq0Hqgm7Lizd-PkC-psirt35In-bk)
For vocalists, having no input device is considered valid. Instead, a different warning is displayed when a vocalist has no microphone connected:
Players without input devices are also shown differently on the Active Players list in the top status bar:
Note that icons used for this are placeholders and are identical to the regular instrument icons, except for the Vocals one.