Added constants for RVL-CNT-01-TR detection in MacOS Bluetooth format - support not implemented yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
2336131f8d
commit
8b3b3a80fe
@ -151,9 +151,13 @@
|
||||
* 00000000 00100101 00000100
|
||||
*/
|
||||
#ifdef WIIUSE_MAC
|
||||
#define WM_DEV_MINOR_CLASS 0x01
|
||||
#define WM_DEV_MINOR_CLASS 0x01 // Regular wiimote
|
||||
#define WM_DEV_MAJOR_CLASS 0x05
|
||||
#define WM_DEV_MAJOR_SERVICE 0x01
|
||||
|
||||
#define WM_PLUS_DEV_MINOR_CLASS 0x02 // For the newer RVL-CNT-01-TR (MotionPlus Inside)
|
||||
#define WM_PLUS_DEV_MAJOR_CLASS 0x05
|
||||
#define WM_PLUS_DEV_MAJOR_SERVICE 0x00
|
||||
#else
|
||||
#define WM_DEV_CLASS_0 0x04 // Regular wiimote
|
||||
#define WM_DEV_CLASS_1 0x25
|
||||
@ -164,8 +168,8 @@
|
||||
#define WM_PLUS_DEV_CLASS_2 0x00
|
||||
#endif
|
||||
#define WM_VENDOR_ID 0x057E
|
||||
#define WM_PRODUCT_ID 0x0306
|
||||
#define WM_PLUS_PRODUCT_ID 0x0330
|
||||
#define WM_PRODUCT_ID 0x0306 // Regular wiimote
|
||||
#define WM_PLUS_PRODUCT_ID 0x0330 // For the newer RVL-CNT-01-TR (MotionPlus Inside)
|
||||
|
||||
/* controller status stuff */
|
||||
#define WM_MAX_BATTERY_CODE 0xC8
|
||||
|
Loading…
x
Reference in New Issue
Block a user