lg4l icon indicating copy to clipboard operation
lg4l copied to clipboard

Fixed G510 keyboard module

Open guidugli opened this issue 7 years ago • 1 comments

The previous hid-g510.c file was purely based on g13 driver but G510 does not have the same USB reports as g13. In this version I fixed the driver and now it is able to change keyboard background color and set the led of M keys. But using with gnome15 is not working but it seems that some work is needed on driver_kernel.py. I will continue to work to get the driver working with gnome15, but want to share what I have so far.

By the way, changed a bit hid-gcore to check for null pointers. If, for some reason, the probe fails, it would generate a null pointer exception during disconnect. With these checks in place, this does not happen.

guidugli avatar Nov 27 '17 20:11 guidugli

Thanks for creating this PR. I hope I'll get some time to test it during the holidays

CMoH avatar Dec 19 '17 02:12 CMoH