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).
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