185 TOrthogonal, TSourceObject>();
189 char character = (char)unicode_keychar.data;
190 RCLCPP_WARN(
getLogger(),
"detected keyboard: %c", character);
192 if (character ==
'a')
193 this->postKeyEvent<EvKeyPressA<ClKeyboard, TOrthogonal>>();
194 else if (character ==
'b')
195 this->postKeyEvent<EvKeyPressB<ClKeyboard, TOrthogonal>>();
196 else if (character ==
'c')
197 this->postKeyEvent<EvKeyPressC<ClKeyboard, TOrthogonal>>();
198 else if (character ==
'd')
199 this->postKeyEvent<EvKeyPressD<ClKeyboard, TOrthogonal>>();
200 else if (character ==
'e')
201 this->postKeyEvent<EvKeyPressE<ClKeyboard, TOrthogonal>>();
202 else if (character ==
'f')
203 this->postKeyEvent<EvKeyPressF<ClKeyboard, TOrthogonal>>();
204 else if (character ==
'g')
205 this->postKeyEvent<EvKeyPressG<ClKeyboard, TOrthogonal>>();
206 else if (character ==
'h')
207 this->postKeyEvent<EvKeyPressH<ClKeyboard, TOrthogonal>>();
208 else if (character ==
'y')
209 this->postKeyEvent<EvKeyPressI<ClKeyboard, TOrthogonal>>();
210 else if (character ==
'j')
211 this->postKeyEvent<EvKeyPressJ<ClKeyboard, TOrthogonal>>();
212 else if (character ==
'k')
213 this->postKeyEvent<EvKeyPressK<ClKeyboard, TOrthogonal>>();
214 else if (character ==
'l')
215 this->postKeyEvent<EvKeyPressL<ClKeyboard, TOrthogonal>>();
216 else if (character ==
'm')
217 this->postKeyEvent<EvKeyPressM<ClKeyboard, TOrthogonal>>();
218 else if (character ==
'n')
219 this->postKeyEvent<EvKeyPressN<ClKeyboard, TOrthogonal>>();
220 else if (character ==
'o')
221 this->postKeyEvent<EvKeyPressO<ClKeyboard, TOrthogonal>>();
222 else if (character ==
'p')
223 this->postKeyEvent<EvKeyPressP<ClKeyboard, TOrthogonal>>();
224 else if (character ==
'q')
225 this->postKeyEvent<EvKeyPressQ<ClKeyboard, TOrthogonal>>();
226 else if (character ==
'r')
227 this->postKeyEvent<EvKeyPressR<ClKeyboard, TOrthogonal>>();
228 else if (character ==
's')
229 this->postKeyEvent<EvKeyPressS<ClKeyboard, TOrthogonal>>();
230 else if (character ==
't')
231 this->postKeyEvent<EvKeyPressT<ClKeyboard, TOrthogonal>>();
232 else if (character ==
'u')
233 this->postKeyEvent<EvKeyPressU<ClKeyboard, TOrthogonal>>();
234 else if (character ==
'v')
235 this->postKeyEvent<EvKeyPressV<ClKeyboard, TOrthogonal>>();
236 else if (character ==
'w')
237 this->postKeyEvent<EvKeyPressW<ClKeyboard, TOrthogonal>>();
238 else if (character ==
'x')
239 this->postKeyEvent<EvKeyPressX<ClKeyboard, TOrthogonal>>();
240 else if (character ==
'y')
241 this->postKeyEvent<EvKeyPressY<ClKeyboard, TOrthogonal>>();
242 else if (character ==
'z')
243 this->postKeyEvent<EvKeyPressZ<ClKeyboard, TOrthogonal>>();