PdWebParty icon indicating copy to clipboard operation
PdWebParty copied to clipboard

keyboard input?

Open yannseznec opened this issue 3 years ago • 2 comments

the [key] and [keyup] objects in a patch don't seem to work in PdWebParty, either locally or when shared.

here's an attempt to make it work: https://pdwebparty.herokuapp.com/?url=https://raw.githubusercontent.com/yannseznec/PdWebPartyTutorials/main/key_Test.pd

I guess the browser is blocking keyboard input? so I'm not sure if it's possible to fix.

yannseznec avatar Apr 08 '21 17:04 yannseznec

i made the experience that some keys (in my case enter / shift) have a different keycode with webassembly, it is not blocked. i found the right keycodes by printing it in webassembly (in the browser).

Jonathhhan avatar May 15 '21 14:05 Jonathhhan

i tested it, and can confirm that there isnt any keyinput. but with ofelia / emscripten it works.

Jonathhhan avatar May 15 '21 22:05 Jonathhhan