blob: 65092d576b4e25fb4d8ad7876e6d399492165218 [file] [log] [blame]
Arnaldo Carvalho de Melocf958002011-10-20 16:59:15 -02001#ifndef _PERF_KEYSYMS_H_
2#define _PERF_KEYSYMS_H_ 1
3
4#include "libslang.h"
5
6#define K_DOWN SL_KEY_DOWN
7#define K_END SL_KEY_END
8#define K_ENTER '\r'
9#define K_ESC 033
10#define K_F1 SL_KEY_F(1)
11#define K_HOME SL_KEY_HOME
12#define K_LEFT SL_KEY_LEFT
13#define K_PGDN SL_KEY_NPAGE
14#define K_PGUP SL_KEY_PPAGE
15#define K_RIGHT SL_KEY_RIGHT
16#define K_TAB '\t'
17#define K_UNTAB SL_KEY_UNTAB
18#define K_UP SL_KEY_UP
Namhyung Kimaa49f6e2012-03-16 17:50:52 +090019#define K_BKSPC 0x7f
20#define K_DEL SL_KEY_DELETE
Arnaldo Carvalho de Melocf958002011-10-20 16:59:15 -020021
22/* Not really keys */
23#define K_TIMER -1
24#define K_ERROR -2
25#define K_RESIZE -3
Feng Tang341487ab2013-02-03 14:38:20 +080026#define K_SWITCH_INPUT_DATA -4
Arnaldo Carvalho de Melocf958002011-10-20 16:59:15 -020027
28#endif /* _PERF_KEYSYMS_H_ */