[vtkusers] How to use the arrow keys

David Brayford dbrayford at gmail.com
Thu Aug 18 17:35:16 EDT 2011


I am trying unsuccessfully to find the command to use the arrow keys.

char keycode=iren->GetKeyCode();
	switch (keycode)
	{
		case 'ARROW_UP':
		{
			break;
		}
		case 'ARROW_DOWN':
		{
			break;
		}
    }

Thanks
David



More information about the vtkusers mailing list