From ed1a3355deac93683a25296e573d65729bb3f2e7 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Tue, 24 Mar 2009 21:55:05 +0000 Subject: Add a Touchscreen Mode setting to switch between 3x3 grid and absolute point modes. Note that many screens have not yet been adjusted to absolute point mode, so use with caution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20520 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 71c29f67c4..4db4f4405c 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -960,6 +960,10 @@ void settings_apply(bool read_disk) usb_charging_enable(global_settings.usb_charging); #endif +#ifdef HAVE_TOUCHSCREEN + touchscreen_set_mode(global_settings.touch_mode); +#endif + /* This should stay last */ #if defined(HAVE_RECORDING) && CONFIG_CODEC == SWCODEC enc_global_settings_apply(); -- cgit v1.2.3