summaryrefslogtreecommitdiff
path: root/desktop/grab.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/grab.h')
-rw-r--r--desktop/grab.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/grab.h b/desktop/grab.h
new file mode 100644
index 0000000..762f9d8
--- /dev/null
+++ b/desktop/grab.h
@@ -0,0 +1,15 @@
+#ifndef GRAB_H__
+#define GRAB_H__
+
+enum HotkeyEvent {
+ HK_PREV, HK_NEXT, HK_PAUSE, HK_PLAY,
+ HOTKEYS_COUNT
+};
+struct Hotkey {
+ enum HotkeyEvent event;
+ int keycode;
+};
+
+void grab_init();
+
+#endif