Re: [PATCH v7 1/3] HID: logitech-hidpp: Support translations from short to long reports

2019-10-22 Thread Mazin Rezk
On Tuesday, October 22, 2019 6:15 AM, Benjamin Tissoires wrote: > Hi Mazin, > > On Sun, Oct 20, 2019 at 6:41 AM Mazin Rezk mn...@protonmail.com wrote: > > > This patch allows short reports to be translated into long reports. > > hidpp_validate_device now returns a u8 instead of a bool which

Re: [PATCH v7 1/3] HID: logitech-hidpp: Support translations from short to long reports

2019-10-22 Thread Benjamin Tissoires
Hi Mazin, On Sun, Oct 20, 2019 at 6:41 AM Mazin Rezk wrote: > > This patch allows short reports to be translated into long reports. > > hidpp_validate_device now returns a u8 instead of a bool which represents > the supported reports. The corresponding bits (i.e. > HIDPP_REPORT_*_SUPPORTED) are

[PATCH v7 1/3] HID: logitech-hidpp: Support translations from short to long reports

2019-10-19 Thread Mazin Rezk
This patch allows short reports to be translated into long reports. hidpp_validate_device now returns a u8 instead of a bool which represents the supported reports. The corresponding bits (i.e. HIDPP_REPORT_*_SUPPORTED) are set if an HID++ report is supported. If a short report is being sent and