Did you experienced too that the Keyboard State or On Keyboard logic nodes are ok on a desktop, and nothing happens on a laptop (same Windows 10 on both) ?
(even if connecting an external keyboard on the laptop too or using the windows 10 virtual keyboard …)
Note that the Haxe keyboard = Input.getKeyboard(); is still working well
New : same problem when using the On Event with the name of an event coming from the Script Event in the Armory2D … going perfectly well on desktop only.
No.
same thing using a clic on a button set in UI/Armory2D
and again same thing using external mouse.
I would like to set a low level haxe byte acquisition to verify what’s hapenning, and maybe Lubos has already done it, as generally it’s necessary to have one of this tool when you make test of portability on different platforms.
Check out kha.input.Keyboard.notify(). This will allow you to listen to all keyboard events that Kha is detecting.
Also have you tried doing a HashLink C export, building it, and testing that? That will help narrow it down to where the issue is coming from. If it is a problem of Kha not getting the Keyboard input at all, then debugging that will require debugging the C/C++ code in Kore and/or Krom. That is what actually gets the input bytes from the hardware.
Thanks for info @zicklag , I will try that now I have some time to do more tests … but it is still an alert that portability on a platform, even if it is so close between a desktop and a laptop under the same W10, does not work the first time