Add lime.ui.ScanCode (close #882)
This commit is contained in:
24
project/include/ui/KeyCode.h
Normal file
24
project/include/ui/KeyCode.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef LIME_UI_KEY_CODE_H
|
||||
#define LIME_UI_KEY_CODE_H
|
||||
|
||||
|
||||
#include <system/System.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class KeyCode {
|
||||
|
||||
public:
|
||||
|
||||
static int32_t FromScanCode (int32_t keyCode);
|
||||
static int32_t ToScanCode (int32_t keyCode);
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user