This commit is contained in:
drug007 2018-07-06 10:05:59 +03:00 committed by GitHub
parent aeb1826913
commit f38f0ccfb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,7 +317,7 @@ while (GetEvent(&evt)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#### Usage #### Usage
Input state needs to be provided to nuklear by first calling `nk_input_begin` Input state needs to be provided to nuklear by first calling `nk_input_begin`
which resets internal state like delta mouse position and button transistions. which resets internal state like delta mouse position and button transitions.
After `nk_input_begin` all current input state needs to be provided. This includes After `nk_input_begin` all current input state needs to be provided. This includes
mouse motion, button and key pressed and released, text input and scrolling. mouse motion, button and key pressed and released, text input and scrolling.
Both event- or state-based input handling are supported by this API Both event- or state-based input handling are supported by this API