Puck as remote mute button for Zoom on iOS #3313
Replies: 8 comments
-
|
Posted at 2020-03-29 by Robin Sun 2020.03.29
Hi @user110828 Neil, is the inquiry on how to extend one of the returned objects in order to add a new user defined modifier key?
Example
Reference
|
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by Neil_ Thanks Robin appreciate the links I'll take a look at these, this evening I have updated the module "ble_hid_keyboard.js" locally to add the keys i need but my Web IDE on Mac doesn't seem to have projects under settings for me to load local modules! Thanks again for your help |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by @gfwilliams Is it possible that what you need is just But if you want to mess with modules yourself, the easiest method is just to add it to your existing code: |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-30 by Neil_ Thank you Gordon for your response, Apologies JS is relatively new to me, but your tip on just using MODIFY was just what was needed, once i figured out how to concatenate the keys it worked liked a charm for me. I have one remaining issue in that my iPad now warns me in bluetooth settings, when the Puck is connected to it, I'm guess its not a recognised bluetooth vendor ID or something? Error on iPad Very pleased with the Puck.js have many more ideas for it! Many thanks |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-31 by @gfwilliams
Wow, that's new! Do you have a screenshot? I have a feeling that may be Apple's way of saying: "this device manufacturer hasn't paid us to be iOS certified" |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-03-31 by Neil_ Hi Gordon, I've attached the screen shot from my iPad plus my code in case anything might be causing it in there! I have tried playing with the NRF.setServices values to see if it makes any difference but still the same result. Many Thanks
|
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-01 by @gfwilliams Thanks! What you're doing sounds perfectly fine. I guess you tried without the magic Apple service? Only thing I can think is maybe it's complaining about the connection interval? Espruino uses a fast connection interval normally and drops down after 1-2 minutes of inactivity. You could force it to use a lower connection interval with something like |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-03 by dandelany Hi Neil - Thanks for the cool idea. I was killing time browsing the forum because I was in a Webex meeting waiting for a late attendee. In just the few minutes waiting for him to show up, I was able to find my Puck, modify your code to work for Webex, upload it, & now I have a working mute button too! For anyone else who wants to use it with Webex - the Webex keyboard shortcut is CMD + SHIFT + M, so just change FWIW, I'm using it on a Macbook and I don't get any Bluetooth warning like the iOS one noted above. -Dan |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-03-29 by Neil_
Hi there,
I bought a puck the other day to learn about JS, and thought my first project would be to try and make a remote mute button to use with Zoom conferencing on my ipad, I found that Zoom lets you use a keyboard shortcut "command + shift + A" so as it's an apple device it requires the command key which is equal to the Windows button on a PC.
In the module ble_hid_keyboard.js i can see no reference to the Windows key so was wondering how I would go about coding this, assume the module would need to support this?
Appreciate any ideas
Many Thanks
Neil
Beta Was this translation helpful? Give feedback.
All reactions