mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 02:20:53 +00:00
* merged moonlight-mac with moonlight-ios * reverted to the original project.pbxproj * cleaned up the code, fixed lots of unnecessary code duplications * multicontroller support (not tested) * new class that can be used for further modularization of the MainFrameViewController
19 lines
503 B
C
19 lines
503 B
C
//
|
|
// keyboardTranslation.h
|
|
// Moonlight macOS
|
|
//
|
|
// Created by Felix Kratz on 10.03.18.
|
|
// Copyright © 2018 Felix Kratz. All rights reserved.
|
|
//
|
|
#include <CoreFoundation/CoreFoundation.h>
|
|
#include <Carbon/Carbon.h>
|
|
|
|
#ifndef keyboardTranslation_h
|
|
#define keyboardTranslation_h
|
|
|
|
CGKeyCode keyCharFromKeyCode(CGKeyCode keyCode);
|
|
CGKeyCode keyCodeFromModifierKey(NSEventModifierFlags keyModifier);
|
|
char modifierFlagForKeyModifier(NSEventModifierFlags keyModifier);
|
|
|
|
#endif /* keyboardTranslation_h */
|