summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
diff options
context:
space:
mode:
authorJorge Luis Zapata Muga <jorgeluis.zapata@gmail.com>2006-07-31 04:13:51 +0000
committerJorge Luis Zapata Muga <jorgeluis.zapata@gmail.com>2006-07-31 04:13:51 +0000
commitb297b42db638495778746961300820a81988f918 (patch)
tree1a1040348e77e1a7248fae7ead8ac49e64a3c0dc /legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
parent996645a4d619722eb0de6362c3f9731f74f769da (diff)
Ecore_Fb changes:
================ + remove of old ps2, touchscreen and keyboard input handlers + old code is kept on sperated files for backup in case someone needs it, but wont compile + addition of new linux input (evdev) handlers. (touchscreen is handled as an absolute axis device, no need for old code). It supports multiple input devices, you can have several mice for example. + new vt code, now it support allocating a new tty if root, or use current tty if normal user, correct vt switching on both cases + some more cleanups Ecore_Evas_Fb changes: ===================== + use the new ecore_fb SVN revision: 24326
Diffstat (limited to 'legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h b/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
index 3c27a347c2..58179bd0f4 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_private.h
@@ -1,6 +1,58 @@
1#ifndef _ECORE_FB_PRIVATE_H 1#ifndef _ECORE_FB_PRIVATE_H
2#define _ECORE_FB_PRIVATE_H 2#define _ECORE_FB_PRIVATE_H
3 3
4#include "ecore_private.h"
5#include "Ecore.h"
6#include "Ecore_Data.h"
7
8#include <stdio.h>
9#include <unistd.h>
10#include <termios.h>
11#include <sys/types.h>
12#include <sys/stat.h>
13#include <sys/ioctl.h>
14#include <linux/kd.h>
15#include <linux/vt.h>
16#include <linux/fb.h>
17#include <linux/input.h>
18#include <signal.h>
19#include <fcntl.h>
20#include <errno.h>
21
22/* ecore_fb_li.c */
23struct _Ecore_Fb_Input_Device
24{
25 int fd;
26 Ecore_Fd_Handler *handler;
27 int listen;
28 struct {
29 Ecore_Fb_Input_Device_Cap cap;
30 char *name;
31 char *dev;
32 } info;
33 struct
34 {
35 int x,y;
36 int w,h;
37 double last;
38 double prev;
39 double threshold;
40 double acceleration;
41 } mouse;
42 struct
43 {
44 int shift;
45 int ctrl;
46 int alt;
47 int lock;
48 } keyboard;
49};
50
51/* ecore_fb_vt.c */
52int ecore_fb_vt_init(void);
53void ecore_fb_vt_shutdown(void);
54
55#if 0
4/* hacks to stop people NEEDING #include <linux/h3600_ts.h> */ 56/* hacks to stop people NEEDING #include <linux/h3600_ts.h> */
5#ifndef TS_SET_CAL 57#ifndef TS_SET_CAL
6#define TS_SET_CAL 0x4014660b 58#define TS_SET_CAL 0x4014660b
@@ -26,5 +78,6 @@
26#ifndef FLITE_ON 78#ifndef FLITE_ON
27#define FLITE_ON 0x40046607 79#define FLITE_ON 0x40046607
28#endif 80#endif
81#endif
29 82
30#endif 83#endif