libobs: Add <> or \| on RT 102-key as hotkey

Closes jp9000/obs-studio#948
This commit is contained in:
adocilesloth 2017-06-17 14:40:56 +02:00 committed by jp9000
parent 8770453c09
commit 4c61ae9513
2 changed files with 4 additions and 0 deletions

View File

@ -475,3 +475,5 @@ OBS_MOUSE_BUTTON(OBS_KEY_MOUSE29)
#undef OBS_MOUSE_BUTTON
#undef OBS_MOUSE_BUTTON_DEFAULT
#endif
OBS_HOTKEY(OBS_KEY_BACKSLASH_RT102)

View File

@ -336,6 +336,8 @@ static int get_virtual_key(obs_key_t key)
case OBS_KEY_HANGUL: return VK_HANGUL;
case OBS_KEY_BACKSLASH_RT102: return VK_OEM_102;
case OBS_KEY_MOUSE1: return VK_LBUTTON;
case OBS_KEY_MOUSE2: return VK_RBUTTON;
case OBS_KEY_MOUSE3: return VK_MBUTTON;