This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Zephyr HID mouse and keyboard sample

I need to implement a mouse and keyboard (combo) HOG device.

There are mouse and keyboard samples, but may I integrate them in just one?

Is there any samplecode?

I have already write the reports data describing mouse and keyboard, each one with its REPORT ID, but it is not working...

Thanks in advance!

Aleks

Parents
  • Hi Aleks

    It should be possible to combine the peripheral_hids_mouse and peripheral_hids_keyboard samples into one, but it requires a bit of manual cut and paste to make it work. 

    Essentially you need to define both the mouse and keyboard in one large report map, and setup the rest of the hids init accordingly. 

    Alternatively it should be possible to configure the nrf_desktop application to run mouse and keyboard on the same device. For more information about the nrf_desktop reference design, please have a look here

    Best regards
    Torbjørn

Reply
  • Hi Aleks

    It should be possible to combine the peripheral_hids_mouse and peripheral_hids_keyboard samples into one, but it requires a bit of manual cut and paste to make it work. 

    Essentially you need to define both the mouse and keyboard in one large report map, and setup the rest of the hids init accordingly. 

    Alternatively it should be possible to configure the nrf_desktop application to run mouse and keyboard on the same device. For more information about the nrf_desktop reference design, please have a look here

    Best regards
    Torbjørn

Children
No Data
Related