• Hello!

    I just tried to use a Puck.js I still had laying around here as a BLE keyboard for my Mac. I tried the example from the docs (https://www.espruino.com/BLE+Keyboard), wrote that into flash, powered the Puck off and on again, paired it with my Mac...but the Mac did not recognize it as a keyboard and pressing the Puck button did not "type" the two keys "a" and "A"

    Is there any magic "trick" to make it work (like the one once needed for Windows 11)?

  • what I forgot: I also flashed the newest firmware

  • Interesting...

    AI told me to add the line

    Bluetooth.setConsole(true);
    

    at the beginning to keep the console connection.

    Now, I get the error message:

    Uncaught TypeError: Expecting Number or iterable, got undefined
     at line 3 col 275 in .bootcde
    ...0,0,0],function(){a&&a()})})
                                  ^
    in function "tap" called from line 22 col 4 in .bootcde
      });
       ^
    in function called from system
    
  • ok, what I found so far: it may be a problem with macOS 13.6.1.

    Under 15.0.1, the Puck was recognized as a BLE keyboard, but started the macOS "Keyboard Assistent" to "identify" the keyboard.

    This means, that (for macOS) the code of the Puck has to be a bit more complicated in order to pass the assistant first...(sigh)

    At least, I have a working basis now...

  • I heard about this keyboard assistant causing issues... But I believe you don't actually have to go through the dialog to use the device, and can just cancel it?

  • latest news: I just managed to pair my Puck with one of my Macs and get keys sent to them. Details will follow soon

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Puck.js as HID keyboard not working on Mac mini M1 2020 with macOS Ventura 13.6.1

Posted by Avatar for Andreas_Rozek @Andreas_Rozek

Actions