portable devices - USB - and other horrors
- Posted by jessedavis Nov 21, 2019
- 1529 views
I need some help. Devices in Euphoria. I need to interface with the keyboard and two additional serial (USB) devices. I do not have access to the machines nor do I know what else is attached to them. I need to know how (under Euphoria) to generate a list of system attached devices with device numbers or addresses that I can then use in an open(??,"r") instruction to attach to the device by generating a file number. Perhaps a system_exec() command to the system to generate a file which I can then open and parse?? Ultimately I want to to end up with a command:
sequence txt = gets(fn)
It's the "fn" that's causing the difficulty.
Please remember that things like device_view, control panel\device_manager, or Windows Portable Devices, etc. will probably not work as user intervention is required. It's probably easy and I am overly complicating it!
Ah, the good old days of "com 2:"
Thanks in advance for any guidance you can offer.
Regards,
jd