summaryrefslogtreecommitdiffstats
path: root/apps/plugins
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-08-03 02:11:02 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-08-03 02:11:02 +0000
commite18b8f3856beb84d6393926a404928624dee9c3d (patch)
treed4d8866b8b3d644a88be7af0fc339f970750f2bd /apps/plugins
parent16a6453842befb2d038ee6c130252c8e2da12086 (diff)
downloadrockbox-e18b8f3856beb84d6393926a404928624dee9c3d.tar.gz
rockbox-e18b8f3856beb84d6393926a404928624dee9c3d.tar.bz2
rockbox-e18b8f3856beb84d6393926a404928624dee9c3d.zip
Calculator: Enable absolute mode for touchscreens.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22131 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/calculator.c4
1 files changed, 4 insertions, 0 deletions
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 ) {