Closed mayanksuman closed 3 years ago
Thank you. Will do a review in the upcoming week 👍
Hi @jahnf, Thanks for the review. I have implemented all the changes. However during rebasing, I rewrote the history by mistake.
I have made a new pull request (#137 ) with clean history (and all the changes recommended).
I am closing this pull request to avoid any confusion. Please review the new PR #137.
This commit introduces separate read and write QSocketNotifier for subdevices. Write notifier is required for sending data to HID subdevice. Read notifier for HID subdevice will help in reading data from device like battery percentage and configuring the spotlight device like configuring it to send long press events for Next and previous button (See #71).
This commit also fixes #133 as read notifier for HID subdevice do not send activated signal continuosly after a write operation. Rather the on activated signal, the device is read (However it currently does not do anything with the read value).
Fixes #133