Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SWTOR Product IDs to device type checks #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 3 additions & 0 deletions src/lib/razerdevice.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ bool is_mouse(IOUSBDeviceInterface **usb_dev)
case USB_DEVICE_ID_RAZER_ABYSSUS_1800:
case USB_DEVICE_ID_RAZER_MAMBA_2012_WIRED:
case USB_DEVICE_ID_RAZER_MAMBA_2012_WIRELESS:
case USB_DEVICE_ID_RAZER_SWTOR_MOUSE_V2:
case USB_DEVICE_ID_RAZER_NAGA_2012:
case USB_DEVICE_ID_RAZER_IMPERATOR:
case USB_DEVICE_ID_RAZER_OUROBOROS:
Expand Down Expand Up @@ -155,6 +156,7 @@ bool is_mouse_dock(IOUSBDeviceInterface **usb_dev)

switch (product)
{
case USB_DEVICE_ID_RAZER_SWTOR_MOUSE_CHARGING_DOCK:
case USB_DEVICE_ID_RAZER_MOUSE_CHARGING_DOCK:
return true;
}
Expand Down Expand Up @@ -202,6 +204,7 @@ bool is_headphone(IOUSBDeviceInterface **usb_dev)

switch (product)
{
case USB_DEVICE_ID_RAZER_SWTOR_HEADSET:
case USB_DEVICE_ID_RAZER_KRAKEN_KITTY_EDITION:
case USB_DEVICE_ID_RAZER_KRAKEN_V2:
case USB_DEVICE_ID_RAZER_KRAKEN_ULTIMATE:
Expand Down