From 1365dd607f51217017f6de4c7246626a6fdd07e8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Apr 2012 20:37:54 +0000 Subject: Add puglIgnoreKeyRepeat and implement on X11. Add proper command line options for pugl_test. --- pugl/pugl.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index 45e1653..58b2101 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -249,6 +249,12 @@ puglGetHandle(PuglView* view); int puglGetModifiers(PuglView* view); +/** + Ignore synthetic repeated key events. +*/ +void +puglIgnoreKeyRepeat(PuglView* view, bool ignore); + /** Set the function to call when the window is closed. */ -- cgit v1.2.1