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.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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.