diff options
Diffstat (limited to 'lib/char_to_key_code.h')
-rw-r--r-- | lib/char_to_key_code.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/char_to_key_code.h b/lib/char_to_key_code.h new file mode 100644 index 0000000..40c0c10 --- /dev/null +++ b/lib/char_to_key_code.h @@ -0,0 +1,17 @@ +// +// char_to_key_code.h +// DomeKey +// +// Created by tw on 8/27/18. +// Copyright © 2018 tw. All rights reserved. +// + +#ifndef char_to_key_code_h +#define char_to_key_code_h + +#import <Carbon/Carbon.h> + +NSString* keyCodeToString(CGKeyCode keyCode); +NSNumber* charToKeyCode(const char c); + +#endif /* char_to_key_code_h */ |