How to know the input device that was used to open my application?
Hello, I need to know how to get the input device that was used to open my application (in the onCreate method, for example) . A bit more specific, how to know if my app was opened with "Amazon Fire TV Remote Input" or "Amazon Fire Game Controller Input"?. Thanks!
There is no direct way to know this. However, subsequent key presses will have the device id in the key event or motion event, enabling users to identify the input device (the user will most likely continue to the same input device used to open the app).