annotate linux/getch2.h @ 4523:433104e0ec0f

Activate QSCALE flag for avcodec Reset playback speed on exit (we aren't using this feature yet... but will hopefully do soon) Use fsync instead of the mediocre flush ioctl's on seeking/pausing, at least video seems to stay in sync...
author mswitch
date Sun, 03 Feb 2002 23:13:56 +0000
parents 3b5f5d1c5041
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 /* a very small replacement of ncurses library */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 /* Screen size. Initialized by load_termcap() and get_screen_size() */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 extern int screen_width;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 extern int screen_height;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 /* Get screen-size using IOCTL call. */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 extern void get_screen_size();
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 /* Load key definitions from the TERMCAP database. 'termtype' can be NULL */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 extern int load_termcap(char *termtype);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 /* Enable and disable STDIN line-buffering */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 extern void getch2_enable();
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 extern void getch2_disable();
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 /* Read a character or a special key code (see keycodes.h) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 extern int getch2(int halfdelay_time);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20