forked from len0rd/rockbox
Default to absolute point mode on RaaA and Onda targets. Cowon D2 and MRobe 500 stick to grid mode for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28423 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a4f112729b
commit
b30447cd9c
1 changed files with 13 additions and 1 deletions
|
@ -464,6 +464,18 @@ static void qs_set_default(void* setting, void* defaultval)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_TOUCHSCREEN
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
|
|
||||||
|
#if defined(APPLICATION)
|
||||||
|
|| defined(ONDA_VX747)
|
||||||
|
|| defined(ONDA_VX767)
|
||||||
|
|| defined(ONDA_VX747P)
|
||||||
|
|| defined(ONDA_VX777)
|
||||||
|
|
||||||
|
#define DEFAULT_TOUCHSCREEN_MODE TOUCHSCREEN_POINT
|
||||||
|
#else
|
||||||
|
#define DEFAULT_TOUCHSCREEN_MODE TOUCHSCREEN_BUTTON
|
||||||
|
#endif
|
||||||
|
|
||||||
static void tsc_load_from_cfg(void* setting, char*value)
|
static void tsc_load_from_cfg(void* setting, char*value)
|
||||||
{
|
{
|
||||||
struct touchscreen_parameter *var = (struct touchscreen_parameter*) setting;
|
struct touchscreen_parameter *var = (struct touchscreen_parameter*) setting;
|
||||||
|
@ -1711,7 +1723,7 @@ const struct settings_list settings[] = {
|
||||||
audiohw_enable_speaker),
|
audiohw_enable_speaker),
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_TOUCHSCREEN
|
#ifdef HAVE_TOUCHSCREEN
|
||||||
CHOICE_SETTING(0, touch_mode, LANG_TOUCHSCREEN_MODE, TOUCHSCREEN_BUTTON,
|
CHOICE_SETTING(0, touch_mode, LANG_TOUCHSCREEN_MODE, DEFAULT_TOUCHSCREEN_MODE,
|
||||||
"touchscreen mode", "point,grid", NULL, 2,
|
"touchscreen mode", "point,grid", NULL, 2,
|
||||||
ID2P(LANG_TOUCHSCREEN_POINT), ID2P(LANG_TOUCHSCREEN_GRID)),
|
ID2P(LANG_TOUCHSCREEN_POINT), ID2P(LANG_TOUCHSCREEN_GRID)),
|
||||||
CUSTOM_SETTING(0, ts_calibration_data, -1,
|
CUSTOM_SETTING(0, ts_calibration_data, -1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue