aboutsummaryrefslogtreecommitdiff
path: root/src/hotkey.h
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2018-07-20 19:26:15 +0200
committerkoekeishiya <aasvi93@hotmail.com>2018-07-20 19:26:15 +0200
commit0b03bdb56667fc3efcbf2624145409436cac9b78 (patch)
treebb5da0de9f7e18d7bcffda48f39acafd4c7a8df6 /src/hotkey.h
parentbee00428694c093baa805858e093815bd59ff112 (diff)
downloadskhd-0b03bdb56667fc3efcbf2624145409436cac9b78.tar.gz
skhd-0b03bdb56667fc3efcbf2624145409436cac9b78.zip
#44 synthesize keypress; skhd -k "alt - h"
Diffstat (limited to 'src/hotkey.h')
-rw-r--r--src/hotkey.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/hotkey.h b/src/hotkey.h
index c2caed5..e616303 100644
--- a/src/hotkey.h
+++ b/src/hotkey.h
@@ -5,6 +5,12 @@
#include <stdint.h>
#include <stdbool.h>
+#define Modifier_Keycode_Alt 0x3A
+#define Modifier_Keycode_Shift 0x38
+#define Modifier_Keycode_Cmd 0x37
+#define Modifier_Keycode_Ctrl 0x3B
+#define Modifier_Keycode_Fn 0x3F
+
enum osx_event_mask
{
Event_Mask_Alt = 0x00080000,