mwyborski / Linux-Magic-Trackpad-2-Driver

503 stars 85 forks source link

hid_register_report() expects new application field. #15

Closed rohitpid closed 6 years ago

rohitpid commented 6 years ago

hid_register_report() expects an unsigned int for application. Set to 0 to match what mainline hid_magicmouse does.

Tested on 4.18-rc5 running on ubuntu 18.04. Working the same as on 4.17 kernels.

mwyborski commented 6 years ago

@rohitpid Thank you very much!

rohitpid commented 6 years ago

The only thing I'd mention is that you might want to update the README to say this now only works for 4.18 kernels and above.

mwyborski commented 6 years ago

@rohitpid yes, you are right. I will update it now.