Hello all, I am currently working on an application that requires two mice to control two motors in Matlab. I did some research online and found that Windows RawInput API can be used to detect and distinguish inputs from multiple Hardware input Devices(HID). But I have no clue on how to use RawInput Api in Matlab. Appreciate any help. Thanks.