No keyboard input when building to executable #283
entangledothers
announced in
! Welcome - readme first!
Replies: 1 comment 2 replies
-
hey, i changed some things how electron handles keyboard input and this fixed the room template for me. sadly you will have to export this to a different (new) repository to get the fix, but please give it a try! we are thinking of moving this away from github (to also be able to solve the m1/arm issue that you posted) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been building an experience with the Physics Room template, which in-editor and in-browser works perfectly. However when building as an executable (tested on win & mac) only the mouse-look and mouse-click events work*, no keyboard input seems to register.
Does anyone have an idea of why electron doesn't seem to be handling any keyboard input? The experience itself renders fine and I've tested both with the default template with no edits as well as the customised scene I've been building.
This has been tested on windows 10 as well as M1 mac 12.4 (running intel build in rosetta mode).
*
so for example the mobile overlay for locomotion in the default physics room scene can be manipulated via the mouse cursor, but the WASD keys do not work.Beta Was this translation helpful? Give feedback.
All reactions