Skip to content

Commit

Permalink
corsair daemon - specify usagepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Sapd committed May 7, 2023
1 parent ca5090a commit af423f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devices/corsair_void.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ void void_init(struct device** device)
device_void.capability_details[CAP_BATTERY_STATUS] = (struct capability_detail) { .usagepage = 0xffc5, .usageid = 0x1, .interface = 3 };
device_void.capability_details[CAP_NOTIFICATION_SOUND] = (struct capability_detail) { .usagepage = 0xffc5, .usageid = 0x1, .interface = 3 };
device_void.capability_details[CAP_LIGHTS] = (struct capability_detail) { .usagepage = 0xffc5, .usageid = 0x1, .interface = 3 };
device_void.capability_details[CAP_DAEMONIZE] = (struct capability_detail) { .usagepage = 0xff00, .usageid = 0x1, .interface = 3 };

device_void.send_sidetone = &void_send_sidetone;
device_void.request_battery = &void_request_battery;
Expand Down

0 comments on commit af423f1

Please sign in to comment.