From e18b8f3856beb84d6393926a404928624dee9c3d Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Mon, 3 Aug 2009 02:11:02 +0000 Subject: Calculator: Enable absolute mode for touchscreens. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22131 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/calculator.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index 3d0105e33d..135335a7fc 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c @@ -1654,6 +1654,10 @@ enum plugin_status plugin_start(const void* parameter) /* now go ahead and have fun! */ +#ifdef HAVE_TOUCHSCREEN + rb->touchscreen_set_mode(TOUCHSCREEN_POINT); +#endif + cal_initial(); while (calStatus != cal_exit ) { -- cgit v1.2.3