-
-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Description
Describe the project you are working on
Numbers Maze: https://github.com/CherokeeLanguage/NumbersMaze.godot/
Describe the problem or limitation you are having in your project
Currently the app cannot detect if it is running on a TV or not. This makes it difficult to have menus display correct instructions in regards to touch vs gamepad input instructions.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Adding an option like OS.isTv() that indicates if the device is advertising itself as a TV would solve the issue. Should return true for Android TV, FireOS TV, and ios TV. Otherwise false.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Global OS, new method "isTv()" returns bool true/false.
If this enhancement will not be used often, can it be worked around with a few lines of script?
Not that I am aware of.
Is there a reason why this should be core and not an add-on in the asset library?
Is an OS detection function.