[vtkusers] Catching arrow keys in linux

David Gobbi david.gobbi at gmail.com
Fri Jan 22 15:21:08 EST 2010


I'm not sure what #defines you are talking about, but why not use the
interactor "GetKeySym" method to detect arrow keys?  They have the
names "Up", "Down", "Left", "Right".

    David


On Fri, Jan 22, 2010 at 1:18 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> It seems that for win32, there are some #defines for arrow keys like
> VK_RIGHT. I can't seem to find what should be done for non win32 - any
> thoughts?
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list