summaryrefslogtreecommitdiff
path: root/hw/usb/hid-logitech-hidpp20.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/hid-logitech-hidpp20.c')
-rw-r--r--hw/usb/hid-logitech-hidpp20.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb/hid-logitech-hidpp20.c b/hw/usb/hid-logitech-hidpp20.c
index b616989379..7f679d7828 100644
--- a/hw/usb/hid-logitech-hidpp20.c
+++ b/hw/usb/hid-logitech-hidpp20.c
@@ -317,11 +317,11 @@ static const HidppFeature features_t650[] = {
void hidpp20_init_features(LHidDevice *hd) {
switch (hd->info.wireless_pid) {
- case 0x4013:
+ case WPID_M525:
hd->info.features = features_m525;
hd->info.features_count = ARRAY_SIZE(features_m525);
break;
- case 0x4101:
+ case WPID_T650:
hd->info.features = features_t650;
hd->info.features_count = ARRAY_SIZE(features_t650);
break;