Skip to content

Commit

Permalink
Oops, accidentally removed some critical code...
Browse files Browse the repository at this point in the history
  • Loading branch information
emoose committed Dec 12, 2018
1 parent c8f09ee commit c618f38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Xb2XInput/XboxController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ libusb_device_handle* XboxController::OpenDevice()
if (exists)
continue;

ret = libusb_open_device_with_vid_pid(NULL, desc.idVendor, desc.idProduct);
if (!ret)
continue;

int port_num = 4;
for (int i = 0; i < 4; i++)
{
Expand Down

0 comments on commit c618f38

Please sign in to comment.