How to simulate HOME key value in HID?

Hi,

I'm using HID mouse example in SDK17.02.

How to simulate HOME key in HID when the device connected with a phone?

Parents Reply
  • I am using CircuitPython from adafruit as the firmware on a self made base board with a nRF52840
    In CircuitPython I am using:

    from adafruit_hid.consumer_control import ConsumerControl

    ....


    self.cc = ConsumerControl(hid.devices)


    ....

    self.cc.send_cc(0x223)


    I don't know (think) this helps you much if you are not using CP in your project.
    But anyway... I am very happy with the CP environment.

Children
No Data
Related