-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gracefully degrade gamepads in insecure contexts (#72)
* Address getGamepads changes - Added dashboardWarningMessage to Status state - Display dashboardWarningMessage in OpModeView - Prevent app from crashing if navigator.getGamepads is not defined - Display dashboard warning if navigator.getGamepads is not defined * Unsupported Gamepads now conveyed through icons - Removed dashboardWarningMethod logic - Added gamepadsSupported to Status state - gamepad_not_supported.svg is displayed in place of gamepad.svg when gamepads are not supported - (Questionable) Tooltip logic informing the user that the gamepads are not supported. Co-authored-by: Christian7573 <cag4561@gamil.com>
- Loading branch information
1 parent
6d7ef54
commit a1786b8
Showing
6 changed files
with
93 additions
and
23 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters