Hi,
I was wondering if it is possible to create a program that can control mouse movement as well as perform some keyboard button functionality at the same time?
Hi,
I was wondering if it is possible to create a program that can control mouse movement as well as perform some keyboard button functionality at the same time?
Hi Hari,
Yes that is possible. (ex. it is done in the nRFready Smart Remote reference design )
You can use the HID Keyboard and HID Mouse applications as reference, and combine those two.
(for nRF52840, we also have a USB HID Composite Example that shows how to use two HID classes as one composite device)
In the HID mouse example, parsing into function hids_init(), I can see lots of mouse dependent configurations like,
hid_init_obj.is_mouse,
hid_init_obj.inp_rep_count,
hid_init_obj.p_inp_rep_array, so and so
Now am like confused with all these settings. How to deal with these if we are planning to use both?
In the HID mouse example, parsing into function hids_init(), I can see lots of mouse dependent configurations like,
hid_init_obj.is_mouse,
hid_init_obj.inp_rep_count,
hid_init_obj.p_inp_rep_array, so and so
Now am like confused with all these settings. How to deal with these if we are planning to use both?