Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Arnaldo Carvalho de Melo | cf95800 | 2011-10-20 16:59:15 -0200 | [diff] [blame] | 2 | #ifndef _PERF_KEYSYMS_H_ |
| 3 | #define _PERF_KEYSYMS_H_ 1 |
| 4 | |
| 5 | #include "libslang.h" |
| 6 | |
| 7 | #define K_DOWN SL_KEY_DOWN |
| 8 | #define K_END SL_KEY_END |
| 9 | #define K_ENTER '\r' |
| 10 | #define K_ESC 033 |
| 11 | #define K_F1 SL_KEY_F(1) |
| 12 | #define K_HOME SL_KEY_HOME |
| 13 | #define K_LEFT SL_KEY_LEFT |
| 14 | #define K_PGDN SL_KEY_NPAGE |
| 15 | #define K_PGUP SL_KEY_PPAGE |
| 16 | #define K_RIGHT SL_KEY_RIGHT |
| 17 | #define K_TAB '\t' |
| 18 | #define K_UNTAB SL_KEY_UNTAB |
| 19 | #define K_UP SL_KEY_UP |
Namhyung Kim | aa49f6e | 2012-03-16 17:50:52 +0900 | [diff] [blame] | 20 | #define K_BKSPC 0x7f |
| 21 | #define K_DEL SL_KEY_DELETE |
Arnaldo Carvalho de Melo | cf95800 | 2011-10-20 16:59:15 -0200 | [diff] [blame] | 22 | |
| 23 | /* Not really keys */ |
| 24 | #define K_TIMER -1 |
| 25 | #define K_ERROR -2 |
| 26 | #define K_RESIZE -3 |
Feng Tang | 341487ab | 2013-02-03 14:38:20 +0800 | [diff] [blame] | 27 | #define K_SWITCH_INPUT_DATA -4 |
Arnaldo Carvalho de Melo | cf95800 | 2011-10-20 16:59:15 -0200 | [diff] [blame] | 28 | |
| 29 | #endif /* _PERF_KEYSYMS_H_ */ |