Use DBOP to check for left button on C200v2 like we are supposed to instead of right...
[kugel-rb.git] / manual / plugins / jpegviewer.tex
blob82e388142794475631ae0606c211af31023a1d60
1 % $Id$ %
2 \subsection{JPEG viewer}
3 This plugin opens \fname{.jpeg} files from the \setting{File Browser} to display them\nopt{lcd_color}{ using Rockbox's greyscale library}.
4 \opt{swcodec}{
5 \par
6 \note{
7 When an audio file is playing the size of the image is limited as
8 the decoding process needs to share memory with audio tracks. To be able to
9 view a bigger file you may need to stop playback.}
11 \nopt{large_plugin_buffer}{%
12 \note{This plugin will cause playback to stop.}%
15 \begin{btnmap}
16 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
17 ,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
18 ,MROBE100_PAD,PBELL_VIBE500_PAD}
19 {\ButtonUp\ / \ButtonDown}%
20 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonMenu\ / \ButtonPlay}%
21 \opt{IRIVER_H10_PAD}{\ButtonScrollUp\ / \ButtonScrollDown} %
22 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD%
23 ,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD%
24 ,MROBE100_PAD,IPOD_4G_PAD,IPOD_3G_PAD,IRIVER_H10_PAD,PBELL_VIBE500_PAD}
25 {/ \ButtonLeft\ / \ButtonRight}
26 \opt{COWON_D2_PAD}{}
27 \opt{HAVEREMOTEKEYMAP}{& }
28 & Move around in zoomed in image\\
29 \opt{RECORDER_PAD}{\ButtonPlay}
30 \opt{ONDIO_PAD,COWON_D2_PAD}{\ButtonMenu}
31 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD,IAUDIO_X5_PAD,SANSA_E200_PAD%
32 ,SANSA_FUZE_PAD,SANSA_C200_PAD,MROBE100_PAD}{\ButtonSelect}
33 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollFwd}
34 \opt{IRIVER_H10_PAD}{\ButtonPlay}
35 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonVolUp}
36 \opt{PBELL_VIBE500_PAD}{\ButtonRec+\ButtonUp}
37 \opt{HAVEREMOTEKEYMAP}{& }
38 & Zoom in\\
39 \opt{RECORDER_PAD}{\ButtonOn}
40 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonDown}
41 \opt{IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonMode}
42 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonScrollBack}
43 \opt{IAUDIO_X5_PAD,SANSA_E200_PAD,SANSA_FUZE_PAD,SANSA_C200_PAD}{Long \ButtonSelect}
44 \opt{IRIVER_H10_PAD}{Long \ButtonPlay}
45 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD}{\ButtonVolDown}
46 \opt{MROBE100_PAD}{\ButtonPlay}
47 \opt{PBELL_VIBE500_PAD}{\ButtonRec+\ButtonDown}
48 \opt{HAVEREMOTEKEYMAP}{& }
49 & Zoom out\\
50 \opt{RECORDER_PAD}{\ButtonFThree}
51 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonRight}
52 \opt{IRIVER_H100_PAD}{\ButtonOn}
53 \opt{IRIVER_H300_PAD}{\ButtonRec}
54 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonRight}
55 \opt{IAUDIO_X5_PAD}{\ButtonPlay}
56 \opt{IRIVER_H10_PAD}{\ButtonFF}
57 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollFwd}
58 \opt{SANSA_C200_PAD}{\ButtonVolUp}
59 \opt{GIGABEAT_PAD}{\ButtonA+\ButtonRight}
60 \opt{GIGABEAT_S_PAD}{\ButtonNext}
61 \opt{MROBE100_PAD}{\ButtonDisplay+\ButtonRight}
62 \opt{PBELL_VIBE500_PAD}{\ButtonRec+\ButtonRight}
63 \opt{HAVEREMOTEKEYMAP}{& }
64 & Next jpeg in directory\\
65 \opt{RECORDER_PAD}{\ButtonFTwo}
66 \opt{ONDIO_PAD}{\ButtonMenu+\ButtonLeft}
67 \opt{IRIVER_H100_PAD,IAUDIO_X5_PAD}{\ButtonRec}
68 \opt{IRIVER_H300_PAD}{\ButtonOn}
69 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonLeft}
70 \opt{IRIVER_H10_PAD}{\ButtonRew}
71 \opt{SANSA_E200_PAD,SANSA_FUZE_PAD}{\ButtonScrollBack}
72 \opt{SANSA_C200_PAD}{\ButtonVolDown}
73 \opt{GIGABEAT_PAD}{\ButtonA+\ButtonLeft}
74 \opt{GIGABEAT_S_PAD}{\ButtonPrev}
75 \opt{MROBE100_PAD}{\ButtonDisplay+\ButtonLeft}
76 \opt{PBELL_VIBE500_PAD}{\ButtonRec+\ButtonLeft}
77 \opt{HAVEREMOTEKEYMAP}{& }
78 & Previous jpeg in directory\\
79 \opt{SANSA_E200_PAD,SANSA_C200_PAD}{%currently only defined for the sansa pads
80 \ButtonRec
81 \opt{HAVEREMOTEKEYMAP}{& }
82 & Toggle slide show mode\\
84 \opt{RECORDER_PAD,ONDIO_PAD,IRIVER_H100_PAD,IRIVER_H300_PAD}{\ButtonOff}
85 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonMenu}
86 \opt{IAUDIO_X5_PAD,IRIVER_H10_PAD,SANSA_E200_PAD,SANSA_C200_PAD}{\ButtonPower}
87 \opt{SANSA_FUZE_PAD}{Long \ButtonHome}
88 \opt{GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}{\ButtonMenu}
89 \opt{COWON_D2_PAD}{\ButtonPower}
90 \opt{HAVEREMOTEKEYMAP}{&
91 \opt{IRIVER_RC_H100_PAD}{\ButtonRCStop}
93 & Show menu / Abort \\
94 \opt{IPOD_4G_PAD,IPOD_3G_PAD,GIGABEAT_PAD,GIGABEAT_S_PAD,MROBE100_PAD,PBELL_VIBE500_PAD}{
95 \opt{IPOD_4G_PAD,IPOD_3G_PAD}{\ButtonSelect+\ButtonPlay}
96 \opt{GIGABEAT_PAD,MROBE100_PAD}{\ButtonPower}
97 \opt{GIGABEAT_S_PAD}{\ButtonBack}
98 \opt{PBELL_VIBE500_PAD}{\ButtonCancel}
99 \opt{HAVEREMOTEKEYMAP}{& }
100 & Quit the viewer \\
102 \end{btnmap}
104 The menu has the following entries.
105 \begin{description}
106 \item[Return.] Returns you to the image
107 \item[Toggle Slideshow Mode.] Enables or disables the slideshow mode.
108 \item[Change Slideshow Timeout.] You can set the timeout for the slideshow
109 between 1 second and 20 seconds.
110 \opt{large_plugin_buffer}{
111 \item[Show Playback Menu.] From the playback menu you can control the
112 playback of the currently loaded playlist and change the volume of your \dap.
114 \opt{lcd_color}{
115 \item[Display Options.] From this menu you can force the viewer to render the
116 image in greyscale using the \setting{Greyscale} option or set the method of
117 dithering used in the \setting{Dithering} submenu.
119 \item[Quit.] Quits the viewer and returns to the \setting{File Browser}.
120 \end{description}
122 \note{
123 Progressive scan and other unusual JPEG files are not supported, and will
124 result in various ``unsupported xx'' messages. Processing could also fail if the
125 image is too big to decode which will be explained by a respective message.