aboutsummaryrefslogtreecommitdiff
path: root/include/cru/osx/gui/Keyboard.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-03 22:29:38 +0800
committercrupest <crupest@outlook.com>2021-10-03 22:29:38 +0800
commit4056e710b4c99968afc4db3bbf26e2d3fef5db07 (patch)
tree8de0ebee0f8e9e4ba8b62fe6e36fa07e33c44155 /include/cru/osx/gui/Keyboard.hpp
parent9e4db17fa43dbb8bed25feb4769f672893e9463c (diff)
downloadcru-4056e710b4c99968afc4db3bbf26e2d3fef5db07.tar.gz
cru-4056e710b4c99968afc4db3bbf26e2d3fef5db07.tar.bz2
cru-4056e710b4c99968afc4db3bbf26e2d3fef5db07.zip
...
Diffstat (limited to 'include/cru/osx/gui/Keyboard.hpp')
-rw-r--r--include/cru/osx/gui/Keyboard.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/cru/osx/gui/Keyboard.hpp b/include/cru/osx/gui/Keyboard.hpp
new file mode 100644
index 00000000..b31bcf2b
--- /dev/null
+++ b/include/cru/osx/gui/Keyboard.hpp
@@ -0,0 +1,7 @@
+#pragma once
+#include "cru/platform/gui/Keyboard.hpp"
+
+namespace cru::platform::gui::osx {
+KeyCode KeyCodeFromOsxToCru(unsigned short n);
+unsigned short KeyCodeFromOsxToCru(KeyCode k);
+} // namespace cru::platform::gui::osx