Skip to content

Commit

Permalink
[Windows] Xbox controller name mismatch #567
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Laurendeau committed Jun 10, 2018
1 parent af6423d commit b89dbaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/gimxcontroller/include/x360.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef WIN32
#define X360_NAME "Microsoft X-Box 360 pad"
#else
#define X360_NAME "X360 Controller"
#define X360_NAME "XInput Controller"
#endif

#define X360_USB_INTERRUPT_ENDPOINT_IN 1
Expand Down
4 changes: 4 additions & 0 deletions shared/gimxcontroller/include/xone.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
#define XONE_VENDOR 0x045e
#define XONE_PRODUCT 0x02d1

#ifndef WIN32
#define XONE_NAME "Microsoft X-Box One pad"
#else
#define XONE_NAME "XInput Controller"
#endif

#define XONE_USB_INTERRUPT_ENDPOINT_IN 1
#define XONE_USB_INTERRUPT_ENDPOINT_OUT 1
Expand Down
2 changes: 1 addition & 1 deletion shared/gimxinput
Submodule gimxinput updated 3 files
+1 −11 include/ginput.h
+13 −63 src/ginput.c
+19 −1 src/linux/js.c

0 comments on commit b89dbaf

Please sign in to comment.