<html>
<head>
</head>
<body>
Song Ho Ahn wrote:<br>
<blockquote type="cite" cite="mid:3DC6EE06.1956DAA4@sheridanc.on.ca">
  <pre wrap="">Hi Steffen,<br>Try ASCII codes for arrows;<br>28: right arrow<br>29: left arrow<br>30: up arrow<br>31: down arrow</pre>
  </blockquote>
Thanks a lot. Do you know how to convert this into the "char keycode"<br>
implemented in :<br>
  <br>
virtual void&nbsp; OnChar (int ctrl, int shift, char keycode, int repeatcount)
  <br>
  <br>
of vtkInteractorStyle ?<br>
  <blockquote type="cite" cite="mid:3DC6EE06.1956DAA4@sheridanc.on.ca">
    <pre wrap=""><br><br>Note that these are all decimal numbers.<br>==song==<br><br>Steffen Oeltze wrote:<br></pre>
    <blockquote type="cite">
      <pre wrap="">Hi,<br><br>I would like to assign an event to each arrow key (left, right, up, down)<br>but I don't know their keycodes. Can somebody help me please.<br><br>Steffen<br><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a class="moz-txt-link-rfc2396E" href="http://public.kitware.com/cgi-bin/vtkfaq">&lt;http://public.kitware.com/cgi-bin/vtkfaq&gt;</a><br>Follow this link to subscribe/unsubscribe:<br><a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br></pre>
      </blockquote>
      <pre wrap=""><!----><br></pre>
      </blockquote>
      <br>
      </body>
      </html>