Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/hotkey.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ enum hotkey_flag
Hotkey_Flag_Alt |
Hotkey_Flag_Shift |
Hotkey_Flag_Control),
Hotkey_Flag_RHyper = (Hotkey_Flag_RCmd |
Hotkey_Flag_RAlt |
Hotkey_Flag_RShift |
Hotkey_Flag_RControl),
Hotkey_Flag_LHyper = (Hotkey_Flag_LCmd |
Hotkey_Flag_LAlt |
Hotkey_Flag_LShift |
Hotkey_Flag_LControl),
Hotkey_Flag_Meh = (Hotkey_Flag_Control |
Hotkey_Flag_Shift |
Hotkey_Flag_Alt)
Expand Down
3 changes: 2 additions & 1 deletion src/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ internal enum hotkey_flag modifier_flags_value[] =
Hotkey_Flag_Shift, Hotkey_Flag_LShift, Hotkey_Flag_RShift,
Hotkey_Flag_Cmd, Hotkey_Flag_LCmd, Hotkey_Flag_RCmd,
Hotkey_Flag_Control, Hotkey_Flag_LControl, Hotkey_Flag_RControl,
Hotkey_Flag_Fn, Hotkey_Flag_Hyper, Hotkey_Flag_Meh,
Hotkey_Flag_Fn, Hotkey_Flag_Hyper, Hotkey_Flag_LHyper,
Hotkey_Flag_RHyper, Hotkey_Flag_Meh,
};

internal uint32_t
Expand Down
3 changes: 2 additions & 1 deletion src/tokenize.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ global const char *modifier_flags_str[] =
"shift", "lshift", "rshift",
"cmd", "lcmd", "rcmd",
"ctrl", "lctrl", "rctrl",
"fn", "hyper", "meh",
"fn", "hyper", "lhyper",
"rhyper","meh",
};

global const char *literal_keycode_str[] =
Expand Down