diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-03 02:11:02 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-08-03 02:11:02 +0000 |
commit | e18b8f3856beb84d6393926a404928624dee9c3d (patch) | |
tree | d4d8866b8b3d644a88be7af0fc339f970750f2bd /apps/plugins | |
parent | 16a6453842befb2d038ee6c130252c8e2da12086 (diff) | |
download | rockbox-e18b8f3856beb84d6393926a404928624dee9c3d.tar.gz 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.c | 4 |
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) | |||
1654 | 1654 | ||
1655 | /* now go ahead and have fun! */ | 1655 | /* now go ahead and have fun! */ |
1656 | 1656 | ||
1657 | #ifdef HAVE_TOUCHSCREEN | ||
1658 | rb->touchscreen_set_mode(TOUCHSCREEN_POINT); | ||
1659 | #endif | ||
1660 | |||
1657 | cal_initial(); | 1661 | cal_initial(); |
1658 | 1662 | ||
1659 | while (calStatus != cal_exit ) { | 1663 | while (calStatus != cal_exit ) { |