Naninovel supports basic keyboard navigation by default via the Legacy Input Manager (and the new Input System if using it instead). You can find the legacy bindings in the Input Manager under Project Settings. If you want to trigger buttons with an arbitrary key, consider setting up samplers for the buttons. An example of such can be found in the Inventory example project mentioned in the Input Processing guide: https://naninovel.com/guide/input-proce ... processing
Naninovel supports basic keyboard navigation by default via the Legacy Input Manager (and the new Input System if using it instead). You can find the legacy bindings in the Input Manager under Project Settings. If you want to trigger buttons with an arbitrary key, consider setting up samplers for the buttons. An example of such can be found in the Inventory example project mentioned in the Input Processing guide: https://naninovel.com/guide/input-proce ... processing
Thank you for your answer, and I have additional questions.
Does naninovell provide the ability to add keyboard input to the @choice function?
Like classical RPGs, I want to select a choice with a numeric key, or I want to control the selection button action that sometimes appears with a WASD key.
Choices are meant for simple story navigation so technically it's not ideal to go beyond that - but you are free to add custom scripts to the buttons, including ones for activating different input samplers and have them invoke select upon input activation.
Choices are meant for simple story navigation so technically it's not ideal to go beyond that - but you are free to add custom scripts to the buttons, including ones for activating different input samplers and have them invoke select upon input activation.
Thank you for your reply.
I want to make sure that I understand well because I am not good at English.
You cannot assign keyboard input to @choice.
If you want to use keyboard input, you should make your own buttons and use them.
Yes, you can make a button for each of the keyboard input you want to activate. You should be able to make a custom script with a public/serialized string value in which you can specify the sampler you want to activate and change it with each variation.