On Sat, Mar 27, 2021 at 9:06 PM John Chen <[email protected]> wrote:
> +                       hidinput_setup_battery(device, HID_INPUT_REPORT, 
> field);
> +                       usage->type = EV_PWR;
> +                       device->battery_min = 0;
> +                       device->battery_max = 100;

I just realized that this won't compile without CONFIG_HID_BATTERY_STRENGTH.

Reply via email to