BabylonNative icon indicating copy to clipboard operation
BabylonNative copied to clipboard

BabylonNative should support keyboard input

Open chrisfromwork opened this issue 4 years ago • 3 comments

For questions, please use the forum.

Is your feature request related to a problem? Please describe. Samples (UWP and Win32 Playground etc) don't route key presses to the engine/js logic

Describe the solution you'd like Samples should support some form of keyboard input

Describe alternatives you've considered If I understand correctly, there are no work arounds for this because keyboard events don't reach the js engine

Additional context Keyboard input logic should go into NativeInput compared to being some sort of one off samples workaround so that we can consume it in babylonreactnative as well

chrisfromwork avatar May 07 '21 22:05 chrisfromwork

If anyone gets to this, please don't spend time adding keyboard support to the Playground's "sample" code for dealing with input. Rather, we should add keyboard support to NativeInput and finish the PR to switch the Playground apps over to using NativeInput instead of sample code for handling input. https://github.com/BabylonJS/BabylonNative/pull/610

ryantrem avatar May 07 '21 22:05 ryantrem

Overall, this kind of work is tracked by #173 which has been so far mostly on the Babylon.js side of things.

bghgary avatar May 07 '21 23:05 bghgary

@tymlipari Can you check on this?

bghgary avatar May 11 '21 17:05 bghgary

supercede by #1143

thomlucc avatar Nov 17 '22 19:11 thomlucc