Processing HID read events from device will help in implementing next and back hold events (#71, #85) and battery status of spotlight device. This pull request uses the code from pull request #135 for implementing read and write notifier on Hidraw device.
Code in this PR can configure the Spotlight device to send next and back hold event (hence, fixes #71) and uses the hold events to move cursor on screen (as demo) but connecting it to scroll event (#85) is remaining.
This pull request is for review and suggestion purpose currently.
Remaining work:
Add two default rows in Input Mapper widget for Next hold and Back Hold.
Add a category to Input Mapper Actions having two values: General and Repeated. Currently available actions are all of general category as repeated calling is not required to complete them. However, 'Repeated' actions (like scrolling, moving mouse, change volume; See #14 ) etc. require repeated calls.
When a button is on hold press, general actions will be called only once, however, repeated actions will called till the button is on hold. Repeated actions will only be available for Next hold and Back hold inputs.
Processing HID read events from device will help in implementing next and back hold events (#71, #85) and battery status of spotlight device. This pull request uses the code from pull request #135 for implementing read and write notifier on Hidraw device.
Code in this PR can configure the Spotlight device to send next and back hold event (hence, fixes #71) and uses the hold events to move cursor on screen (as demo) but connecting it to scroll event (#85) is remaining.
This pull request is for review and suggestion purpose currently.
Remaining work: