aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ecore/src/lib/ecore_fb/ecore_fb_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ecore/src/lib/ecore_fb/ecore_fb_private.h')
-rw-r--r--libraries/ecore/src/lib/ecore_fb/ecore_fb_private.h94
1 files changed, 0 insertions, 94 deletions
diff --git a/libraries/ecore/src/lib/ecore_fb/ecore_fb_private.h b/libraries/ecore/src/lib/ecore_fb/ecore_fb_private.h
deleted file mode 100644
index 797f863..0000000
--- a/libraries/ecore/src/lib/ecore_fb/ecore_fb_private.h
+++ /dev/null
@@ -1,94 +0,0 @@
1#ifndef _ECORE_FB_PRIVATE_H
2#define _ECORE_FB_PRIVATE_H
3
4#include "Ecore.h"
5#include "ecore_private.h"
6#include "Ecore_Input.h"
7
8#include <stdio.h>
9#include <stdlib.h>
10#include <string.h>
11#include <unistd.h>
12#include <termios.h>
13#include <sys/types.h>
14#include <sys/stat.h>
15#include <sys/ioctl.h>
16#include <linux/version.h>
17#include <linux/kd.h>
18#include <linux/vt.h>
19#include <linux/fb.h>
20#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18))
21 #define kernel_ulong_t unsigned long
22 #define BITS_PER_LONG 32
23 #include <linux/input.h>
24 #undef kernel_ulong_t
25 #undef BITS_PER_LONG
26#else
27 #include <linux/input.h>
28#endif
29
30#include <signal.h>
31#include <fcntl.h>
32#include <errno.h>
33
34#include <Ecore_Fb.h>
35
36/* ecore_fb_li.c */
37struct _Ecore_Fb_Input_Device
38{
39 int fd;
40 Ecore_Fd_Handler *handler;
41 int listen;
42 struct {
43 Ecore_Fb_Input_Device_Cap cap;
44 char *name;
45 char *dev;
46 } info;
47 struct
48 {
49 /* common mouse */
50 int x,y;
51 int w,h;
52
53 double last;
54 double prev;
55 double threshold;
56 Eina_Bool did_double;
57 Eina_Bool did_triple;
58 /* absolute axis */
59 int min_w, min_h;
60 double rel_w, rel_h;
61 int event;
62 int prev_button;
63 int last_button;
64 } mouse;
65 struct
66 {
67 int shift;
68 int ctrl;
69 int alt;
70 int lock;
71 } keyboard;
72 void *window;
73};
74
75/* ecore_fb_ts.c */
76EAPI int ecore_fb_ts_init(void);
77EAPI void ecore_fb_ts_shutdown(void);
78EAPI void ecore_fb_ts_events_window_set(void *window);
79EAPI void *ecore_fb_ts_events_window_get(void);
80EAPI void ecore_fb_ts_event_window_set(void *window);
81
82/* ecore_fb_vt.c */
83int ecore_fb_vt_init(void);
84void ecore_fb_vt_shutdown(void);
85
86/* hacks to stop people NEEDING #include <linux/h3600_ts.h> */
87#ifndef TS_SET_CAL
88#define TS_SET_CAL 0x4014660b
89#endif
90#ifndef TS_GET_CAL
91#define TS_GET_CAL 0x8014660a
92#endif
93
94#endif