aboutsummaryrefslogtreecommitdiff
path: root/nk_pugl
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-10 17:02:03 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-10 17:02:03 +0100
commit53f577440330040922013ab361c939895f2a2f92 (patch)
treeb130fc0ed540e7c4698a1274938dad71bf3bcf7f /nk_pugl
parent5d7be5c99bb7766a8d907b3f55955ea0dc6371b4 (diff)
parent76702ffd863b1ffa5eaa84f5d6bf96ac2fbf1bc4 (diff)
downloadsherlock.lv2-53f577440330040922013ab361c939895f2a2f92.tar.xz
Merge commit '76702ffd863b1ffa5eaa84f5d6bf96ac2fbf1bc4'
Diffstat (limited to 'nk_pugl')
-rw-r--r--nk_pugl/nk_pugl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nk_pugl/nk_pugl.h b/nk_pugl/nk_pugl.h
index 0c67581..94961a9 100644
--- a/nk_pugl/nk_pugl.h
+++ b/nk_pugl/nk_pugl.h
@@ -477,6 +477,9 @@ _nk_pugl_other_key(struct nk_context *ctx, const PuglEventKey *ev, int down)
nk_input_key(ctx, NK_KEY_TEXT_LINE_END, down);
} break;
}
+
+ if(down)
+ nk_input_char(ctx, ev->character + 96);
}
else // !control
{