src/video/fbcon/SDL_fbvideo.h
changeset 1361 19418e4422cb
parent 1312 c9b51268668f
child 1402 d910939febfa
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
    27 #include <termios.h>
    27 #include <termios.h>
    28 #include <linux/fb.h>
    28 #include <linux/fb.h>
    29 
    29 
    30 #include "SDL_mouse.h"
    30 #include "SDL_mouse.h"
    31 #include "SDL_mutex.h"
    31 #include "SDL_mutex.h"
    32 #include "SDL_sysvideo.h"
    32 #include "../SDL_sysvideo.h"
    33 #ifdef HAVE_TSLIB
    33 #if SDL_INPUT_TSLIB
    34 #include "tslib.h"
    34 #include "tslib.h"
    35 #endif
    35 #endif
    36 
    36 
    37 /* Hidden "this" pointer for the video functions */
    37 /* Hidden "this" pointer for the video functions */
    38 #define _THIS	SDL_VideoDevice *this
    38 #define _THIS	SDL_VideoDevice *this
    61 	int keyboard_fd;
    61 	int keyboard_fd;
    62 	int saved_kbd_mode;
    62 	int saved_kbd_mode;
    63 	struct termios saved_kbd_termios;
    63 	struct termios saved_kbd_termios;
    64 
    64 
    65 	int mouse_fd;
    65 	int mouse_fd;
    66 #ifdef HAVE_TSLIB
    66 #if SDL_INPUT_TSLIB
    67 	struct tsdev *ts_dev;
    67 	struct tsdev *ts_dev;
    68 #endif
    68 #endif
    69 
    69 
    70 	char *mapped_mem;
    70 	char *mapped_mem;
    71 	int mapped_memlen;
    71 	int mapped_memlen;
    94 #define saved_vt		(this->hidden->saved_vt)
    94 #define saved_vt		(this->hidden->saved_vt)
    95 #define keyboard_fd		(this->hidden->keyboard_fd)
    95 #define keyboard_fd		(this->hidden->keyboard_fd)
    96 #define saved_kbd_mode		(this->hidden->saved_kbd_mode)
    96 #define saved_kbd_mode		(this->hidden->saved_kbd_mode)
    97 #define saved_kbd_termios	(this->hidden->saved_kbd_termios)
    97 #define saved_kbd_termios	(this->hidden->saved_kbd_termios)
    98 #define mouse_fd		(this->hidden->mouse_fd)
    98 #define mouse_fd		(this->hidden->mouse_fd)
    99 #ifdef HAVE_TSLIB
    99 #if SDL_INPUT_TSLIB
   100 #define ts_dev			(this->hidden->ts_dev)
   100 #define ts_dev			(this->hidden->ts_dev)
   101 #endif /* HAVE_TSLIB */
   101 #endif
   102 #define cache_vinfo		(this->hidden->cache_vinfo)
   102 #define cache_vinfo		(this->hidden->cache_vinfo)
   103 #define saved_vinfo		(this->hidden->saved_vinfo)
   103 #define saved_vinfo		(this->hidden->saved_vinfo)
   104 #define saved_cmaplen		(this->hidden->saved_cmaplen)
   104 #define saved_cmaplen		(this->hidden->saved_cmaplen)
   105 #define saved_cmap		(this->hidden->saved_cmap)
   105 #define saved_cmap		(this->hidden->saved_cmap)
   106 #define mapped_mem		(this->hidden->mapped_mem)
   106 #define mapped_mem		(this->hidden->mapped_mem)