src/video/fbcon/SDL_fbvideo.h
changeset 1201 718d00094f82
parent 769 b8d311d90021
child 1312 c9b51268668f
equal deleted inserted replaced
1200:8f418dce02b2 1201:718d00094f82
    33 #include <linux/fb.h>
    33 #include <linux/fb.h>
    34 
    34 
    35 #include "SDL_mouse.h"
    35 #include "SDL_mouse.h"
    36 #include "SDL_mutex.h"
    36 #include "SDL_mutex.h"
    37 #include "SDL_sysvideo.h"
    37 #include "SDL_sysvideo.h"
       
    38 #ifdef HAVE_TSLIB
       
    39 #include "tslib.h"
       
    40 #endif
    38 
    41 
    39 /* Hidden "this" pointer for the video functions */
    42 /* Hidden "this" pointer for the video functions */
    40 #define _THIS	SDL_VideoDevice *this
    43 #define _THIS	SDL_VideoDevice *this
    41 
    44 
    42 
    45 
    63 	int keyboard_fd;
    66 	int keyboard_fd;
    64 	int saved_kbd_mode;
    67 	int saved_kbd_mode;
    65 	struct termios saved_kbd_termios;
    68 	struct termios saved_kbd_termios;
    66 
    69 
    67 	int mouse_fd;
    70 	int mouse_fd;
       
    71 #ifdef HAVE_TSLIB
       
    72 	struct tsdev *ts_dev;
       
    73 #endif
    68 
    74 
    69 	char *mapped_mem;
    75 	char *mapped_mem;
    70 	int mapped_memlen;
    76 	int mapped_memlen;
    71 	int mapped_offset;
    77 	int mapped_offset;
    72 	char *mapped_io;
    78 	char *mapped_io;
    93 #define saved_vt		(this->hidden->saved_vt)
    99 #define saved_vt		(this->hidden->saved_vt)
    94 #define keyboard_fd		(this->hidden->keyboard_fd)
   100 #define keyboard_fd		(this->hidden->keyboard_fd)
    95 #define saved_kbd_mode		(this->hidden->saved_kbd_mode)
   101 #define saved_kbd_mode		(this->hidden->saved_kbd_mode)
    96 #define saved_kbd_termios	(this->hidden->saved_kbd_termios)
   102 #define saved_kbd_termios	(this->hidden->saved_kbd_termios)
    97 #define mouse_fd		(this->hidden->mouse_fd)
   103 #define mouse_fd		(this->hidden->mouse_fd)
       
   104 #ifdef HAVE_TSLIB
       
   105 #define ts_dev			(this->hidden->ts_dev)
       
   106 #endif /* HAVE_TSLIB */
    98 #define cache_vinfo		(this->hidden->cache_vinfo)
   107 #define cache_vinfo		(this->hidden->cache_vinfo)
    99 #define saved_vinfo		(this->hidden->saved_vinfo)
   108 #define saved_vinfo		(this->hidden->saved_vinfo)
   100 #define saved_cmaplen		(this->hidden->saved_cmaplen)
   109 #define saved_cmaplen		(this->hidden->saved_cmaplen)
   101 #define saved_cmap		(this->hidden->saved_cmap)
   110 #define saved_cmap		(this->hidden->saved_cmap)
   102 #define mapped_mem		(this->hidden->mapped_mem)
   111 #define mapped_mem		(this->hidden->mapped_mem)