Skip to content

Commit

Permalink
Added windows support for Logitech G533
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMarangoni committed Apr 20, 2022
1 parent 74b6505 commit 86011ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/devices/logitech_g533.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ void g533_init(struct device** device)
strncpy(device_g533.device_name, "Logitech G533", sizeof(device_g533.device_name));

device_g533.capabilities = B(CAP_SIDETONE) | B(CAP_BATTERY_STATUS);
device_g533.capability_details[CAP_SIDETONE] = (struct capability_detail) { .usagepage = 0xff00, .usageid = 0x1, .interface = 3 };
device_g533.capability_details[CAP_BATTERY_STATUS] = (struct capability_detail) { .usagepage = 0xff43, .usageid = 0x202, .interface = 3 };
device_g533.request_battery = &g533_request_battery;
device_g533.send_sidetone = &g533_send_sidetone;

Expand Down

0 comments on commit 86011ab

Please sign in to comment.