summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-06-07 13:01:15 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-06-07 13:01:15 +0000
commitd669d4ab6e3832bbb075bebf0f123c5688ac36c7 (patch)
tree4919e3484f552c6846472a520bc50fbd48139d5e
parentbb417260b24773fc67845c7d228dd3b66b1428f8 (diff)
downloadrockbox-d669d4ab6e3832bbb075bebf0f123c5688ac36c7.tar.gz
rockbox-d669d4ab6e3832bbb075bebf0f123c5688ac36c7.tar.bz2
rockbox-d669d4ab6e3832bbb075bebf0f123c5688ac36c7.zip
text viewer: gigabeat f: add buttons to do one line up/down, and one column left/right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26659 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/text_viewer/tv_button.h7
-rw-r--r--manual/plugins/text_viewer.tex12
2 files changed, 14 insertions, 5 deletions
diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h
index 53114c6169..1ae92556b8 100644
--- a/apps/plugins/text_viewer/tv_button.h
+++ b/apps/plugins/text_viewer/tv_button.h
@@ -158,7 +158,12 @@
#define TV_SCREEN_LEFT BUTTON_LEFT
#define TV_SCREEN_RIGHT BUTTON_RIGHT
#define TV_MENU BUTTON_MENU
-#define TV_AUTOSCROLL BUTTON_A
+#define TV_AUTOSCROLL_PRE BUTTON_A
+#define TV_AUTOSCROLL (BUTTON_A|BUTTON_REL)
+#define TV_LINE_UP (BUTTON_A|BUTTON_UP)
+#define TV_LINE_DOWN (BUTTON_A|BUTTON_DOWN)
+#define TV_COLUMN_LEFT (BUTTON_A|BUTTON_LEFT)
+#define TV_COLUMN_RIGHT (BUTTON_A|BUTTON_RIGHT)
#define TV_BOOKMARK BUTTON_SELECT
/* Sansa E200 keys */
diff --git a/manual/plugins/text_viewer.tex b/manual/plugins/text_viewer.tex
index e56734fe34..1d505d1a5e 100644
--- a/manual/plugins/text_viewer.tex
+++ b/manual/plugins/text_viewer.tex
@@ -59,34 +59,38 @@ by using \emph{Open with} from the \emph{Context Menu}
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,SANSA_E200_PAD%
,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD%
- ,PBELL_VIBE500_PAD}{%
+ ,GIGABEAT_PAD,PBELL_VIBE500_PAD}{%
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonUp}
\opt{SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollBack}
\opt{SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD,PBELL_VIBE500_PAD}{\ButtonUp}
+ \opt{GIGABEAT_PAD}{\ButtonA+\ButtonUp}
\opt{HAVEREMOTEKEYMAP}{& }
& One line up\\
}
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,SANSA_E200_PAD%
,SANSA_FUZE_PAD,SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD%
- ,PBELL_VIBE500_PAD}{%
+ ,GIGABEAT_PAD,PBELL_VIBE500_PAD}{%
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonDown}
\opt{SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollFwd}
\opt{SANSA_C200_PAD,SANSA_CLIP_PAD,GIGABEAT_S_PAD,PBELL_VIBE500_PAD}{\ButtonDown}
+ \opt{GIGABEAT_PAD}{\ButtonA+\ButtonDown}
\opt{HAVEREMOTEKEYMAP}{& }
& One line down\\
}
- \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_S_PAD}{
+ \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD}{
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonLeft}
\opt{GIGABEAT_S_PAD}{\ButtonLeft}
+ \opt{GIGABEAT_PAD}{\ButtonA+\ButtonLeft}
\opt{HAVEREMOTEKEYMAP}{& }
& One column left\\
}
- \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_S_PAD}{
+ \opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD}{
\opt{RECORDER_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOn+\ButtonRight}
\opt{GIGABEAT_S_PAD}{\ButtonRight}
+ \opt{GIGABEAT_PAD}{\ButtonA+\ButtonRight}
\opt{HAVEREMOTEKEYMAP}{& }
& One column right\\
}