📄 keyhandler.h
字号:
#ifndef _KEYHANDLER_H_
#define _KEYHANDLER_H_
// INCLUDES
// System includes
#include <e32std.h>
// CLASS DECLARATION
/**
*
* @class TKeyHandler KeyHandler.h
* @brief This class is used to record the current state of the device keys
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class TKeyHandler
{
public:
enum TKeyState
{
ELeft = 0x01,
ERight = 0x02,
EFire = 0x04
};
TKeyHandler();
TInt State() const;
void SetState(TKeyState aKey, TBool aState);
private:
TInt iDirection;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -