mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-01-09 19:27:32 -03:00
Add macOS keycodes for left/right control and tab (#535)
This commit is contained in:
parent
6f985c3c78
commit
79e731d9b4
1 changed files with 8 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
#include <gdk/gdkkeysyms.h>
|
||||
#endif
|
||||
|
||||
#if BOOST_OS_MACOS
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
struct WindowHandleInfo
|
||||
{
|
||||
#if BOOST_OS_WINDOWS
|
||||
|
@ -36,6 +40,10 @@ enum struct PlatformKeyCodes : uint32
|
|||
LCONTROL = GDK_KEY_Control_L,
|
||||
RCONTROL = GDK_KEY_Control_R,
|
||||
TAB = GDK_KEY_Tab,
|
||||
#elif BOOST_OS_MACOS
|
||||
LCONTROL = kVK_Control,
|
||||
RCONTROL = kVK_RightControl,
|
||||
TAB = kVK_Tab,
|
||||
#else
|
||||
LCONTROL = 0,
|
||||
RCONTROL = 0,
|
||||
|
|
Loading…
Reference in a new issue