[vtkusers] which keycode has a cursor-key ?
Steffen Oeltze
Steffen.Oeltze at Student.Uni-Magdeburg.DE
Tue Nov 5 08:11:01 EST 2002
Song Ho Ahn wrote:
>Hi Steffen,
>Try ASCII codes for arrows;
>28: right arrow
>29: left arrow
>30: up arrow
>31: down arrow
>
Thanks a lot. Do you know how to convert this into the "char keycode"
implemented in :
virtual void OnChar (int ctrl, int shift, char keycode, int repeatcount)
of vtkInteractorStyle ?
>
>
>Note that these are all decimal numbers.
>==song==
>
>Steffen Oeltze wrote:
>
>>Hi,
>>
>>I would like to assign an event to each arrow key (left, right, up, down)
>>but I don't know their keycodes. Can somebody help me please.
>>
>>Steffen
>>
>>_______________________________________________
>>This is the private VTK discussion list.
>>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://public.kitware.com/mailman/listinfo/vtkusers
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021105/dcc91715/attachment.htm>
More information about the vtkusers
mailing list