File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ pub const XBOX_ONE_S_LATEST_FW_PRODUCT_ID: u16 = 0x0b20; // 2848
21
21
pub const XBOX_WIRELESS_CONTROLLER_USB_PRODUCT_ID : u16 = 0x0b12 ; // 2834
22
22
pub const XBOX_WIRELESS_CONTROLLER_BT_PRODUCT_ID : u16 = 0x0b13 ; // 2835
23
23
24
+ // Xbox Elite Wireless Controller Series 2
25
+ pub const XBOX_WIRELESS_ELITE_CONTROLLER_USB_PRODUCT_ID : u16 = 0x0b00 ;
26
+ pub const XBOX_WIRELESS_ELITE_CONTROLLER_BT_PRODUCT_ID : u16 = 0x0b05 ;
27
+ pub const XBOX_WIRELESS_ELITE_CONTROLLER_BTLE_PRODUCT_ID : u16 = 0x0b22 ;
28
+
24
29
// pub const XBOX_ONE_REPORT_BT_SIZE: usize = 64;
25
30
26
31
fn get_xbox_controller_name ( product_id : u16 ) -> & ' static str {
@@ -30,6 +35,9 @@ fn get_xbox_controller_name(product_id: u16) -> &'static str {
30
35
XBOX_ONE_S_LATEST_FW_PRODUCT_ID => "Xbox One S" ,
31
36
XBOX_WIRELESS_CONTROLLER_USB_PRODUCT_ID => "Xbox Series X/S" ,
32
37
XBOX_WIRELESS_CONTROLLER_BT_PRODUCT_ID => "Xbox Series X/S" ,
38
+ XBOX_WIRELESS_ELITE_CONTROLLER_USB_PRODUCT_ID => "Xbox Elite 2" ,
39
+ XBOX_WIRELESS_ELITE_CONTROLLER_BT_PRODUCT_ID => "Xbox Elite 2" ,
40
+ XBOX_WIRELESS_ELITE_CONTROLLER_BTLE_PRODUCT_ID => "Xbox Elite 2" ,
33
41
_ => "Xbox Unknown" ,
34
42
}
35
43
}
You can’t perform that action at this time.
0 commit comments