Hi. I am using Armory 0.6 for win.
I used the following nodes to detect keyboard input.
When I checked all keys except the [back] key, [return] [comma] [period] could not be detected.
I checked both the [On keyboard] node and the [Keyboard state] node, but they were the same.
Look in the
[input_on_keyboard.py] file and
[input_keyboard.py] file in the
[Armory/armsdk/blender/arm/logicnode] folder.
Extract only where it is necessary
(’.’, ‘.’, ‘.’),
(’,’, ‘,’, ‘,’),
(‘return’, ‘return’, ‘return’),
(’ *1 ‘,’ *2 ‘,’ *3 '),
*1 Variable name of [kha.input.KeyCord].
*2 Text of list in logic node.
*3 I do not know.
[Period] and [comma] can be detected correctly if the following change is made.
(‘period’, ‘.’, ‘.’),
(‘comma’, ‘,’, ‘,’),
If you match the form, you should do something like.
(‘period’, ‘period’, ‘period’),
(‘comma’, ‘comma’, ‘comma’),
This solves [period] and [comma] but not [return].
The variable name of [return] of [kha.input.KeyCode] is [Return].
It was useless to try as follows.
(‘Return’, ‘return’, ‘return’),
Can you detect [return]?Is there a way to respond?