I've been trying to use my Puck.js to emulate Lenovo keyboard microphone on/off button (f4), but cannot get it to work. I suppose that I need to somehow first tell the computer that my Puck.js is a lenovo keyboard and then send a right code.
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.
Hi!
I've been trying to use my Puck.js to emulate Lenovo keyboard microphone on/off button (f4), but cannot get it to work. I suppose that I need to somehow first tell the computer that my Puck.js is a lenovo keyboard and then send a right code.
I can see from the lenovo drivers that the code I should send is "0x00f1".
https://coral.googlesource.com/linux-imx/+/refs/tags/4-2/drivers/hid/hid-lenovo.c
Any ideas regarding this?
Here's my current code: