Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyboard input? #5

Open
yannseznec opened this issue Apr 8, 2021 · 2 comments
Open

keyboard input? #5

yannseznec opened this issue Apr 8, 2021 · 2 comments

Comments

@yannseznec
Copy link

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.

@Jonathhhan
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants