Enlightenment CVS committal Author : turran Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/bin Modified Files: ecore_evas_test_bg.c ecore_evas_test_calibrate.c Log Message: 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 =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/bin/ecore_evas_test_bg.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- ecore_evas_test_bg.c 8 Mar 2006 08:02:55 -0000 1.7 +++ ecore_evas_test_bg.c 31 Jul 2006 04:13:51 -0000 1.8 @@ -362,51 +362,63 @@ if (!strcmp(ev->keyname, "Up")) { #ifdef BUILD_ECORE_FB +#if 0 double br; br = ecore_fb_backlight_brightness_get(); ecore_fb_backlight_brightness_set(br + 0.1); +#endif #endif } if (!strcmp(ev->keyname, "Down")) { #ifdef BUILD_ECORE_FB +#if 0 double br; br = ecore_fb_backlight_brightness_get(); ecore_fb_backlight_brightness_set(br - 0.1); +#endif #endif } if (!strcmp(ev->keyname, "F2")) { #ifdef BUILD_ECORE_FB +#if 0 if (ecore_fb_backlight_get()) ecore_fb_backlight_set(0); else ecore_fb_backlight_set(1); +#endif #endif } if (!strcmp(ev->keyname, "F3")) { #ifdef BUILD_ECORE_FB +#if 0 static int v = 0; if (v) ecore_fb_led_set(0); else ecore_fb_led_set(1); if (!v) v = 1; else v = 0; +#endif #endif } if (!strcmp(ev->keyname, "Left")) { #ifdef BUILD_ECORE_FB +#if 0 ecore_fb_led_blink_set(0.1); +#endif #endif } if (!strcmp(ev->keyname, "Right")) { #ifdef BUILD_ECORE_FB +#if 0 ecore_fb_led_blink_set(0.5); +#endif #endif } if ((!strcmp(ev->keyname, "p")) || @@ -420,7 +432,9 @@ else ecore_evas_cursor_set(ee, NULL, 0, 0, 0); #ifdef BUILD_ECORE_FB +#if 0 printf("%3.3f\n", ecore_fb_light_sensor_get()); +#endif #endif } } =================================================================== RCS file: /cvs/e/e17/libs/ecore/src/bin/ecore_evas_test_calibrate.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ecore_evas_test_calibrate.c 8 Jan 2005 18:40:31 -0000 1.5 +++ ecore_evas_test_calibrate.c 31 Jul 2006 04:13:51 -0000 1.6 @@ -92,8 +92,10 @@ if (rot == 0) { -#ifdef BUILD_ECORE_FB +#ifdef BUILD_ECORE_FB +#if 0 ecore_fb_touch_screen_calibrate_set(xscale, xtrans, yscale, ytrans, xyswap); +#endif #endif } else if (rot == 270) @@ -103,8 +105,10 @@ evas_output_size_get(evas, &ow, &oh); ytrans = oh - (ytrans + ((oh * yscale) / 256)); #ifdef BUILD_ECORE_FB +#if 0 ecore_fb_touch_screen_calibrate_set(yscale, ytrans, xscale, xtrans, xyswap); #endif +#endif } evas_object_del(o_crosshair); @@ -123,7 +127,9 @@ Evas_Object *o; #ifdef BUILD_ECORE_FB +#if 0 ecore_fb_touch_screen_calibrate_set(256, 0, 256, 0, 0); +#endif #endif o = evas_object_rectangle_add(evas); ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs