From 119b623640254f425a89a3f13ce5cbe633ead9c2 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Thu, 1 Feb 2024 14:09:26 +0100 Subject: Support for keycode input --- xutil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xutil.h') diff --git a/xutil.h b/xutil.h index 609d20c..e067edd 100644 --- a/xutil.h +++ b/xutil.h @@ -72,6 +72,7 @@ namespace x { // the callback on every hit of that key. Ungrabs and returns when the // callback returns true. void globalKeyWatch(Display *dpy, Keysym keysym, std::function callback); + void globalKeyWatch(Display *dpy, Keycode keycode, std::function callback); // Grab the whole keyboard globally, and run the callback on every keyboard // key event. Ungrabs and returns when the callback returns true. -- cgit v1.2.3-70-g09d2