Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _PERF_KEYSYMS_H_
0003 #define _PERF_KEYSYMS_H_ 1
0004 
0005 #include "libslang.h"
0006 
0007 #define K_DOWN  SL_KEY_DOWN
0008 #define K_END   SL_KEY_END
0009 #define K_ENTER '\r'
0010 #define K_ESC   033
0011 #define K_F1    SL_KEY_F(1)
0012 #define K_HOME  SL_KEY_HOME
0013 #define K_LEFT  SL_KEY_LEFT
0014 #define K_PGDN  SL_KEY_NPAGE
0015 #define K_PGUP  SL_KEY_PPAGE
0016 #define K_RIGHT SL_KEY_RIGHT
0017 #define K_TAB   '\t'
0018 #define K_UNTAB SL_KEY_UNTAB
0019 #define K_UP    SL_KEY_UP
0020 #define K_BKSPC 0x7f
0021 #define K_DEL   SL_KEY_DELETE
0022 
0023 /* Not really keys */
0024 #define K_TIMER  -1
0025 #define K_ERROR  -2
0026 #define K_RESIZE -3
0027 #define K_SWITCH_INPUT_DATA -4
0028 #define K_RELOAD -5
0029 
0030 #endif /* _PERF_KEYSYMS_H_ */