a rough guess tbh based on my past use of camera functions, but i don't think it would be possible due to security restrictions.
internal camera permissions are pretty similar for most devices, so it is easy for construct to prompt the user permissions needed for camera access of that device. but it would be hard to adapt it to suit requesting permissions for so many different external devices out there such as otg cables.
Best chance would be seeing if there's any way to use the javascript function to somehow recognise the otg, but again the permissions could be an issue.
might be worth posting in the javascript threads, see if anyone has a solution.
hope it works out.
Hello GeoDev, thanks for answering me.
I had already posted in the javascript area because I imagine that really the best way to solve the problem, but I haven't had an answer yet.
I don't know the language, so I can't even try a solution, but I did a lot of research on the subject and found this link. Perhaps it can serve as a reference for something.