Skip to content

Commit

Permalink
Merge pull request #1795 from cg2121/f-keys-linux
Browse files Browse the repository at this point in the history
libobs: Add support for F25-F35 hotkeys on Linux
  • Loading branch information
DDRBoxman authored Apr 14, 2019
2 parents 88d439b + 9930b29 commit 7dacd58
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions libobs/obs-nix.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,17 @@ static int get_keysym(obs_key_t key)
case OBS_KEY_F22: return XK_F22;
case OBS_KEY_F23: return XK_F23;
case OBS_KEY_F24: return XK_F24;
case OBS_KEY_F25: return XK_F25;
case OBS_KEY_F26: return XK_F26;
case OBS_KEY_F27: return XK_F27;
case OBS_KEY_F28: return XK_F28;
case OBS_KEY_F29: return XK_F29;
case OBS_KEY_F30: return XK_F30;
case OBS_KEY_F31: return XK_F31;
case OBS_KEY_F32: return XK_F32;
case OBS_KEY_F33: return XK_F33;
case OBS_KEY_F34: return XK_F34;
case OBS_KEY_F35: return XK_F35;

case OBS_KEY_MENU: return XK_Menu;
case OBS_KEY_HYPER_L: return XK_Hyper_L;
Expand Down

0 comments on commit 7dacd58

Please sign in to comment.