keysyms.h 596 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _PERF_KEYSYMS_H_
  2. #define _PERF_KEYSYMS_H_ 1
  3. #include "libslang.h"
  4. #define K_DOWN SL_KEY_DOWN
  5. #define K_END SL_KEY_END
  6. #define K_ENTER '\r'
  7. #define K_ESC 033
  8. #define K_F1 SL_KEY_F(1)
  9. #define K_HOME SL_KEY_HOME
  10. #define K_LEFT SL_KEY_LEFT
  11. #define K_PGDN SL_KEY_NPAGE
  12. #define K_PGUP SL_KEY_PPAGE
  13. #define K_RIGHT SL_KEY_RIGHT
  14. #define K_TAB '\t'
  15. #define K_UNTAB SL_KEY_UNTAB
  16. #define K_UP SL_KEY_UP
  17. #define K_BKSPC 0x7f
  18. #define K_DEL SL_KEY_DELETE
  19. /* Not really keys */
  20. #define K_TIMER -1
  21. #define K_ERROR -2
  22. #define K_RESIZE -3
  23. #define K_SWITCH_INPUT_DATA -4
  24. #endif /* _PERF_KEYSYMS_H_ */