mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
d34041569e
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
37 lines
873 B
C
37 lines
873 B
C
/* KEY code definitions for GyS-TermIO v2.0 (C) 1999 A'rpi/ESP-team */
|
|
|
|
#define KEY_ENTER 13
|
|
#define KEY_TAB 9
|
|
|
|
#define KEY_BASE 0x100
|
|
|
|
/* Function keys */
|
|
#define KEY_F (KEY_BASE+64)
|
|
|
|
/* Control keys */
|
|
#define KEY_CTRL (KEY_BASE)
|
|
#define KEY_BACKSPACE (KEY_CTRL+0)
|
|
#define KEY_DELETE (KEY_CTRL+1)
|
|
#define KEY_INSERT (KEY_CTRL+2)
|
|
#define KEY_HOME (KEY_CTRL+3)
|
|
#define KEY_END (KEY_CTRL+4)
|
|
#define KEY_PAGE_UP (KEY_CTRL+5)
|
|
#define KEY_PAGE_DOWN (KEY_CTRL+6)
|
|
#define KEY_ESC (KEY_CTRL+7)
|
|
|
|
/* Control keys short name */
|
|
#define KEY_BS KEY_BACKSPACE
|
|
#define KEY_DEL KEY_DELETE
|
|
#define KEY_INS KEY_INSERT
|
|
#define KEY_PGUP KEY_PAGE_UP
|
|
#define KEY_PGDOWN KEY_PAGE_DOWN
|
|
#define KEY_PGDWN KEY_PAGE_DOWN
|
|
|
|
/* Cursor movement */
|
|
#define KEY_CRSR (KEY_BASE+16)
|
|
#define KEY_RIGHT (KEY_CRSR+0)
|
|
#define KEY_LEFT (KEY_CRSR+1)
|
|
#define KEY_DOWN (KEY_CRSR+2)
|
|
#define KEY_UP (KEY_CRSR+3)
|
|
|