Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/include/razermouse_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef __HID_RAZER_MOUSE_H
#define __HID_RAZER_MOUSE_H

#define USB_DEVICE_ID_RAZER_COBRA 0x00A3
#define USB_DEVICE_ID_RAZER_OROCHI_2011 0x0013
#define USB_DEVICE_ID_RAZER_DEATHADDER_3_5G 0x0016
#define USB_DEVICE_ID_RAZER_ABYSSUS_1800 0x0020
Expand Down
1 change: 1 addition & 0 deletions src/lib/razerdevice.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ bool is_keyboard(IOUSBDeviceInterface **usb_dev)

switch (product)
{
case USB_DEVICE_ID_RAZER_COBRA:
case USB_DEVICE_ID_RAZER_NOSTROMO:
case USB_DEVICE_ID_RAZER_ORBWEAVER:
case USB_DEVICE_ID_RAZER_ORBWEAVER_CHROMA:
Expand Down
4 changes: 4 additions & 0 deletions src/lib/razermouse_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ static int razer_get_report(IOUSBDeviceInterface **usb_dev, struct razer_report
return razer_get_usb_response(usb_dev, index, request_report, index, response_report, RAZER_NEW_MOUSE_RECEIVER_WAIT_MIN_US);
break;

case USB_DEVICE_ID_RAZER_COBRA:
return razer_get_usb_response(usb_dev, index, request_report, index, response_report, RAZER_VIPER_MOUSE_RECEIVER_WAIT_MIN_US);
break;

default:
return razer_get_usb_response(usb_dev, index, request_report, index, response_report, RAZER_MOUSE_WAIT_MIN_US);
}
Expand Down