You.i Engine
YiGamePadExtendedButtons.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2017. All rights reserved.
2 #ifndef _YI_GAME_PAD_EXTENDED_BUTTONS_H_
3 #define _YI_GAME_PAD_EXTENDED_BUTTONS_H_
4 
10 #include "YiGamePadButton.h"
11 
12 /*
13  \brief Contains extended gamepad buttons.
14 
15  \details This class extends the buttons found on CYIGamePad. The buttons contained in this class are not found on a standard gamepad. These extended buttons would
16  be found on device such as a remote control for a game console. These extended buttons are accessed through CYIGamePad::GetExtendedButtons.
17 
18  \sa CYIGamePad
19 */
21 {
22 friend class CYIGamePad;
23 friend class CYIGamePadPriv;
24 
25 public:
26  /*
27  \details Returns a button representing the state of the number 1 button.
28  */
29  const CYIGamePadButton &GetNum1Button() const;
30 
31  /*
32  \details Returns a button representing the state of the number 2 button.
33  */
34  const CYIGamePadButton &GetNum2Button() const;
35 
36  /*
37  \details Returns a button representing the state of the number 3 button.
38  */
39  const CYIGamePadButton &GetNum3Button() const;
40 
41  /*
42  \details Returns a button representing the state of the number 4 button.
43  */
44  const CYIGamePadButton &GetNum4Button() const;
45 
46  /*
47  \details Returns a button representing the state of the number 5 button.
48  */
49  const CYIGamePadButton &GetNum5Button() const;
50 
51  /*
52  \details Returns a button representing the state of the number 6 button.
53  */
54  const CYIGamePadButton &GetNum6Button() const;
55 
56  /*
57  \details Returns a button representing the state of the number 7 button.
58  */
59  const CYIGamePadButton &GetNum7Button() const;
60 
61  /*
62  \details Returns a button representing the state of the number 8 button.
63  */
64  const CYIGamePadButton &GetNum8Button() const;
65 
66  /*
67  \details Returns a button representing the state of the number 9 button.
68  */
69  const CYIGamePadButton &GetNum9Button() const;
70 
71  /*
72  \details Returns a button representing the state of the number 0 button.
73  */
74  const CYIGamePadButton &GetNum0Button() const;
75 
76  /*
77  \details Returns a button representing the state of the enter button.
78  */
79  const CYIGamePadButton &GetEnterButton() const;
80 
81  /*
82  \details Returns a button representing the state of the return button.
83  */
84  const CYIGamePadButton &GetReturnButton() const;
85 
86  /*
87  \details Returns a button representing the state of the clear button.
88  */
89  const CYIGamePadButton &GetClearButton() const;
90 
91  /*
92  \details Returns a button representing the state of the top menu button. This button would typically take a user to a menu away from the current screen.
93  */
94  const CYIGamePadButton &GetTopMenuButton() const;
95 
96  /*
97  \details Returns a button representing the state of the previous track media button.
98  */
99  const CYIGamePadButton &GetPrevButton() const;
100 
101  /*
102  \details Returns a button representing the state of the next track media button.
103  */
104  const CYIGamePadButton &GetNextButton() const;
105 
106  /*
107  \details Returns a button representing the state of the play media button.
108  */
109  const CYIGamePadButton &GetPlayButton() const;
110 
111  /*
112  \details Returns a button representing the state of the reverse scan media button.
113  */
114  const CYIGamePadButton &GetScanReverseButton() const;
115 
116  /*
117  \details Returns a button representing the state of the forward scan media button.
118  */
119  const CYIGamePadButton &GetScanForwardButton() const;
120 
121  /*
122  \details Returns a button representing the state of the stop media button.
123  */
124  const CYIGamePadButton &GetStopButton() const;
125 
126  /*
127  \details Returns a button representing the state of the pause media button.
128  */
129  const CYIGamePadButton &GetPauseButton() const;
130 
131  /*
132  \details Returns a button representing the state of the pop-up menu button. This button would typically bring up a menu on the current screen.
133  */
134  const CYIGamePadButton &GetPopupMenuButton() const;
135 
136  /*
137  \details Returns a button representing the state of the reverse step or slow reverse media button.
138  */
139  const CYIGamePadButton &GetStepReverseButton() const;
140 
141  /*
142  \details Returns a button representing the state of the forward step or slow forward media button.
143  */
144  const CYIGamePadButton &GetStepForwardButton() const;
145 
146  /*
147  \details Returns a button representing the state of the subtitle toggle button.
148  */
149  const CYIGamePadButton &GetSubtitleButton() const;
150 
151  /*
152  \details Returns a button representing the state of the display toggle button.
153  */
154  const CYIGamePadButton &GetDisplayButton() const;
155 
156  /*
157  \details Returns a button representing the state of the fast forward media button.
158  */
159  const CYIGamePadButton &GetFastForwardButton() const;
160 
161  /*
162  \details Returns a button representing the state of the rewind media button.
163  */
164  const CYIGamePadButton &GetFastReverseButton() const;
165 
166  /*
167  \details Returns a button representing the state of the blue button.
168  */
169  const CYIGamePadButton &GetBlueButton() const;
170 
171  /*
172  \details Returns a button representing the state of the red button.
173  */
174  const CYIGamePadButton &GetRedButton() const;
175 
176  /*
177  \details Returns a button representing the state of the green button.
178  */
179  const CYIGamePadButton &GetGreenButton() const;
180 
181  /*
182  \details Returns a button representing the state of the yellow button.
183  */
184  const CYIGamePadButton &GetYellowButton() const;
185 
186  /*
187  \details Returns a button representing the state of the channel up button.
188  */
189  const CYIGamePadButton &GetChannelUpButton() const;
190 
191  /*
192  \details Returns a button representing the state of the channel down button.
193  */
194  const CYIGamePadButton &GetChannelDownButton() const;
195 
196  /*
197  \details Returns a button representing the state of the program guide button.
198  */
200 
201 private:
204 
205  CYIGamePadButton m_num1Button;
206  CYIGamePadButton m_num2Button;
207  CYIGamePadButton m_num3Button;
208  CYIGamePadButton m_num4Button;
209  CYIGamePadButton m_num5Button;
210  CYIGamePadButton m_num6Button;
211  CYIGamePadButton m_num7Button;
212  CYIGamePadButton m_num8Button;
213  CYIGamePadButton m_num9Button;
214  CYIGamePadButton m_num0Button;
215  CYIGamePadButton m_enterButton;
216  CYIGamePadButton m_returnButton;
217  CYIGamePadButton m_clearButton;
218  CYIGamePadButton m_topMenuButton;
219  CYIGamePadButton m_prevButton;
220  CYIGamePadButton m_nextButton;
221  CYIGamePadButton m_playButton;
222  CYIGamePadButton m_scanReverseButton;
223  CYIGamePadButton m_scanForwardButton;
224  CYIGamePadButton m_stopButton;
225  CYIGamePadButton m_pauseButton;
226  CYIGamePadButton m_popupMenuButton;
227  CYIGamePadButton m_upButton;
228  CYIGamePadButton m_downButton;
229  CYIGamePadButton m_leftButton;
230  CYIGamePadButton m_rightButton;
231  CYIGamePadButton m_stepReverseButton;
232  CYIGamePadButton m_stepForwardButton;
233  CYIGamePadButton m_subtitleButton;
234  CYIGamePadButton m_displayButton;
235  CYIGamePadButton m_fastForwardButton;
236  CYIGamePadButton m_fastReverseButton;
237  CYIGamePadButton m_blueButton;
238  CYIGamePadButton m_redButton;
239  CYIGamePadButton m_greenButton;
240  CYIGamePadButton m_yellowButton;
241  CYIGamePadButton m_channelUpButton;
242  CYIGamePadButton m_channelDownButton;
243  CYIGamePadButton m_programGuideButton;
244 };
245 
250 #endif // _YI_GAME_PAD_EXTENDED_BUTTONS_H_
const CYIGamePadButton & GetSubtitleButton() const
const CYIGamePadButton & GetChannelDownButton() const
const CYIGamePadButton & GetPrevButton() const
const CYIGamePadButton & GetPlayButton() const
const CYIGamePadButton & GetDisplayButton() const
const CYIGamePadButton & GetNum6Button() const
const CYIGamePadButton & GetStopButton() const
const CYIGamePadButton & GetNextButton() const
const CYIGamePadButton & GetNum9Button() const
const CYIGamePadButton & GetScanForwardButton() const
const CYIGamePadButton & GetNum4Button() const
const CYIGamePadButton & GetRedButton() const
const CYIGamePadButton & GetPopupMenuButton() const
const CYIGamePadButton & GetNum1Button() const
const CYIGamePadButton & GetStepForwardButton() const
Definition: YiGamePadExtendedButtons.h:20
const CYIGamePadButton & GetChannelUpButton() const
friend class CYIGamePadPriv
Definition: YiGamePadExtendedButtons.h:23
const CYIGamePadButton & GetNum2Button() const
const CYIGamePadButton & GetStepReverseButton() const
const CYIGamePadButton & GetTopMenuButton() const
Definition: YiGamePad.h:22
const CYIGamePadButton & GetNum3Button() const
Definition: YiGamePadButton.h:17
const CYIGamePadButton & GetNum7Button() const
const CYIGamePadButton & GetProgramGuideButton() const
const CYIGamePadButton & GetReturnButton() const
const CYIGamePadButton & GetFastReverseButton() const
const CYIGamePadButton & GetEnterButton() const
const CYIGamePadButton & GetGreenButton() const
const CYIGamePadButton & GetNum8Button() const
const CYIGamePadButton & GetClearButton() const
const CYIGamePadButton & GetBlueButton() const
const CYIGamePadButton & GetPauseButton() const
const CYIGamePadButton & GetScanReverseButton() const
const CYIGamePadButton & GetYellowButton() const
const CYIGamePadButton & GetNum5Button() const
const CYIGamePadButton & GetFastForwardButton() const
const CYIGamePadButton & GetNum0Button() const