You are reading a single comment by @Sebastian and its replies. Click here to read the full conversation.
  • You are using HID to send the key sequence I suppose? You could post the code you have so far so we can better see what you're working with.

    I don't own a Puck, but if it's the same or similar functions than on the Bangle, you can add a "modifier" key to the HID report that is sent, i.e. instead of just sending "m" you can send "LCtrl+LShift+m" for example. See for some details here. The values for the modifiers are actually bits that you can add up, so to use LCtrl+LShift you would use 3 in the modifier field. Don't forget to send another report with all 0's to release the keys again.

    For the LED you would simply want to create a variable that tracks the LED's state, i.e. switch it to 1 when you switch the LED on and vice versa.

    Hope that helps.

About

Avatar for Sebastian @Sebastian started